cmd

package
v0.7.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 15, 2023 License: GPL-3.0 Imports: 75 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// FlagOverwrite defines a flag to overwrite an existing genesis JSON file.
	FlagOverwrite = "overwrite"

	// FlagRecover defines a flag to initialize the private validator key from a specific seed.
	FlagRecover = "recover"
)

Variables

This section is empty.

Functions

func AddGenesisAccountCmd

func AddGenesisAccountCmd(defaultNodeHome string) *cobra.Command

AddGenesisAccountCmd returns add-genesis-account cobra Command.

func CreateGexCmd added in v0.7.3

func CreateGexCmd() *cobra.Command

CreateGexCmd creates the gex command for cobra

func GenTxCmd added in v0.7.3

func GenTxCmd(mbm module.BasicManager, txEncCfg client.TxEncodingConfig, genBalIterator types.GenesisBalancesIterator, defaultNodeHome string) *cobra.Command

GenTxCmd builds the application's gentx command.

func InitCmd added in v0.7.3

func InitCmd(mbm module.BasicManager, defaultNodeHome string) *cobra.Command

InitCmd returns a command that initializes all files needed for Tendermint and the respective application.

func NewRootCmd

func NewRootCmd() (*cobra.Command, appparams.EncodingConfig)

NewRootCmd creates a new root command for a Cosmos SDK application

func Start added in v0.7.3

func Start()

Start starts the gex command

Types

type Blocks added in v0.7.3

type Blocks struct {
	// contains filtered or unexported fields
}

Blocks describe content that gets parsed for block

type Info added in v0.7.3

type Info struct {
	// contains filtered or unexported fields
}

Info describes a list of types with data that are used in the explorer

type Transactions added in v0.7.3

type Transactions struct {
	// contains filtered or unexported fields
}

Transactions describe content that gets parsed for transactions

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL