Files
mev-beta/.env.production

42 lines
1.6 KiB
Plaintext

# MEV Bot Production Environment Configuration
# Generated: October 24, 2025
# Environment mode (REQUIRED for proper config file selection)
GO_ENV="production"
# REQUIRED: Encryption key for secure operations (32+ chars minimum)
MEV_BOT_ENCRYPTION_KEY="production_ready_encryption_key_32_chars_minimum_length_required"
# REQUIRED: Deployed contract addresses (Uniswap V3 Flash Swaps - Oct 27, 2025)
CONTRACT_ARBITRAGE_EXECUTOR="0x6C2B1c6Eb0e5aB73d8C60944c74A62bfE629c418"
CONTRACT_FLASH_SWAPPER="0x7Cc97259cBe0D02Cd0b8A80c2E1f79C7265808b4"
# DataFetcher contract for batch pool data fetching (99% RPC call reduction!)
CONTRACT_DATA_FETCHER="0xC6BD82306943c0F3104296a46113ca0863723cBD"
# RPC Endpoints (minimal fallback - providers_runtime.yaml handles multi-provider failover)
# NOTE: Using Arbitrum Public RPC (Chainstack blocked with 403 Forbidden as of Oct 29, 2025)
# NOTE: Arbitrum Public WS endpoint not available, using HTTP only
ARBITRUM_RPC_ENDPOINT="https://arb1.arbitrum.io/rpc"
# ARBITRUM_WS_ENDPOINT removed - bot will use HTTP from provider config
# Metrics and Monitoring
METRICS_ENABLED="true"
METRICS_PORT="9090"
# Storage Paths
MEV_BOT_KEYSTORE_PATH="keystore/production"
MEV_BOT_AUDIT_LOG="logs/production_audit.log"
MEV_BOT_BACKUP_PATH="backups/production"
# Provider Configuration
PROVIDER_CONFIG_PATH="config/providers_runtime.yaml"
export MEV_BOT_ENCRYPTION_KEY="Pxfm0CTJ5jaAtPAeMbCHQopeRPDJL1Q/Ak607bqcQ3M="
export MEV_BOT_ENCRYPTION_KEY="IqpRwCsCuV2fQQKXo1UsYycQL18ch1lZreVzFv5hxOo="
# RPC Rate Limiting (Production Settings)
ARBITRUM_RPC_RATE_LIMIT=10
ARBITRUM_RPC_BURST=20
ARBITRUM_RPC_MAX_RETRIES=5
ARBITRUM_RPC_BACKOFF_SECONDS=2