feat: switch from Helius to Alchemy RPC provider
Changes: - Updated SOLANA_RPC_URL to use Alchemy (https://solana-mainnet.g.alchemy.com/v2/...) - Migrated from Helius free tier to Alchemy free tier - Includes previous rate limit fixes (8s backoff, 2s operation delays) Context: - Helius free tier: 10 req/sec sustained, 100 req/sec burst - Alchemy free tier: 300M compute units/month (more generous) - User hit 239 rate limit errors in 10 minutes on Helius - User registered Alchemy account and provided API key Impact: - Should significantly reduce 429 rate limit errors - Better free tier limits for trading bot operations - Combined with delay fixes for optimal RPC usage
This commit is contained in:
2
.env
2
.env
@@ -33,7 +33,7 @@ API_SECRET_KEY=2a344f0149442c857fb56c038c0c7d1b113883b830bec792c76f1e0efa15d6bb
|
||||
#
|
||||
# RECOMMENDED: Helius (best performance, free tier available)
|
||||
# Get free API key at: https://helius.dev
|
||||
SOLANA_RPC_URL=https://mainnet.helius-rpc.com/?api-key=7485e2bf-0681-4215-be31-76e2707f31cc
|
||||
SOLANA_RPC_URL=https://solana-mainnet.g.alchemy.com/v2/5A0iA5UYpsmP9gkuezYeg
|
||||
|
||||
# Alternative RPC providers (if not using Helius):
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user