Geyser gRPC - Quickstart
Install SLV
bash
curl -fsSL https://storage.slv.dev/slv/install | shcurl -fsSL https://storage.slv.dev/slv/install | sh$ 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 initslv b init- Use
geyser-tsif you prefer a TypeScript Geyser bot - Use
geyser-rustif you prefer a Rust Geyser bot
Allow ICMP latency-probe sources
For gRPC region selection, ERPC sends ICMP latency probes to your registered IP from the proxy hosts listed below. Allow inbound ICMP echo requests from every listed source IP. If they are blocked by a firewall (ufw, cloud firewall, security group, etc.), the measurement can become
9999ms and a non-optimal region may be selected. Multiple IPs in one region are separate probe hosts; all of them are required.| Probe region | ICMP source IPs |
|---|---|
| π³π± Amsterdam | 84.32.103.245, 84.32.64.77 |
| πΊπΈ New York | 64.130.37.222 |
| π©πͺ Frankfurt | 185.191.118.149, 185.191.118.177, 185.191.118.206 |
| π¬π§ London | 67.209.52.250 |
| π―π΅ Tokyo | 198.13.133.88 |
| πΈπ¬ Singapore | 202.8.11.52 |
| π¦πΊ Sydney | 82.26.116.36 |
| π°οΈ Far Point | 63.254.162.14 |
Geyser Client Example β TypeScript
- Rename
.env.sampleto.env - Edit
.envwith your actual values:
ini
GEYSER_ENDPOINT=http://grpc-ams1.erpc.global
SOLANA_RPC_ENDPOINT="https://edge.erpc.global?api-key=YOUR_API_KEY"GEYSER_ENDPOINT=http://grpc-ams1.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.
- Install dependencies and start the development server:
bash
pnpm i
pnpm devpnpm i
pnpm dev
Geyser Client Example β Rust
- Rename
.env.sampleto.env - Edit
.envwith your actual values:
ini
GEYSER_ENDPOINT=http://grpc-ams1.erpc.global
SOLANA_RPC_ENDPOINT="https://edge.erpc.global?api-key=YOUR_API_KEY"GEYSER_ENDPOINT=http://grpc-ams1.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.
- Build and run the client:
bash
RUST_LOG=info cargo runRUST_LOG=info cargo run
β 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.
Join us here: https://discord.gg/C7ZQSrCkYR