snrd init

Initialize validators’s and node’s configuration files.

Usage

snrd init [moniker] [flags]

Flags

chain-id
string
genesis file chain-id, if left blank will be randomly created
default-denom
string
genesis file default denomination, if left blank default value is ‘stake’
help
string
for init
home
string
default:"/Users/prad/.sonr"
node’s home directory
initial-height
integer
default:"1"
specify the initial block height at genesis
overwrite
string
the genesis.json file
recover
string
seed phrase to recover existing key instead of creating

Global Flags

broadcast-mode
string
default:"sync"
Transaction broadcasting mode (sync|async)
fees
string
Fees to pay along with transaction; eg: 10aatom
from
string
Name or address of private key with which to sign
gas-adjustment
float
default:"1"
adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored
gas-prices
string
Gas prices to determine the transaction fee (e.g. 10aatom)
keyring-backend
string
default:"os"
Select keyring’s backend
log_format
string
default:"plain"
The logging format (json|plain)
log_level
string
default:"info"
The logging level (trace|debug|info|warn|error|fatal|panic|disabled or ’*:<level>,<key>:<level>’)
log_no_color
string
colored logs
node
string
default:"tcp://localhost:26657"
<host>:<port> to tendermint rpc interface for this chain
trace
string
out full stack trace on errors

Examples

Basic usage

snrd init

See Also

  • snrd - Parent command