Installation
- Cargo (recommended)
- From source
Quick Start: Existing Users
If you already have an OrbitFlare account and API key from the dashboard:Endpoints default to the configured region (
fra when unset), so ping, rpc, das, ws, jet and grpc work right after login. An explicit rpc.url, grpc.url or jetstream.url takes precedence over the region.
RPC, WebSocket and Yellowstone regions:
va, ny, la, slc, ams, fra, lon, jp, sg. Jetstream regions: ny, slc, ams, fra, lon, dub, sqq, jp, sgp; RPC regions without a Jetstream endpoint map to the nearest one (va → ny, la → slc, sg → sgp).
Quick Start: New Users
1
Create an Account
Sign up at orbitflare.com and choose a plan.
2
Authenticate
The CLI supports three login methods. Pick the one that suits your workflow:The CLI fetches and stores your RPC license key automatically during login. To set it manually:
3
Configure Your Endpoints
Endpoints default to the See Authentication & Limits for all available region endpoints.
fra region. Pick the region closest to you, or set full endpoint URLs from the Services section of your dashboard:4
Start Building
Authentication
Credentials are stored securely in your OS keychain. The CLI supports multiple named profiles so you can manage separate accounts or environments.Auth Methods
- API Key
- Wallet
- Device Flow
Authenticate with your API key from the dashboard. The key is passed via the
X-ORBIT-KEY header to the Customer API.Key Resolution Order
--profileflag to select a stored profile- Default profile in
~/.orbitflare/config.yml - Environment variables:
ORBITFLARE_LICENSE_KEYfor RPC,ORBITFLARE_APEX_KEYfor Apex
Command Reference
The CLI has top-level commands spanning authentication, configuration, blockchain queries, real-time streaming, project scaffolding, and account management.Core Commands
RPC Commands
Query the Solana blockchain directly from your terminal.rpc tokens lists Token and Token-2022 accounts. rpc history uses getTransactionsForAddress and takes filters and pagination:
DAS Commands
Query tokens, NFTs and compressed NFTs through the Digital Asset Standard API. List commands take--limit (up to 1000) and --page.
Apex Commands
Send transactions through Apex.ping and tip-accounts need no key; send and transfer use the Apex API key from auth set-apex-key or ORBITFLARE_APEX_KEY.
global, fra, ams, dub, lon, nyc, slc, sgp, tyo, sqq. Every transaction must carry exactly one top-level SystemProgram transfer of at least 0.001 SOL to an Apex tip account; send checks this before sending and transfer adds it for you.
WebSocket Commands
Subscribe to live Solana pubsub events over WebSocket. Each subscription runs until you pressCtrl+C and prints events as they arrive (use --json for machine-readable output).
http:// becomes ws:// and https:// becomes wss://. To target a different host for a single command, pass --ws-url:
Streaming Commands
Stream real-time Solana data over gRPC. Both commands take a YAML config file that defines your filters and reconnection strategy, stop onCtrl+C or after --duration <SECONDS>, and print one JSON object per event with --json.
- Jetstream
- Yellowstone gRPC
account_include, account_exclude and account_required; Jetstream has no account filters, so use Yellowstone gRPC for account updates. --enrichment, or include_enrichment: true on any filter, adds the fee payer, compute-unit price and limit, priority fee, program IDs, writable accounts, transaction size and resolved lookup-table addresses. --v1 uses the deprecated v1 protocol.stream.yml
${VAR} syntax.
Template Commands
Scaffold projects from production-ready starter templates.Plan Commands
Browse and compare available RPC plans. Plan data is cached locally for 6 hours. Without a login the public catalog is shown.Payment Commands
Manage your account balance, purchase plans, and handle invoices. Onlytopup requires a Solana wallet — everything else uses your account balance.
topup command defaults to ~/.config/solana/id.json for the wallet keypair. Use --wallet to specify a different path. Billing periods: monthly, quarterly, semi-annual, annual.
The
purchase command runs a dry-run validation first, showing you the pricing breakdown and whether your balance is sufficient before confirming.Dashboard
Launch an interactive TUI for managing your OrbitFlare account without leaving the terminal.Service management keybinds
Service management keybinds
API key management keybinds
API key management keybinds
Invoice & profile keybinds
Invoice & profile keybinds
JSON Output
All commands support--json for machine-readable output, making the CLI easy to integrate into scripts and automation pipelines.
Configuration
Configuration is stored in~/.orbitflare/config.yml. Manage it with the config command:
- RPC:
https://devnet.rpc.orbitflare.com(fallback:https://api.devnet.solana.com) - gRPC:
http://devnet.rpc.orbitflare.com:10000
--network devnet to switch at runtime. Jetstream is mainnet only.
File Locations
Global Flags
These flags work with every command and override the corresponding config value for that invocation.Full Workflow Example
A complete walkthrough from installation to querying:What’s Next?
RPC Methods
Explore the full Solana RPC method reference.
Jetstream Streaming
Learn about real-time gRPC data streaming.
Yellowstone gRPC
Complete Geyser plugin data via Yellowstone.
Starter Templates
Browse production-ready project templates.
Support
Discord
Join the community for help and discussions.
GitHub
Report issues or contribute to the CLI.