74 lines
2.4 KiB
Plaintext
74 lines
2.4 KiB
Plaintext
# OpenRouter API Key (get from https://openrouter.ai/signup)
|
|
OPENROUTER_API_KEY=your_openrouter_api_key_here
|
|
|
|
# BNB Chain RPC URLs
|
|
BNB_RPC=https://bsc-testnet.bnbchain.org
|
|
BNB_MAINNET_RPC=https://bsc-dataseed.bnbchain.org
|
|
|
|
# opBNB Layer 2 Configuration (Faster & Cheaper - Recommended!)
|
|
# opBNB Testnet (for development - 1s blocks, $0.001 gas)
|
|
OPBNB_RPC=https://opbnb-testnet-rpc.bnbchain.org
|
|
OPBNB_WSS=wss://opbnb-testnet-rpc.bnbchain.org
|
|
OPBNB_CHAIN_ID=5611
|
|
|
|
# opBNB Mainnet (for production)
|
|
# OPBNB_RPC=https://opbnb-mainnet-rpc.bnbchain.org
|
|
# OPBNB_WSS=wss://opbnb-mainnet-rpc.bnbchain.org
|
|
# OPBNB_CHAIN_ID=204
|
|
|
|
# Choose which network to use for trading (bnb or opbnb)
|
|
TRADING_NETWORK=opbnb
|
|
|
|
# Wallet Configuration (NEVER commit .env with real keys!)
|
|
WALLET_PRIVATE_KEY=0xad6f2627501659e0d5a09105da87d9695db23d768193bc589f06cffbdcb98852
|
|
|
|
# Telegram Bot Configuration (get from @BotFather on Telegram)
|
|
TELEGRAM_BOT_TOKEN=your_telegram_bot_token_here
|
|
TELEGRAM_CHAT_ID=your_telegram_chat_id_here
|
|
|
|
# PancakeSwap Router Addresses (BNB Chain)
|
|
PANCAKE_ROUTER_V2=0x10ED43C718714eb63d5aA57B6Da2929C30bC095c
|
|
PANCAKE_ROUTER_V3=0x1b81D678ffb9C0263b24A97847620C99d213eB14
|
|
|
|
# PancakeSwap Addresses (opBNB) - V3 for optimized swaps
|
|
OPBNB_PANCAKE_FACTORY=0x0BFbCF9fa4f9C56B0F40a671Ad40E0805A091865
|
|
OPBNB_PANCAKE_ROUTER=0x1b81D678ffb9C0263b24A97847620C99d213eB14
|
|
OPBNB_PANCAKE_SMART_ROUTER=0x678Aa4bF4E210cf2166753e054d5b7c31cc7fa86
|
|
|
|
# Token Addresses (BNB Chain)
|
|
WBNB_ADDRESS=0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c
|
|
IMMBOT_TOKEN_ADDRESS=your_deployed_token_address_here
|
|
|
|
# Token Addresses (opBNB)
|
|
OPBNB_WBNB_ADDRESS=0x4200000000000000000000000000000000000006
|
|
|
|
# Trading Configuration
|
|
MAX_TRADE_AMOUNT_BNB=0.1
|
|
STOP_LOSS_PERCENTAGE=5
|
|
MAX_SLIPPAGE_PERCENTAGE=2
|
|
|
|
# BNB Greenfield Configuration (for immortal memory)
|
|
# Testnet RPC (recommended for development)
|
|
GREENFIELD_RPC_URL=https://gnfd-testnet-fullnode-tendermint-ap.bnbchain.org
|
|
GREENFIELD_CHAIN_ID=5600
|
|
GREENFIELD_BUCKET_NAME=immortal-bot-memory
|
|
# For mainnet, use:
|
|
# GREENFIELD_RPC_URL=https://greenfield-chain.bnbchain.org
|
|
# GREENFIELD_CHAIN_ID=1017
|
|
|
|
# DexScreener API (no key needed for basic usage)
|
|
DEXSCREENER_API_URL=https://api.dexscreener.com/latest/dex
|
|
|
|
# Bot Configuration
|
|
BOT_LOOP_INTERVAL_MS=300000
|
|
ENABLE_CROSS_CHAIN=false
|
|
|
|
# API Server Configuration
|
|
API_PORT=3001
|
|
|
|
# Logging Configuration
|
|
LOG_LEVEL=info
|
|
|
|
# Network (testnet or mainnet)
|
|
NETWORK=testnet
|