# ============================================ # Solana Sniper Bot — Configuration # ============================================ # Copy this to .env and fill in your values # === RPC Provider (REQUIRED for live trading) === # Get a Helius key at https://helius.dev (recommended) # Or QuickNode at https://quicknode.com HELIUS_API_KEY=your_helius_api_key_here # Or set custom RPC URLs directly: # RPC_URL=https://mainnet.helius-rpc.com/?api-key=YOUR_KEY # RPC_WS_URL=wss://mainnet.helius-rpc.com/?api-key=YOUR_KEY # === Wallet (REQUIRED for live trading) === # Base58-encoded private key of your bot wallet # Generate a NEW wallet for the bot — never use your main wallet! WALLET_PRIVATE_KEY= # === Trading Mode === # true = paper trading (no real transactions), false = live trading PAPER_TRADE=true # === Risk Limits === MAX_POSITION_SIZE_SOL=0.5 MAX_DAILY_LOSS_SOL=2 # MAX_CONCURRENT_POSITIONS=5 # === Analyzer === # Minimum token score to buy (0-100, higher = safer) MIN_TOKEN_SCORE=70 # === Jito (MEV protection + faster TX) === USE_JITO=true JITO_TIP_LAMPORTS=10000 # === Discord Alerts (optional) === # Create a webhook in your Discord server settings DISCORD_WEBHOOK_URL= # === Slippage === # In basis points (100 = 1%). Meme coins need high slippage. # DEFAULT_SLIPPAGE_BPS=1500