hi everyone my name is chia and I'm a web 3 developer I recorded this video for my private Channel but I have decided to share it with you all for free in order to gain your support and attention for my new channel here I will show you how to create and operate an ethereum sniping bot using AI powered chat GPT and guess what it already brings me and my students passive income every day which is amazing this sniping bot monitors the blockchain for new tokens and significant price changes when it finds an opportunity it acts like a ninja buying or selling tokens quickly before other Traders realize what's happening this gives us an advantage in making money on price differences the secret of the bot's success is its ability to detect tokens immediately after they are listed or when there is a sudden price change it uses sophisticated algorithms to identify these movements and make trades for you if you think this sounds too complicated don't worry it's actually pretty simple and doesn't require any coding knowledge enjoy your viewing all right let's start I asked chat GPT to write me a code for a smart contract on ethereum to automatically hunt for sniping opportunities to earn ethereum then head over to remix remix is a web3 application that allows us to develop compile deploy and launch Smart contracts coded in the solidity language I'll put a link to remix in the description below make sure you have the metamask browser extension installed and you're connected to the ethereum mainnet if it's your first time on remix it may ask you to agree to their terms I've already done it head over to the sidebar on the left and create a new contract we're going to name it bot. Soul next copy this code from chat GPT and paste it into the bot file you've just created this is our sniping trading bot I will also place this code under the description so that you can copy it a couple of things to look at after pasting the code are lines 13 and 14 you can follow these addresses using ether scan these are the addresses of wrapped ether tokens which will be competing against you don't actually need to have any wrapped ether yep perfect it's the official wrapped ether address always a good idea to check that back to remix now that our bot file is ready let's compile it as you can see it's built with the 0. 6.
0 version of solidity to avoid errors use the same version also make sure that the language is set to solidity and the evm version is set to default enable optimization now click on the compile bot button and wait for the bot to compile now we're going to deploy this to our wallet head over to the deploy and run transactions tab in remix here we need to select injected provider as the environment we need to confirm the contract on the blockchain by paying gas fees gas fees are the commission for the ethereum network for smart contract deployment now the deployment deployment under utility is ready to go click deploy I always set the gas fee to high there's usually not much of a difference and it puts the transaction through much faster now we wait for the transaction to confirm we can see here that it is confirmed meaning our smart contract is deployed now you can see the various functions for our smart contract the start button enables the bot to start monitoring the markets the withdraw button stops the bot and transfers funds back to the wallet you can also see the current balance of the bot when the smart contract is deployed copy the address and check it on ether [Music] scan as we can see my wallet is the creator of this contract excellent fund it with some ethereum which will be used for trading make sure you get the right address here you can fund the contract with whatever amount of ethereum you want but keep in mind that the more you put in the larger the trades you'll be able to make and potentially more profit you can accumulate over time sweet there we go the transaction confirms that the funds were sent to the contract nice it's got two ethereum which is the amount we funded the contract with the last step is to click the start button this will enable the bot to start sniffing the me poool to find different liquidity pairs in order for you to sandwich transactions let's set the gas speed to high save and click confirm we are waiting for confirmation excellent let's go to Ether scan and make sure the bot has started working I will now stop the recording and in a few hours we will see what result our bot will [Music] produce okay I'm here and it's been about 5 hours let's see what we got so as you can see I have about 2. 6 ethereum which is 30% profit already here we can see several bot transactions which in total has brought us 0. 6 ethereum let's go to remix and as we can see the bot's balance is the same I'll let the bot run for a while longer and come back to check the results all right let's refresh the page and see what we got nice it's a little over 2.