Installing CLI & Creating A New Address

`secretcli` is the Secret Network light client, a command-line interface tool for interacting with nodes running on the Secret Network. To install it, follow these instructions:

Download

Get the latest release of secretcli for your OS HERE.

Install

  • Mac/Windows: Rename it from secretcli-${VERSION}-${OS} to secretcli or secretcli.exe and put it in your path

  • Ubuntu/Debian: sudo dpkg -i secret*.deb

Setup the executable

Linux and MacOS users:

chmod +x secretcli

Configure

secretcli config set client chain-id secret-4
secretcli config set client output json
secretcli config set client node https://rpc.mainnet.secretsaturn.net

You can find alternate node endpoints in the API registry, or run your own full node\

Check the installation

secretcli status

Create a new address

See more details on how to use the CLI here

Last updated

Was this helpful?