Available Tools
solana
The primary CLI tool for interacting with Harmonic Salsa clusters. Provides commands for:- Account management and balance queries
- Transaction submission and monitoring
- Cluster information and statistics
- Stake account operations
- Program deployment and management
- Validator operations
solana-keygen
Keypair and wallet management utility for:- Generating new keypairs
- Recovering keypairs from seed phrases
- Verifying keypair signatures
- Grinding vanity addresses
- Displaying public keys
Common Use Cases
Development Workflow
- Generate a keypair for development
- Request airdrop on devnet/testnet
- Deploy programs to the cluster
- Submit transactions and monitor status
- Query accounts and program state
Validator Operations
- Create stake accounts with SOL
- Delegate stake to validators
- Monitor validator performance
- Manage stake lifecycle
- Deactivate and withdraw stake
Program Management
- Build programs with cargo-build-sbf
- Deploy programs to mainnet/testnet
- Upgrade existing programs
- Manage program authorities
- Close programs and recover SOL
Configuration
The CLI tools use a configuration file (default:~/.config/solana/cli/config.yml) to store:
- RPC URL: Cluster endpoint
- WebSocket URL: For real-time updates
- Keypair path: Default signing keypair
- Commitment level: Transaction confirmation level
Global Options
Most commands support these global options:--url <URL>- RPC endpoint to use--keypair <PATH>- Keypair for signing--commitment <LEVEL>- Confirmation level (processed, confirmed, finalized)--verbose- Display additional information--output <FORMAT>- Output format (json, json-compact)
Getting Help
View available commands:Related Resources
Installation
Install CLI tools separately from validator
Wallet Management
Generate and manage keypairs securely
Cluster Queries
Query blockchain state and information
Stake Management
Manage stake accounts and delegations