Documentation ¶
Index ¶
- func GenerateSaveCoinKey(keybase keys.Keybase, keyName, keyPass string, overwrite bool, ...) (sdk.AccAddress, string, error)
- func InitConfig(cmd *cobra.Command) error
- func InitTestnet(cmd *cobra.Command, config *tmconfig.Config, cdc *codec.Codec, ...) error
- func KeyCommands() *cobra.Command
- func TestnetCmd(ctx *server.Context, cdc *codec.Codec, mbm module.BasicManager, ...) *cobra.Command
- func UnsafeExportEthKeyCommand() *cobra.Command
- func ValidateChainID(baseCmd *cobra.Command) *cobra.Command
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateSaveCoinKey ¶
func GenerateSaveCoinKey(keybase keys.Keybase, keyName, keyPass string, overwrite bool, algo keys.SigningAlgo) (sdk.AccAddress, string, error)
GenerateSaveCoinKey returns the address of a public key, along with the secret phrase to recover the private key.
func InitConfig ¶
InitConfig adds the chain-id, encoding and output flags to the persistent flag set.
func InitTestnet ¶
func InitTestnet( cmd *cobra.Command, config *tmconfig.Config, cdc *codec.Codec, mbm module.BasicManager, genAccIterator authtypes.GenesisAccountIterator, outputDir, chainID, coinDenom, minGasPrices, nodeDirPrefix, nodeDaemonHome, nodeCLIHome, startingIPAddress string, ipAddresses []string, keyringBackend, algo string, numValidators int, isLocal bool, ) 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(ctx *server.Context, cdc *codec.Codec, mbm module.BasicManager, genAccIterator authtypes.GenesisAccountIterator, ) *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.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.