Documentation ¶
Index ¶
Constants ¶
View Source
const ( // FlagOverwrite defines a flag to overwrite an existing genesis JSON file. FlagOverwrite = "overwrite" // FlagSeed defines a flag to initialize the private validator key from a specific seed. FlagRecover = "recover" // FlagDefaultBondDenom defines the default denom to use in the genesis file. FlagDefaultBondDenom = "default-denom" // FlagStakingBondDenom defines a flag to specify the staking token in the genesis file. FlagStakingBondDenom = "staking-bond-denom" )
Variables ¶
View Source
var ChainID string
Functions ¶
func AddGenesisAccountCmd ¶
AddGenesisAccountCmd returns add-genesis-account cobra Command.
func InitCmd ¶
func InitCmd(mbm module.BasicManager, defaultNodeHome string) *cobra.Command
InitCmd wraps the genutilcli.InitCmd to inject specific parameters for Panacea. It reads the default genesis.json, modifies and exports it. Reference: https://github.com/public-awesome/stargaze/blob/b92bf9847559b9c7f4ac08576d056d3d00efe12c/cmd/starsd/cmd/init.go
func NewRootCmd ¶
func NewRootCmd() (*cobra.Command, params.EncodingConfig)
NewRootCmd creates a new root command for simd. It is called once in the main function.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.