CLI commands
CLI flags
The following is a list of commonly used flags for stcd:
| option | description | type | default |
|---|---|---|---|
--chain-id |
full chain ID | string |
"" |
--home |
configuration and data directory | string |
directory where binaries are located/.stcd |
--keyring-backend |
select keyring backend | string |
"os" |
--output |
output format | string |
"text" |
--node |
Tendermint RPC interface address | <host>:<port> |
"tcp://localhost:26657" |
--from |
name or address of account to sign from | string |
"" |
command list
List of commonly used stcd commands. You can get a complete list with the stcd -h command.
| command | description | subcommand (example) |
|---|---|---|
keys |
key management | list, show, add, add --recover, delete |
tx |
Transaction subcommands | bank send, ibc-transfer transfer, distribution withdraw-all-rewards |
query |
query subcommands | bank balance, staking validators, gov proposals |
tendermint |
Tendermint subcommands | show-address, show-node-id, version |
config |
Client configuration | |
init |
Initialize daodst | |
daemon |
start daodst | |
version |
Daodst version | |
validate-genesis |
Validate genesis file | |
status |
Query remote node status |