Configuring sagacli - A Deep Dive
sagacli
is a powerful CLI tool that is intended to offer end-to-end management of your private keys, accounts and chainlets.
It is imperative that sagacli
be configured correctly in order for you to get the most out of the tool, and avoid unnecessary errors.
To view the current config, type:
The table below provides an in-depth explanation of each configuration setting.
Setting | Description | Example Values | Default Value |
---|---|---|---|
loglevel | This setting determines the verbosity of logs produced. Possible values are |
|
|
controller | Controller accepts gRPC requests from | controller.cassio-prod-sp1.sp1.sagarpc.io:19090 | https://controller.sp1.sagarpc.io |
output | This controls the formatting of output from |
|
|
keyring-backend | This setting indicates the type of keyring |
|
|
network-rpc | This setting specifies the endpoint for connecting to the Saga Platform Chain, which serves as the system of record for chainlets launched, as well as their current status. Note: This is a critical setting and must be set correctly in order for | tcp://spc.cassio-prod-sp1.sp1.sagarpc.io:26657 | https://spc.sp1.sagarpc.io |
from | This setting specifies the key to be used as the default key when signing transactions. You do not need to have this set in order to be able to use |
| none |
platform-chain-id | This setting specifies the | spc-testnet-1 | spc-testnet-1 |
denom | This setting specifies the token denomination symbol being used by the Saga Platform Chain. It is best to leave this to the default value |
|
|
broadcast-mode | This controls the submission of transactions to the Saga Platform Chain and whether IMPORTANT: It is not recommended that this value be changed. If you do have a use-case for changing the default value, please contact the Saga team before making any changes |
|
|
ledger | This setting enables the use of a connected ledger device for signing transactions. If you have an HD wallet or other such hardware device used to store your private keys, you can use this setting to force each transaction to be signed via the ledger device |
|
|
Last updated