Live arbitrage bot running on Base mainnet using flash loans. Scans 34 routes across Uniswap V3 and Aerodrome every ~2 seconds.
- Detects price gaps between Uniswap V3 and Aerodrome pools
- Executes flash loan (zero capital required) via custom Solidity contract
- Buys token on cheaper DEX → sells on expensive DEX → repays loan + keeps profit
- Zero-loss shield: simulates tx before broadcasting — never loses ETH on failed arb
- Network: Base Mainnet
- Routes Monitored: 34 (USDC, DEGEN, AERO, cbBTC, BRETT, VIRTUAL, ZORA + more)
- Scan Speed: ~200ms per block
- RPC: 4-account rotation (never hits rate limits)
- WebSocket: Real-time block streaming via eth_subscribe
- Python (asyncio, aiohttp, websockets, web3.py)
- Solidity (Foundry) — custom FlashArb contract
- Base mainnet | Uniswap V3 QuoterV2 | Aerodrome Slipstream
- Oracle Cloud VPS (always-free tier)
flasharb/
├── scanner/
│ ├── bot.py # Main async scanner + executor
│ ├── find_pools.py # Pool discovery script
│ └── withdraw.py # Safe fund withdrawal
├── src/
│ └── FlashArb.sol # Flash loan contract
└── foundry.tomlcp scanner/.env.example scanner/.env # fill in your keys
cd scanner && pip install -r requirements.txt
python3 bot.py
Built by @rahulkhunte