Completed clean root directory structure: - Root now contains only: .git, .env, docs/, orig/ - Moved all remaining files and directories to orig/: - Config files (.claude, .dockerignore, .drone.yml, etc.) - All .env variants (except active .env) - Git config (.gitconfig, .github, .gitignore, etc.) - Tool configs (.golangci.yml, .revive.toml, etc.) - Documentation (*.md files, @prompts) - Build files (Dockerfiles, Makefile, go.mod, go.sum) - Docker compose files - All source directories (scripts, tests, tools, etc.) - Runtime directories (logs, monitoring, reports) - Dependency files (node_modules, lib, cache) - Special files (--delete) - Removed empty runtime directories (bin/, data/) V2 structure is now clean: - docs/planning/ - V2 planning documents - orig/ - Complete V1 codebase preserved - .env - Active environment config (not in git) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
85 lines
3.2 KiB
Plaintext
85 lines
3.2 KiB
Plaintext
# MEV Bot Smart Contract Deployment Configuration
|
|
# Copy this file to .env.deployment and fill in your values
|
|
# ⚠️ NEVER commit .env.deployment to git!
|
|
|
|
# =============================================================================
|
|
# DEPLOYER WALLET (REQUIRED)
|
|
# =============================================================================
|
|
|
|
# Your deployer wallet private key (starts with 0x)
|
|
# ⚠️ Use a dedicated deployment wallet, not your main wallet!
|
|
DEPLOYER_PRIVATE_KEY="0x..."
|
|
|
|
# Alternative: Use PRIVATE_KEY if you prefer
|
|
# PRIVATE_KEY="0x..."
|
|
|
|
# =============================================================================
|
|
# RPC ENDPOINTS
|
|
# =============================================================================
|
|
|
|
# Arbitrum Mainnet RPC
|
|
ARBITRUM_RPC_ENDPOINT="https://arb1.arbitrum.io/rpc"
|
|
|
|
# Alternative premium RPC providers (recommended for reliability):
|
|
# Alchemy: https://arb-mainnet.g.alchemy.com/v2/YOUR_API_KEY
|
|
# Chainstack: https://arbitrum-mainnet.core.chainstack.com/YOUR_API_KEY
|
|
# Infura: https://arbitrum-mainnet.infura.io/v3/YOUR_API_KEY
|
|
|
|
# Arbitrum Goerli Testnet RPC (for testing)
|
|
# ARBITRUM_RPC_ENDPOINT="https://goerli-rollup.arbitrum.io/rpc"
|
|
|
|
# =============================================================================
|
|
# CONTRACT VERIFICATION (OPTIONAL)
|
|
# =============================================================================
|
|
|
|
# Arbiscan API key for contract verification
|
|
# Get your key from: https://arbiscan.io/myapikey
|
|
ARBISCAN_API_KEY=""
|
|
|
|
# Enable automatic verification during deployment
|
|
# Set to "true" to enable, "false" to disable
|
|
VERIFY="false"
|
|
|
|
# =============================================================================
|
|
# DEPLOYMENT SETTINGS
|
|
# =============================================================================
|
|
|
|
# Target network
|
|
# Options: "arbitrum" (mainnet), "arbitrum-goerli" (testnet)
|
|
NETWORK="arbitrum"
|
|
|
|
# Gas price (in gwei) - leave empty for automatic estimation
|
|
# GAS_PRICE=""
|
|
|
|
# Gas limit - leave empty for automatic estimation
|
|
# GAS_LIMIT=""
|
|
|
|
# =============================================================================
|
|
# DEPLOYMENT CHECKLIST
|
|
# =============================================================================
|
|
#
|
|
# Before deploying:
|
|
# 1. ✓ Copy this file to .env.deployment
|
|
# 2. ✓ Fill in DEPLOYER_PRIVATE_KEY
|
|
# 3. ✓ Fill in ARBITRUM_RPC_ENDPOINT (or use default)
|
|
# 4. ✓ (Optional) Fill in ARBISCAN_API_KEY for verification
|
|
# 5. ✓ Ensure deployer wallet has sufficient ETH (~0.01 ETH)
|
|
# 6. ✓ Test on testnet first (NETWORK="arbitrum-goerli")
|
|
# 7. ✓ Review contracts in contracts/ directory
|
|
# 8. ✓ Run: source .env.deployment
|
|
# 9. ✓ Run: ./scripts/deploy-contracts.sh
|
|
#
|
|
# =============================================================================
|
|
|
|
# =============================================================================
|
|
# SECURITY WARNINGS
|
|
# =============================================================================
|
|
#
|
|
# ⚠️ NEVER commit .env.deployment to version control!
|
|
# ⚠️ NEVER share your private key with anyone!
|
|
# ⚠️ Use a dedicated deployment wallet with minimal funds!
|
|
# ⚠️ Test on testnet before deploying to mainnet!
|
|
# ⚠️ Backup your deployment logs and addresses!
|
|
#
|
|
# =============================================================================
|