# MEV Bot Configuration - Micro-Funding Mode (0.001 ETH) # Optimized for minimal gas budget with ultra-low thresholds # Bot Mode mode: "execution" # Live trading enabled # Execution Settings - ULTRA LOW GAS MODE execution: enabled: true # Enable live trading dry_run: false # Real transactions # Profitability Thresholds - LOWERED for micro-funding min_profit_usd: 2.0 # Minimum $2 profit (lowered from $10) min_profit_percentage: 0.05 # Minimum 0.05% profit (lowered from 0.1%) max_profit_percentage: 50.0 # Maximum expected profit (safety check) # Gas Management - CRITICAL for 0.0005 ETH limit max_gas_price_gwei: 1.0 # Maximum 1 gwei (Arbitrum typical: 0.1-0.5 gwei) max_gas_cost_usd: 1.0 # Maximum $1 gas (~0.0005 ETH at $2000/ETH) gas_estimation_buffer: 1.1 # Only 10% buffer (reduced from 20%) # Execution Limits - Conservative for micro-funding max_position_size_eth: 5.0 # Maximum flash loan size (reduced from 10) max_trades_per_minute: 2 # Rate limiting (reduced from 5) max_daily_trades: 50 # Daily limit (reduced from 200) # Safety Settings enable_slippage_protection: true # Protect against slippage max_slippage_percentage: 0.5 # Maximum 0.5% slippage (tightened from 1%) enable_front_run_protection: true # Monitor mempool for front-running # Flash Loan Settings flash_loan_enabled: true # Use flash loans for capital-free trading preferred_flash_loan_provider: "balancer" # "balancer" (0% fee) - CRITICAL for low budget flash_loan_fallback: ["uniswap", "aave"] # Fallback providers (note: Uniswap has 0.09% fee) # Keystore Configuration keystore_path: "keystore/production/executor_wallet.json" keystore_encryption_key_env: "MEV_BOT_ENCRYPTION_KEY" # Arbitrage Detection - AGGRESSIVE settings for more opportunities arbitrage: min_profit_threshold: 0.05 # 0.05% minimum (lowered from 0.1%) max_hops: 3 # Allow up to 3-hop arbitrage enable_multi_hop: true # Enable multi-hop opportunities # Opportunity Scoring - Aggressive filtering score_by_profit: true # Prioritize by profit amount score_by_confidence: true # Weight by confidence score min_confidence_score: 0.6 # Minimum 60% confidence (lowered from 70%) # Network Configuration network: chain_id: 42161 # Arbitrum One name: "Arbitrum One" # RPC Configuration provider_config_path: "config/providers.yaml" # Connection Settings max_retries: 3 retry_delay_ms: 1000 connection_timeout_seconds: 30 request_timeout_seconds: 10 # Monitoring & Logging monitoring: enable_metrics: true # Enable Prometheus metrics metrics_port: 9090 health_check_interval_seconds: 30 # Performance Tracking track_execution_latency: true track_gas_usage: true track_profit_loss: true # Alerting enable_alerts: true alert_on_failed_execution: true alert_on_low_balance: true low_balance_threshold_eth: 0.0003 # Alert when < 0.0003 ETH (60% of one trade) # Logging logging: level: "info" # "debug", "info", "warn", "error" format: "json" # "json" or "text" output: "logs/mev_bot.log" enable_console: true enable_file: true # Log Rotation max_size_mb: 100 max_backups: 10 max_age_days: 30 compress: true # DEX Configuration - Prioritize lowest gas DEXs dexes: # Uniswap V3 (Most liquid, but higher gas) - name: "uniswap_v3" enabled: true router_address: "0xE592427A0AEce92De3Edee1F18E0157C05861564" factory_address: "0x1F98431c8aD98523631AE4a59f267346ea31F984" priority: 2 # SushiSwap (Lower gas than Uniswap V3) - name: "sushiswap" enabled: true router_address: "0x1b02dA8Cb0d097eB8D57A175b88c7D8b47997506" factory_address: "0xc35DADB65012eC5796536bD9864eD8773aBc74C4" priority: 1 # Camelot (Arbitrum native, efficient) - name: "camelot" enabled: true router_address: "0xc873fEcbd354f5A56E00E710B90EF4201db2448d" factory_address: "0x6EcCab422D763aC031210895C81787E87B43A652" priority: 1 # Balancer V2 (Flash Loans - 0% fee!) - name: "balancer_v2" enabled: true vault_address: "0xBA12222222228d8Ba445958a75a0704d566BF2C8" priority: 1 # Token Configuration - Focus on high-volume pairs only tokens: # Wrapped Ether (WETH) - Essential - symbol: "WETH" address: "0x82aF49447D8a07e3bd95BD0d56f35241523fBab1" decimals: 18 enabled: true # USD Coin (USDC) - Highest volume stablecoin - symbol: "USDC" address: "0xaf88d065e77c8cC2239327C5EDb3A432268e5831" decimals: 6 enabled: true # Tether (USDT) - Second stablecoin - symbol: "USDT" address: "0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9" decimals: 6 enabled: true # Arbitrum (ARB) - Native token - symbol: "ARB" address: "0x912CE59144191C1204E64559FE8253a0e49E6548" decimals: 18 enabled: true # Smart Contracts (Deployed) contracts: arbitrage_executor: "0x6C2B1c6Eb0e5aB73d8C60944c74A62bfE629c418" flash_swapper: "0x7Cc97259cBe0D02Cd0b8A80c2E1f79C7265808b4" data_fetcher: "0xC6BD82306943c0F3104296a46113ca0863723cBD" # Micro-Funding Mode Notes: # # With 0.001 ETH and max 0.0005 ETH per trade: # - Estimated capacity: ~2 trades before refill # - Focus on highest probability opportunities only # - Use Balancer flash loans exclusively (0% fee) # - Minimize gas usage at all costs # - Alert on low balance immediately # # Expected Performance: # - Trades/day: 1-3 (very selective) # - Avg profit: $2-5 per trade # - Risk: Very low (small position sizes) # - Refill frequency: Every 1-2 days # # Recommendations: # - Monitor balance closely # - Consider increasing to 0.005 ETH for better capacity # - Expect fewer but higher-confidence trades # - Gas efficiency is critical - bot will be very selective