6.2 Using sov-cli

The sov-cli tool is your primary interface for interacting with your Spicenet node. Here are some common commands and their usage:

  1. Generate a new key pair:

./target/debug/sov-cli keys generate

This will output a new public and private key pair. Make sure to securely store the private key.

  1. List transactions in your local pool:

./target/debug/sov-cli transactions list

This shows all transactions that have been imported but not yet submitted to the network.

  1. Query node status:

./target/debug/sov-cli node status

This provides information about your node's current state, including the latest processed slot and any pending transactions.

  1. Get help on available commands:

./target/debug/sov-cli --help

This displays all available commands and their brief descriptions.

Remember to run these commands from the directory where sov-cli is located.

Last updated