About this project
This repository provides an MEV arbitrage bot for Ethereum, consisting of a Solidity smart contract and an external Python automation script. The bot is designed to automatically detect and execute arbitrage opportunities between Uniswap V2/V3 pools and routers in a single transaction.
Key features include:
- `executeArbitrage()`: Main function to search and execute arbitrage opportunities.
- `quickSwap()` / `quickSwapFromBalance()`: Quick swaps through allowed routers using the contract's balance.
- Whitelist management for routers and tokens.
- Configurable pool fees, default output token, and swap amount limits.
- Emergency pause and approval revocation functions.
- Owner-only withdrawal of tokens and ETH.
- View functions to read contract state.
The README provides a step-by-step guide to deploy the bot using the EtherLab web-based IDE, including creating a `.sol` file, compiling with Solidity 0.8.20, deploying via MetaMask or Phantom, and starting the Python automation. The automation periodically performs dry-run checks (`eth_estimateGas`) on `executeArbitrage` and sends a real transaction only if the call would succeed. It also scans live Uniswap swap events for monitoring.
The bot claims potential daily profits of around $500 on a 1 ETH deposit under current market conditions, but emphasizes that results are not guaranteed and depend on market volatility, competition, and gas fees.
Comments
0 Rating appears after 10 ratings
Sign in to join the discussion.