⚠️ ALPHA SOFTWARE - EXPERIMENTAL USE ONLYThis CLI is in early alpha development and is NOT SUITABLE FOR PRODUCTION USE. Features may change without notice, and data loss or unexpected behavior may occur. Use at your own risk and avoid using with mainnet assets or critical operations.
A command-line interface for interacting with the Vana L1 network and related services.
Install globally via npm:
npm install -g vana-cli
Or use directly with npx:
npx vana-cli --help
Note: This is alpha software. Only use with testnet/development environments.
-
Initialize configuration:
vana config init
-
Configure your wallet private key:
vana config set wallet_private_key 63...
-
Configure the targeted Query Engine endpoint:
vana config set query_engine_endpoint https://...
-
Get refiner statistics:
vana stats refiner --id 45
vana config init
- Initialize configuration with defaultsvana config get [key]
- Get configuration valuesvana config set <key> <value>
- Set configuration values
vana stats refiner --id <id>
- Get ingestion statistics for a specific refiner
The CLI stores configuration in:
- Unprotected values:
~/.vana/cli.config.toml
- Protected values (like private keys): OS keyring
network
- Network to connect to (vana|moksha)rpc_endpoint
- RPC endpoint URLquery_engine_endpoint
- Query Engine API URL for stats commandswallet_private_key
- Your wallet private key (stored securely in keyring)
# Initialize with defaults
vana config init
# Set network
vana config set network moksha
# Set custom RPC endpoint
vana config set rpc_endpoint https://rpc.moksha.vana.org
# Set Query Engine endpoint for stats commands
vana config set query_engine_endpoint https://query.moksha.vana.org
# Get refiner stats (uses configured endpoint)
vana stats refiner --id 45
# Get refiner stats with verbose output
vana stats refiner --id 45 --verbose
# Get stats in JSON format
vana stats refiner --id 45 --json
# Use custom endpoint for one-off query
vana stats refiner --id 45 --endpoint https://custom.api.com
See DEVELOPMENT.md for development setup and contribution guidelines.
MIT