diff --git a/.env b/.env index 7a321ef..71833e5 100644 --- a/.env +++ b/.env @@ -31,13 +31,12 @@ API_SECRET_KEY=2a344f0149442c857fb56c038c0c7d1b113883b830bec792c76f1e0efa15d6bb # Solana RPC URL (Required for blockchain access) # -# PRIMARY: Alchemy Growth (10,000 CU/s, best for transactions) -# Used for: Transaction submission and confirmation -SOLANA_RPC_URL=https://solana-mainnet.g.alchemy.com/v2/5A0iA5UYpsmP9gkuezYeg +# PRIMARY: Helius (supports all Solana RPC methods including WebSocket subscriptions) +# Drift SDK REQUIRES WebSocket support for accountSubscribe - Alchemy doesn't support this +SOLANA_RPC_URL=https://mainnet.helius-rpc.com/?api-key=5e236449-f936-4af7-ae38-f15e2f1a3757 -# FALLBACK: Helius (for WebSocket subscriptions if needed) -# Used for: Account subscriptions (Drift SDK initialization) -SOLANA_FALLBACK_RPC_URL=https://mainnet.helius-rpc.com/?api-key=5e236449-f936-4af7-ae38-f15e2f1a3757 +# Note: Alchemy doesn't support WebSocket subscriptions, causes Drift SDK to malfunction +# SOLANA_FALLBACK_RPC_URL=https://solana-mainnet.g.alchemy.com/v2/5A0iA5UYpsmP9gkuezYeg # Alternative RPC providers (reference): #