Skip to main content

CLI Commands

CLI Flags

A list of commonly used flags of dep is listed below:

OptionDescriptionTypeDefault Value
--chain-idFull Chain IDstring""
--homeDirectory for config and datastring~/.dep
--keyring-backendSelect keyring's backendstring"os"
--outputOutput formatstring"text"
--nodeTendermint RPC interface<host>:<port>"tcp://localhost:26657"
--fromName or address of account with which to signstring""

Command list

A list of commonly used dep commands. You can obtain the full list by using the dep -h command.

CommandDescriptionSubcommands (example)
keysKeys managementlist, show, add, add --recover, delete
txTransactions subcommandsbank send, ibc-transfer transfer, distribution withdraw-all-rewards
queryQuery subcommandsbank balance, staking validators, gov proposals
tendermintTendermint subcommandsshow-address, show-node-id, version
configClient configuration
initInitialize full node
startRun full node
versionDEP version
validate-genesisValidates the genesis file
statusQuery remote node for status
blockQuery a specific block persisted in the db (defaults to latest)