Installation
- Cargo (recommended)
- From source
Quick Start: Existing Users
If you already have an OrbitFlare account and API key from the dashboard:A fresh install starts with an empty config. After login, set at least
rpc.url so commands like ping and rpc know where to connect. Your endpoint URLs are available in the Services section of your dashboard.| Protocol | Format | Example |
|---|---|---|
| RPC | http://{region}.rpc.orbitflare.com | http://ams.rpc.orbitflare.com |
| WS | ws://{region}.rpc.orbitflare.com | ws://ams.rpc.orbitflare.com |
| gRPC (Yellowstone) | http://{region}.rpc.orbitflare.com:10000 | http://ams.rpc.orbitflare.com:10000 |
| Jetstream | http://{region}.jetstream.orbitflare.com | http://ams.jetstream.orbitflare.com |
Quick Start: New Users
Create an Account
Sign up at orbitflare.com and choose a plan.
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:
Configure Your Endpoints
A fresh install starts with an empty config. Point the CLI to your OrbitFlare endpoints:Your endpoint URLs are in the Services section of your dashboard. They follow the format See Authentication & Limits for all available region endpoints.
http://{region}.rpc.orbitflare.com.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
--x-orbit-keyflag on the command (highest priority)--profileflag to select a stored profile- Default profile in
~/.orbitflare/config.yml
Command Reference
The CLI has top-level commands spanning authentication, configuration, blockchain queries, real-time streaming, project scaffolding, and account management.Core Commands
| Command | Description |
|---|---|
auth login | Authenticate (API key, wallet, or device flow) |
auth logout | Remove stored credentials |
auth status | Show current authentication status |
auth switch --profile <NAME> | Switch to a different auth profile |
auth set-license-key <KEY> | Store RPC license key for current profile |
config show | Display all configuration values |
config set <KEY> <VALUE> | Set a configuration value |
config remove <KEY> <VALUE> | Remove a value from a list config |
config reset | Reset config to defaults (preserves auth) |
ping | Check connectivity to all configured services |
ping --service <SVC> | Ping a specific service (rpc, jetstream, grpc) |
docs [TOPIC...] | Open documentation in your browser |
RPC Commands
Query the Solana blockchain directly from your terminal.Streaming Commands
Stream real-time Solana data over gRPC. Both commands take a YAML config file that defines your filters and reconnection strategy.- Jetstream
- Yellowstone gRPC
stream.yml
${VAR} syntax.
Template Commands
Scaffold projects from production-ready starter templates.Dashboard
Launch an interactive TUI for managing your OrbitFlare account without leaving the terminal.Navigation keybinds
Navigation keybinds
Service management keybinds
Service management keybinds
| Key | Tab | Action |
|---|---|---|
m | Details | Toggle auth mode (IP / API Key) |
w | Details | Toggle auto-renewal |
r | Details | Regenerate license key |
n | IPs / Domains | Switch Mainnet / Devnet |
a | IPs / Domains | Add IP or domain |
d | IPs / Domains | Remove IP or domain |
API key management keybinds
API key management keybinds
| Key | Action |
|---|---|
c | Create new API key |
e | Toggle enabled / disabled |
r | Regenerate key |
x | Delete key |
a | Add IP (when expanded) |
d | Remove IP (when expanded) |
Invoice & profile keybinds
Invoice & profile keybinds
| Key | Section | Action |
|---|---|---|
p | Invoices | Pay with account balance |
e | Profile | Edit name and payment wallet |
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:
http://devnet.rpc.orbitflare.com(fallback:https://api.devnet.solana.com) - gRPC:
http://devnet.rpc.orbitflare.com:10000
--network devnet to switch at runtime.
File Locations
Global Flags
These flags work with every command and override the corresponding config value for that invocation.| Flag | Description |
|---|---|
--json | Output raw JSON |
--raw | Minimal output, no formatting |
--network <NET> | Override network (mainnet / devnet / testnet) |
--commitment <C> | Override commitment (processed / confirmed / finalized) |
--rpc-url <URL> | Override RPC endpoint |
--grpc-url <URL> | Override gRPC endpoint |
--fallback-url <URL> | Fallback URLs (repeatable) |
--profile <NAME> | Use a specific auth profile |
--quiet | Suppress non-essential output |
--no-color | Disable colored output |
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.