Skip to main content

CLI Commands

CLI Flags

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

OptionDescriptionTypeDefault Value
--homeDirectory for config and datastring~/.gurud
--keyring-backendSelect keyring's backendstring"os"
--outputOutput formatstring"text"
--fromName or address of account with which to signstring""

Command list

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

CommandDescription
cometCometBFT subcommands
configUtilities for managing application configuration
debugTool for helping with debugging your application
exportExport state to JSON
genesisApplication's genesis-related subcommands
index-eth-txIndex historical eth txs
initInitialize private validator, p2p, genesis, and application configuration files
keysManage your application's keys
prunePrune app history states by keeping the recent heights and deleting old heights
queryQuery subcommands
rollbackrollback Cosmos SDK and CometBFT state by one height
snapshotsManage local snapshots
startRun full node
statusQuery remote node for status
txTransactions subcommands
versionGuru version