Solana Geyser gRPC - Quickstart

Welcome! ๐ŸŽ‰ This quickstart guide helps you easily connect to Solana RPC nodes through our premium Solana Geyser gRPC service. Get real-time Solana blockchain updates quickly and effortlessly.
Let's start in just a few simple steps!

โœ… Prerequisites

Please confirm you have:
If your account is not verified yet, follow these steps:
  1. Join the Validators DAO Discord.
  2. Log in via Discord in #๐Ÿ†•๐Ÿ‘ค-register.
  3. Check your email inbox and click the verification link sent.

๐Ÿ’ณ Authorize Your First Payment

Authorize your payment method once and use it for all future services.
  1. Click the Geyser gRPCโšก๏ธ button in Discord.
01-geyser-button
  1. Click ๐Ÿ”— Authentication Link.
02-payment-auth
  1. Allow redirect by checking the box, then click Visit site.
03-allow-link
  1. Select your preferred payment method and complete the authorization.
04-stripe-payment
โœ… Done! You now have the ๐Ÿ’ณ-Authorized role in Discord.
05-added-auth-role

๐ŸŽ Activate Your 7-Day Free Trial

After authorizing payment, activate your Geyser gRPC service trial:
  1. Click Geyser gRPCโšก๏ธ again to generate your subscription link.
06-geyser-trial-link
  1. Click ๐Ÿ”— Payment Link and complete the subscription (includes 7-day free trial).
07-geyser-trial-link-2
โœ… Done!
Note: You can cancel anytime within the 7-day trial period from your Discord dashboard to avoid charges.

๐ŸŒ Register Your IP Address

To start using Geyser gRPC, register your IP address:
  1. Click Geyser gRPCโšก๏ธ and select IP registration.
09-ip-register
  1. Enter your IP address, then click Submit.
10-ip-registered
Our system automatically connects you to the nearest, fastest server.

๐Ÿ“ถ Check Your Connection Quality

Your connection quality is rated based on your distance to the server:
DistancePerformance
๐ŸŸฃ 0m๐Ÿ‘‘ Platinum
๐ŸŸข 1โ€“999m๐ŸŽ๏ธ Excellent
๐Ÿ”ต 1km+๐Ÿš— Very Good
๐ŸŸก 10km+๐Ÿš› Good
๐ŸŸ  50km+๐Ÿข Fair
๐Ÿ”ด 100km+๐Ÿšถ Poor
โšซ๏ธ 6,000km+โ˜ ๏ธ Bad
You can update your IP anytime to optimize performance.

๐Ÿ  Show Connection Info

You can check your connection info by clicking the Geyser gRPCโšก๏ธ button.
11-geyser-dashboard

๐Ÿ› ๏ธ Test Your gRPC Connection Latency

Check your latency with our Solana Validator Tool (slv):
bash
slv check grpc
If you have not installed the Solana Validator Tool slv , please install it first.
bash
curl -fsSL https://storage.slv.dev/slv/install | sh
When prompted, enter your gRPC endpoint and API key provided in your dashboard:
12-latency-test
You're all set! ๐Ÿš€ Happy coding! ๐ŸŽ‰

Install SLV

bash
curl -fsSL https://storage.slv.dev/slv/install | sh

$ slv b init

slv b init
With a single command, slv b init, you can instantly scaffold a development environment for Solana bots using high-performance stream-based data.
bash
slv b init
  • Use geyser-ts if you prefer a TypeScript Geyser bot
  • Use geyser-rust if you prefer a Rust Geyser bot

Geyser Client Example โ€“ TypeScript

  1. Rename .env.sample to .env
  2. Edit .env with your actual values:
env
X_TOKEN=YOUR_X_TOKEN_OR_API_KEY GEYSER_ENDPOINT=https://grpc-ams.erpc.global SOLANA_RPC_ENDPOINT="https://edge.erpc.global?api-key=YOUR_API_KEY"
โš ๏ธ Please note: This endpoint is a sample and cannot be used as is. Please obtain and configure the appropriate endpoint for your environment.
  1. Install dependencies and start the development server:
bash
pnpm i pnpm dev
Geyser TypeScript VSCode

Geyser Client Example โ€“ Rust

  1. Rename .env.sample to .env
  2. Edit .env with your actual values:
env
X_TOKEN=YOUR_X_TOKEN_OR_API_KEY GEYSER_ENDPOINT=https://grpc-ams.erpc.global SOLANA_RPC_ENDPOINT="https://edge.erpc.global?api-key=YOUR_API_KEY"
โš ๏ธ Please note: This endpoint is a sample and cannot be used as is. Please obtain and configure the appropriate endpoint for your environment.
  1. Build and run the client:
bash
RUST_LOG=info cargo run
Geyser Rust VSCode

โœ… 7-Day Free Trial Available

Both Geyser and Shreds bots can be tested for free for 7 days via the official Validators DAO Discord server.