How to Generate Passive Income with Chachi BT in Decentralized Finance

How to Generate Passive Income with Chachi BT in Decentralized Finance

Hey guys, I have decided to test the potential of Chachi BT and see if it can generate anything interesting or useful in decentralized finance. I asked it to generate a trading bot that utilizes D5 liquidity pairs to take advantage of certain Arbitrage opportunities for earning passive income. The results were incredible. The bot allows you to automatically trade given tokens from the Ethereum blockchain without the need for manual transactions through traditional methods. It takes advantage of decentralized Finance platforms such as Uniswap to sandwich transactions for Arbitrage. Essentially, it sniffs mempools for pending transactions within a block, allowing us to inject our transaction with a higher gas fee than the transaction we are trying to enter. This allows us to process our transaction first and then process a sell order right after in the same block, profiting off the slippage difference in the transaction.

If this sounds complicated, don’t worry, it’s really not. I have been using this bot to earn passive income for weeks, and you don’t need any coding experience whatsoever since the script was generated entirely by Chachi BT.

Let’s get started. Make sure you have the MetaMask browser extension installed and you’re connected to the Ethereum mainnet. Now, 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.

For your first time on Remix, it may ask you to agree to their terms. I’ve already done it. Move over to the sidebar on the left and create a new contract under the contract folder. Name it ‘bot.sol’. In the description, I’ve included a link to the bot source code. Copy this code and paste it into the file ‘bot.sol’ you’ve just created. This is our bot.

After pasting the code, check lines 55 and 56. These should be the addresses for Rapt Ether token. Feel free to check it on Etherscan to make sure it’s the official Rapt Ether address. Always smart to check that. Now, go back to Remix.

Now that our bot file is ready, let’s compile it. Click on the ‘Compile bot.sol’ button. Make sure the compiler is set to version 0.6.6 of Solidity, and the language is set to Solidity with the EVM version set to default. Wait for the bot to compile.

Next, we’re going to deploy the contract from our wallet. Head over to ‘Deploy and Run Transactions’ on Remix. Select ‘Injected Provider’ as the environment. MetaMask will pop up, just connect it to deploy the contract on the blockchain. You need to pay gas fees for smart contract deployment, which are a commission on the Ethereum network. Now, the deployment utility is ready to go. Click ‘Deploy’.

I always set gas fees too high. There’s usually not much of a difference, and it puts the transaction through faster. Now, we wait for the transaction to confirm. Once confirmed, our smart contract is deployed.

Now, you can see the four actions for our smart contract: ‘start’, ‘withdraw’, ’token name’, and ’token symbol’. For now, let’s copy the smart contract address to make sure it’s created. I’m going to head back over to Etherscan and paste it in. Yep, it was created successfully.

The next step is to fund the contract with some Ethereum to snipe liquidity pools. I’ll copy the smart contract address once more and head over to MetaMask. Make sure you have the right address in there. You can fund the contract with whatever amount of Ethereum you want, but obviously, the more you put in, the larger the transactions you’ll be able to sandwich and the more profit you’ll be able to accumulate over time.

For instance, if you’re only depositing 100, you won’t be able to create as much slippage in the price compared to inserting something like ten thousand dollars. Sweet, there we go. Transaction confirmed. Now, my contract should have some Ethereum to work with. We can make sure by checking our contract address on Etherscan once again, making sure our Ethereum is in the contract.

The last step is to click ‘Start’. This will enable the bot to start sniffing mempools to find different liquidity pairs for you to sandwich transactions. Let’s set the gas fee to high and click ‘Confirm’. I’ll let this run for around 12 hours and see how it’s doing.

Alright guys, it’s been a little over 12 hours now. It’s time to check the profits. As you can see, I have about 1.35 Ethereum, which is a 35% profit already. I’m going to let my bot run for around another 12 hours and withdraw the profits after.

Alright, let’s see how much more we made. Nice, it’s a little over 1.7 Ethereum. That’s pretty insane. The bot will continue to run until you click the ‘Withdraw’ button. When you click ‘Withdraw’, the bot will exit the liquidity pool and return the total amount of Ethereum you entered initially, including the profit, back to your wallet. So let’s click it. This will charge us a little bit of gas. There we go, the transaction confirmed. Let’s go to our MetaMask and see what we have now. As you can see, the balance from the bot is now in my wallet.

This is only after running the bot for a little over a day. Unreal! I’ve even had weeks where I’ve made two to eight Ethereum, sometimes more. The profits will fluctuate week to week. If you have any questions, feel free to ask me on Telegram. I’ve put my link below. Guys, share your profits in the comments below. Drop a like and don’t forget to subscribe for more profitable ways to make passive income using AI and web3 tools.

A Conversation with Socrates: Exploring Ancient Philosophy
Older post

A Conversation with Socrates: Exploring Ancient Philosophy

Newer post

Seven Free AI Tools That Are Better Than ChatGPT

Seven Free AI Tools That Are Better Than ChatGPT