A high-performance Ethereum client specializing in MEV opportunity detection with multi-strategy support.
- Identifies price discrepancies across DEX pools
- Supports Uniswap, Sushiswap, and Curve
- Profitability simulation with gas costs
- Tracks undercollateralized positions
- Supports Aave, Compound, and MakerDAO
- Calculates liquidation profitability
- Detects predatory pending transactions
- Gas price spike monitoring
- Transaction replacement strategies
- Simulates transaction bundle outcomes
- Gas cost vs reward analysis
- Failed bundle detection
- Multi-Provider Connectivity
// Dual provider initialization EthClient::new(http_url, ws_url)
-
Clone the repository:
git clone https://github.com/yourusername/ethereum-mev-client.git cd ethereum-mev-client -
Set up environment variables: cp .env.example .env
-
Build and run: cargo build --release cargo run -- --help
graph TD
A[Ethereum Node] -->|JSON-RPC| B[EthClient]
B --> C[MEV Detector Engine]
C --> D[Arbitrage Scanner]
C --> E[Liquidation Monitor]
C --> F[Frontrun Analyzer]
B --> G[Transaction Simulator]
B --> H[Gas Optimizer]
D --> I[Profit Calculator]
E --> I
F --> I
I --> J[Opportunity Queue]
### Key Diagram Features:
1. **Clear Data Flow**: Shows how node data passes through detection pipelines
2. **Modular Design**: Highlights separable components
3. **Visual Metrics**: Pie chart shows performance characteristics
4. **GitHub Compatible**: Renders natively in GitHub/GitLab Markdown
## Text Architecture Overview
1. Ethereum Node (JSON-RPC)
└─> EthClient (HTTP/WS)
├─> MEV Detector
│ ├─> Arbitrage Scanner
│ ├─> Liquidation Monitor
│ └─> Frontrun Analyzer
├─> Transaction Simulator
└─> Gas Optimizer
License
MIT License - see LICENSE for details