Skip to main content
The OrbitFlare CLI is the single entry point for everything a developer needs: streaming on-chain data via gRPC, querying the blockchain, scaffolding projects from templates, and managing your account through an interactive dashboard.
The CLI stores credentials in your OS keychain and supports multiple auth profiles, so you can switch between accounts or networks instantly.

Installation

Requires Rust 1.92+. Verify the installation:

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.
Endpoint URLs follow this format: 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:
Keep your API key and license key secret. Do not commit them to version control or expose them in client-side code.
3

Configure Your Endpoints

Endpoints default to the fra region. Pick the region closest to you, or set full endpoint URLs from the Services section of your dashboard:
See Authentication & Limits for all available region endpoints.
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

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

  1. --profile flag to select a stored profile
  2. Default profile in ~/.orbitflare/config.yml
  3. Environment variables: ORBITFLARE_LICENSE_KEY for RPC, ORBITFLARE_APEX_KEY for 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.
Regions: 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 press Ctrl+C and prints events as they arrive (use --json for machine-readable output).
The endpoint is derived from your RPC endpoint: 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 on Ctrl+C or after --duration <SECONDS>, and print one JSON object per event with --json.
Jetstream provides ultra-low-latency transaction streaming over the v2 protocol. Filters take 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
Both streaming commands support automatic endpoint failover and exponential backoff reconnection. Environment variables can be used in config files with ${VAR} syntax.

Template Commands

Scaffold projects from production-ready starter templates.
Templates are fetched from the orbitflare/templates repository and cached locally for offline use.

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. Only topup requires a Solana wallet — everything else uses your account balance.
The 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.
The dashboard provides full keyboard-driven access to your profile, services, API keys, and invoices. With a license key, the header shows live token prices from the DAS API.

JSON Output

All commands support --json for machine-readable output, making the CLI easy to integrate into scripts and automation pipelines.
Example output:

Configuration

Configuration is stored in ~/.orbitflare/config.yml. Manage it with the config command:
Devnet endpoints are preconfigured by default:
  • RPC: https://devnet.rpc.orbitflare.com (fallback: https://api.devnet.solana.com)
  • gRPC: http://devnet.rpc.orbitflare.com:10000
Use --network devnet to switch at runtime. Jetstream is mainnet only.

File Locations

API keys, tokens, and license keys are stored in your OS Keychain, not on disk.

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.