Skip to content

Latest commit

 

History

History
65 lines (44 loc) · 2.03 KB

File metadata and controls

65 lines (44 loc) · 2.03 KB

JetStream Client Examples

Example client implementations for OrbitFlare JetStream - a high-performance gRPC service for real-time Solana transaction streaming.

The Rust and TypeScript clients are built on the official OrbitFlare SDKs. Each ships two examples that stream transactions and decode pump.fun instructions using a shared decoder: v1 on the fixed-filter client, and v2 on the v2 client with opt-in enrichment (fee payer, compute-unit price, priority fee). Both use the SDKs' typed account filters. The Go client uses the raw generated proto client.

Clients

Quick Start

Rust

cd clients/rust-client

# JetStream v1
cargo run --bin v1

# JetStream v2
cargo run --bin v2

TypeScript

cd clients/typescript-client
npm install

# JetStream v1
npm run v1

# JetStream v2
npm run v2

Go

cd clients/go-client
go build -o jetstream-go-client .
./jetstream-go-client --jetstream-grpc-url http://fra.jetstream.orbitflare.com:80

The Rust and TypeScript examples read the endpoint from the ORBITFLARE_JETSTREAM_URL environment variable and default to http://fra.jetstream.orbitflare.com.

Endpoints

  • 🇳🇱 Amsterdam
  • 🇮🇪 Dublin
  • 🇩🇪 Frankfurt
  • 🇬🇧 London
  • 🇺🇸 New York
  • 🇺🇸 Utah
  • 🇯🇵 Tokyo
  • 🇸🇬 Singapore
  • 🇱🇹 Siauliai

Documentation

For detailed documentation, see OrbitFlare JetStream Docs.