---
title: 'How I Built an AI Trading Bot For Day Trading With Solidity And Claude AI'
source: 'https://youtube.com/watch?v=V2hvwdEAHvA'
video_id: 'V2hvwdEAHvA'
date: 2026-08-06
duration_sec: 468
---

# How I Built an AI Trading Bot For Day Trading With Solidity And Claude AI

> Source: [How I Built an AI Trading Bot For Day Trading With Solidity And Claude AI](https://youtube.com/watch?v=V2hvwdEAHvA)

## Summary

This tutorial demonstrates how to build an AI-powered arbitrage trading bot for Ethereum using Claude AI and Solidity. The bot automatically detects price discrepancies for stablecoins across different mempools and executes trades to capture the spread.

### Key Points

- **Bot Overview** [00:01] — The bot uses AI to detect price discrepancies for stablecoins across different mempools and automatically executes arbitrage trades to capture the spread.
- **Technical Prompt** [00:26] — The creator wrote a detailed technical prompt for Claude, outlining the mechanism, technologies, and profitability math, and requested a short bot. The prompt is linked in the description.
- **Bot Architecture** [00:38] — The bot consists of two parts: a searcher that finds profitable opportunities by comparing prices across DEXs, and an executor that lives on-chain and performs buy/sell orders.
- **Deployment Setup** [01:31] — Requires a browser extension with funds, and Web3 Studio (open-source) to run the bot on Google servers for free. The bot archive is imported and compiled.
- **Uploading Executor** [02:48] — The executor is uploaded to the blockchain via the browser extension. Costs $5-10 worth of ETH for gas fees.
- **Funding Contract** [03:51] — Top up the contract balance to the recommended amount. The bot won't start if below the minimum. Copy the on-chain address and fund it.
- **Activation and Results** [05:16] — Click activate and confirm. The bot runs autonomously in the cloud, executing trades every few hours. Withdraw profits via the platform.
- **Disclaimer** [07:07] — Video is for educational purposes only; not financial advice.

### Conclusion

A single well-crafted prompt to Claude can generate a fully functional, autonomous trading bot, eliminating the need for a development team and server infrastructure. The tutorial provides a complete, hands-on guide to deploying such a bot.

## Transcript

profitable transactions Arbot executed on the Ethereum network. The bot works by using AI to detect price discrepancies for stable coins across different mem pools and automatically executing arbitrage trades to capture
the spread. If you're interested in building something like this yourself, let's dive into the tutorial. First, I wrote a detailed technical prompt to create such a bot. I've included a link to this prompt in the
guide in the video description. [music] In it, I outlined the entire mechanism of how it should work, what technologies it should use, the math behind its profitability, and specifically requested that Claude make the bot as
short, [music] our bot consists of two parts, a searcher and an executor. The searcher is responsible for finding profitable opportunities. Simply put, it looks for small price discrepancies for the same
token like Ethereum across different decentralized exchanges and calculates whether our bot can quickly buy the asset slightly cheaper on one platform and sell it slightly higher on another. When it finds such a profitable
opportunity, it immediately passes it to the executive. The executive lives directly on the blockchain and acts as the performer. Its sole job is to buy and sell tokens as soon as it receives a request. This might sound a bit
complicated, but in reality, it's much simpler. So, I sent this prompt to Claude and it gave me the code for a readytouse bot. Now, we download the archive containing the generated trading bot. You can either generate it yourself
or use the one I've already created. Both the prompt for generation and the archive are available in the guide in the description. Let's get started. Before we begin, make sure you have this browser extension installed. As you can
see, mine is already installed and has some funds in it. Next, we go to Web 3 Studio, an open- source project that allows us to run our bot directly on Google servers for free without needing to purchase our own server. Now, go to
the import tab and simply drag and drop the archive into the designated field.
see it's currently inactive. [music] So, click the open compiler button,
back to the searcher tab. As you can see, the searcher is finally running and has started scanning the blockchain for opportunities. Now, all we need to do is upload our executive to the blockchain. Click the button that
takes us to the upload and manage builds tab. Here, select our browser add-on from the list and confirm the connection.
your account and its balance appear here. here. Now, click the upload button. You'll need roughly $5 to $10 worth of Ethereum to pay the gas fee for
uploading and launching the bot in the cloud. Make sure you have this amount or you'll encounter an error. Confirm everything and wait for the console everything and wait for the console notification.
Scroll down a bit and you'll see control buttons for managing the bot. the exact amount needed for the bot to operate at [music] maximum efficiency.
Now, based on the recommendations, we simply top up our contract balance. Before funding your bot's balance, click here.
the address you can find inside your add-on. you have exclusive access to your bot. Now, copy your bot's onchain address and
fund it. I don't recommend going below the minimum recommended amount as the bot simply won't start. Copy the address, paste it, enter the amount, confirm everything again, and wait for the
everything again, and wait for the notification. page and verify that the information has updated.
All that's left is to click the activate button and confirm everything.
turn off my computer and get on with my day. The bot will keep running in the cloud until I decide to shut it down myself. I'll let it run for a while, myself. I'll let it run for a while, then come back and show you the results.
All right, everyone. I'm back. Time to refresh the page and check the results. smoothly. No lags, bugs, or freezes. New transactions appear every few hours,
transactions appear every few hours, just as they should. to the platform and click the withdraw button.
the notification, and verify everything arrived correctly.
rules, I have to state that this video is for educational purposes only. I am not a financial adviser and nothing said here constitutes advice whether legal, tax, investment or any other kind. And there you have it folks. One
well-crafted prompt I gave to Claude turned into this powerful autonomously operating system. In the past, building such a bot would have required hiring a team of developers and purchasing your own server. We truly live in fascinating
times. If you have any questions, you can find my Telegram both in the guide and in the pinned comment. Don't forget to like this video, subscribe to the channel, and share your results in the comments. Good luck and goodbye.
