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 1-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 1-Day free trial).
07-geyser-trial-link-2
βœ… Done!
Note: You can cancel anytime within the 1-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

βœ… 1-Day Free Trial Available

Both Geyser and Shreds bots can be tested for free for 1-Day via the official Validators DAO Discord server.