111 lines
5.3 KiB
Plaintext
111 lines
5.3 KiB
Plaintext
# ═══════════════════════════════════════════════════════
|
|
# LIQUIDITYGUARD AI - ENVIRONMENT CONFIGURATION
|
|
# ═══════════════════════════════════════════════════════
|
|
|
|
# ═══════════════════════════════════════════════════════
|
|
# AGENT CONFIGURATION
|
|
# ═══════════════════════════════════════════════════════
|
|
|
|
# Agent Seeds (Generate your own with: python -c "import secrets; print(secrets.token_hex(16))")
|
|
AGENT_SEED_POSITION_MONITOR="your_position_monitor_seed_here"
|
|
AGENT_SEED_YIELD_OPTIMIZER="your_yield_optimizer_seed_here"
|
|
AGENT_SEED_SWAP_OPTIMIZER="your_swap_optimizer_seed_here"
|
|
AGENT_SEED_EXECUTOR="your_executor_seed_here"
|
|
AGENT_SEED_DEMO_SIMULATOR="your_demo_simulator_seed_here"
|
|
|
|
# Agent Ports
|
|
POSITION_MONITOR_PORT=8000
|
|
YIELD_OPTIMIZER_PORT=8001
|
|
SWAP_OPTIMIZER_PORT=8002
|
|
EXECUTOR_PORT=8003
|
|
DEMO_SIMULATOR_PORT=8004
|
|
|
|
# Agentverse Configuration
|
|
AGENTVERSE_URL="https://agentverse.ai"
|
|
AGENTVERSE_API_KEY="your_agentverse_api_key_here"
|
|
|
|
# Deployment Mode: 'local' for Bureau mode, 'almanac' for Dorado testnet
|
|
DEPLOY_MODE="almanac"
|
|
|
|
# ═══════════════════════════════════════════════════════
|
|
# BLOCKCHAIN RPC ENDPOINTS
|
|
# ═══════════════════════════════════════════════════════
|
|
|
|
# Ethereum Mainnet
|
|
ETHEREUM_RPC_URL="https://eth-mainnet.g.alchemy.com/v2/YOUR_ALCHEMY_KEY"
|
|
ETHEREUM_CHAIN_ID=1
|
|
|
|
# Arbitrum Mainnet
|
|
ARBITRUM_RPC_URL="https://arb-mainnet.g.alchemy.com/v2/YOUR_ALCHEMY_KEY"
|
|
ARBITRUM_CHAIN_ID=42161
|
|
|
|
# Solana Mainnet
|
|
SOLANA_RPC_URL="https://api.mainnet-beta.solana.com"
|
|
SOLANA_CLUSTER="mainnet-beta"
|
|
|
|
# ═══════════════════════════════════════════════════════
|
|
# API KEYS & SERVICES
|
|
# ═══════════════════════════════════════════════════════
|
|
|
|
# Alchemy (Primary RPC Provider)
|
|
# Get from: https://www.alchemy.com/
|
|
ALCHEMY_API_KEY="your_alchemy_api_key_here"
|
|
|
|
# 1inch API Key
|
|
# Get from: https://portal.1inch.dev/
|
|
ONEINCH_API_KEY="your_1inch_api_key_here"
|
|
ONEINCH_BASE_URL="https://api.1inch.dev"
|
|
|
|
# Stargate Bridge (LayerZero) - For Cross-Chain Transfers
|
|
STARGATE_API_URL="https://api.stargate.finance"
|
|
LAYERZERO_SCAN_API="https://layerzeroscan.com/api"
|
|
|
|
# Wormhole Bridge (Alternative for Solana bridging)
|
|
WORMHOLE_RPC_URL="https://wormhole-v2-mainnet-api.certus.one"
|
|
|
|
# CoinGecko API
|
|
# Get from: https://www.coingecko.com/en/api
|
|
COINGECKO_API_KEY="your_coingecko_api_key_here"
|
|
|
|
# Ethereum RPC Configuration
|
|
ETH_RPC_URL="https://eth.llamarpc.com"
|
|
# For production, use Alchemy: https://eth-mainnet.g.alchemy.com/v2/${ALCHEMY_API_KEY}
|
|
|
|
# DeFi Llama API (No key needed, but rate limited)
|
|
DEFILLAMA_BASE_URL="https://yields.llama.fi"
|
|
|
|
# The Graph API
|
|
# Get from: https://thegraph.com/studio/
|
|
THEGRAPH_API_KEY="your_thegraph_api_key_here"
|
|
|
|
# ═══════════════════════════════════════════════════════
|
|
# SUBGRAPH ENDPOINTS
|
|
# ═══════════════════════════════════════════════════════
|
|
|
|
# LiqX Subgraph (Your deployed subgraph)
|
|
NEXT_PUBLIC_SUBGRAPH_URL="https://api.studio.thegraph.com/query/YOUR_ID/liqx-subgraph/version/latest"
|
|
|
|
# ═══════════════════════════════════════════════════════
|
|
# WALLET CONFIGURATION (Optional - For Testing)
|
|
# ═══════════════════════════════════════════════════════
|
|
|
|
# Private Keys (NEVER commit these to git!)
|
|
# EXECUTOR_PRIVATE_KEY="0x..."
|
|
# TEST_WALLET_ADDRESS="0x..."
|
|
|
|
# ═══════════════════════════════════════════════════════
|
|
# FRONTEND CONFIGURATION
|
|
# ═══════════════════════════════════════════════════════
|
|
|
|
NEXT_PUBLIC_API_URL="http://localhost:3000"
|
|
|
|
# ═══════════════════════════════════════════════════════
|
|
# OPTIONAL: DEVELOPMENT/TESTING
|
|
# ═══════════════════════════════════════════════════════
|
|
|
|
# Log Level (DEBUG, INFO, WARNING, ERROR)
|
|
LOG_LEVEL="INFO"
|
|
|
|
# Demo Mode (true for mock data, false for real blockchain)
|
|
DEMO_MODE="false"
|