Production-grade MEV arbitrage engine for Ethereum, written in Rust.
- Real-time Mempool Monitoring: High-performance WebSocket subscriptions with multi-RPC racing.
- SPFA-based Pathfinding: Sub-millisecond discovery of negative cycles (arbitrage) in a live token graph.
- revm Simulation: In-process EVM execution for exact profit and gas calculation without RPC overhead.
- Atomic Execution: Aave V3 flash loans for capital-efficient arbitrage.
- Flashbots Integration: Multi-relay bundle submission with bid escalation and automatic re-signing.
- Config:
cp .env.example .envand fill in RPC URLs. - Build:
cargo build --release - Deploy Contract:
cd contracts && forge script script/Deploy.s.sol --broadcast - Run:
./target/release/mev-engine
Arbitrage trading involves risk. Use at your own risk.