solana-sniper-bot/.env.example
Jake Shore 4b0cffefba Initial commit: Solana meme coin sniper bot
- Scanner: pump.fun WebSocket, Raydium pool detection, copy trade wallet tracking
- Analyzer: token scoring (0-100), rug check, liquidity verification, rugcheck.xyz API
- Executor: Jupiter V6 swaps, Jito bundle MEV protection, paper trading mode
- Portfolio: tiered take-profit (2x/3x/5x), stop loss, trailing stops, time exits
- Control: Discord webhook alerts, kill switch, risk manager, daily loss limits
- Utils: config loader, SQLite database, typed event bus, colorful logger

5,600+ lines of TypeScript. Starts in paper trade mode by default.
2026-02-15 13:16:35 -05:00

44 lines
1.3 KiB
Plaintext

# ============================================
# 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