package
5.10.6
Repository: https://github.com/zenrock-foundation/zrchain.git
Documentation: pkg.go.dev

# Functions

AddGenesisAccountCmd returns add-genesis-account cobra Command.
CollectGenTxsCmd - return the cobra command to collect genesis transactions.
Commands adds core sdk's sub-commands into genesis command.
CommandsWithCustomMigrationMap adds core sdk's sub-commands into genesis command with custom migration map.
GenesisCoreCommand adds core sdk's sub-commands into genesis command.
GenTxCmd builds the application's gentx command.
InitCmd returns a command that initializes all files needed for Tendermint and the respective application.
MigrateGenesisCmd returns a command to execute genesis state migration.
MigrateHandler handles the migration command with a migration map as input, returning an error upon failure.
ValidateGenesisCmd takes a genesis file, and makes sure that it is valid.

# Constants

FlagDefaultBondDenom defines the default denom to use in the genesis file.
FlagOverwrite defines a flag to overwrite an existing genesis JSON file.
FlagSeed defines a flag to initialize the private validator key from a specific seed.

# Variables

MigrationMap is a map of SDK versions to their respective genesis migration functions.