.env.example 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. # Byreal Sniper Configuration
  2. # Solana RPC URL
  3. RPC_URL=https://mainnet.helius-rpc.com/?api-key=20f2bda7-11af-4e71-a3c3-a8fd6567df80
  4. # Your wallet private key (Base58 encoded)
  5. PRIVATE_KEY=your_private_key_here
  6. # Your wallet address (optional, will be derived from private key)
  7. MY_WALLET=5SCP4PVyqoefiNy2SwDySdcM2KBDncwSkPWYNypSojBk
  8. # Target wallet to snipe
  9. TARGET_WALLET=dryuRNL9YcdLnhKFgLfdoj1g2suWcZp97G8XiH8U49e
  10. # Data directory for cache files
  11. DATA_DIR=./data
  12. # Copy multiplier (1.5 = copy with 1.5x the target's position size)
  13. COPY_MULTIPLIER=0.2
  14. # Position value limits (USD)
  15. MAX_USD_VALUE=10
  16. MIN_USD_VALUE=1
  17. # Slippage for Jupiter swaps (in basis points, 100 = 1%)
  18. SLIPPAGE_BPS=100
  19. # Polling interval in milliseconds (10000 = 10 seconds)
  20. POLL_INTERVAL_MS=60000
  21. # Monitoring mode
  22. # 'api' - Use API polling (slower, more reliable)
  23. # 'onchain' - Use onchain transaction monitoring (faster, real-time)
  24. MONITOR_MODE=onchain
  25. # Jupiter API Key (required for swaps)
  26. # Get your API key from: https://portal.jup.ag
  27. JUPITER_API_KEY=da9d807b-6d15-4b7d-b11c-ef96430ee920
  28. # Authentication header for Byreal API
  29. AUTH_HEADER=Basic YWRtaW46YzU4ODk5Njch
  30. # Log level (debug, info, warn, error)
  31. LOG_LEVEL=info
  32. # Discord Webhook URL (optional)
  33. # Sends notifications for copy and close operations
  34. DISCORD_WEBHOOK_URL=https://discord.com/api/webhooks/1471905016188112960/xOJXKl5oEvoizTFcqHM5BN2O_IR8K_pd8ZtGZBKQpyAf8OTs_Un2mBVkHLqrUykYMY8T