Documentation ¶
Index ¶
- func InitConfig(cmd *cobra.Command) error
- func InitTestnet(clientCtx client.Context, cmd *cobra.Command, nodeConfig *tmconfig.Config, ...) error
- func KeyCommands(defaultNodeHome string) *cobra.Command
- func TestnetCmd(mbm module.BasicManager, genBalancesIterator banktypes.GenesisBalancesIterator) *cobra.Command
- func UnsafeExportEthKeyCommand() *cobra.Command
- func UnsafeImportKeyCommand() *cobra.Command
- func ValidateChainID(baseCmd *cobra.Command) *cobra.Command
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitConfig ¶
InitConfig adds the chain-id, encoding and output flags to the persistent flag set.
func InitTestnet ¶
func InitTestnet( clientCtx client.Context, cmd *cobra.Command, nodeConfig *tmconfig.Config, mbm module.BasicManager, genBalIterator banktypes.GenesisBalancesIterator, outputDir, chainID, coinDenom, minGasPrices, nodeDirPrefix, nodeDaemonHome, keyringBackend, algoStr string, ipAddresses []string, numValidators int, ) error
InitTestnet initializes the testnet configuration
func KeyCommands ¶
KeyCommands registers a sub-tree of commands to interact with local private key storage.
func TestnetCmd ¶
func TestnetCmd( mbm module.BasicManager, genBalancesIterator banktypes.GenesisBalancesIterator, ) *cobra.Command
TestnetCmd initializes all files for tendermint testnet and application
func UnsafeExportEthKeyCommand ¶
UnsafeExportEthKeyCommand exports a key with the given name as a private key in hex format.
func UnsafeImportKeyCommand ¶
UnsafeImportKeyCommand imports private keys from a keyfile.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.