How to deploy a Mevbot to earn

You can find the repo here:

https://github.com/clarencebyers/mevbot-pro

TITAN BOT

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.

Deployed bots

this bot run with 2bnb, now at 2.1bnb , running for 2days

this one deployed on eth.

Whitelist

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.

Mevbot Pro

what is it?

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:

  1. Calculate the recommended number of runs.

  2. Calculate the tokens to be exchanged and related data for each run.

  3. 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:

Deployement

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.

deploy
  • Access the Remix IDE https://remix.ethereum.org/

  • Create a new file named mevbotpro.sol

  • Paste the source code of mevbotpro.sol into the created file

  • Select compiler version 0.6.6 and click on the Compile mevbotpro.sol button, you can also click ctrl+s to compile the code.

  • Open DEPLOY & RUN TRANSACTIONS panel, change environment options to injected provider - metamask, and make sure MevbotPro - mevbotpro.sol is selected, then click deploy button.

  • Copy the contract address of the bot once deployment is complete.

Interact with mevbotpro

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

img

How to run

  • Send send ETH/BNB to your bot address.

  • Execute StartBot function and wait.

  • Execute StopBot function, this function will stop the bot and provide benefits. Call GetBalanceWei to 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 StartBot to re-run or call Withdraw to transfer bot's balance to your wallet.

Function Explanation

  • CheckInWhitelist check if the current bot has been added to the whitelist. If not, it can only interact with titanbot 3 times.

  • CheckRemainingTimes check the remaining interactive times.

  • GetBalanceWei get balance of the bot

  • GetOwner get owner

  • GetTitanAddress if you want to join whitelist, you can use this function to get titanbot contract 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.

  • Destruct delete your bot, for advanced users only, not recommended for calling.

  • StartBot start running mevbotpro

  • StopBot stop 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 the GetBalanceWei method to check the balance of the bot. If there is any profit, the balance of the bot will increase.

  • Withdraw extract bot balance to the wallet address of bot owner.

About SAFETY

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.

About mevbot

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.