Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultEd25519KeyName = `DDChain-ED25519` DdchainDefaultBIP39PassPhrase = "ddchain" BIP44Prefix = "44'/931'/" PartialPath = "0'/0/0" FullPath = BIP44Prefix + PartialPath )
Variables ¶
This section is empty.
Functions ¶
func AddGenesisAccountCmd ¶
AddGenesisAccountCmd returns add-genesis-account cobra Command.
func GetEd25519Keys ¶
func GetPubKeyCmd ¶
GetPubKeyCmd cosmos sdk removed pubkey support recently , as a result of that , all pubkey will be print out in protobuf json format like{"@type":"/cosmos.crypto.secp256k1.PubKey","key":"AivZERqhB2H3l4JC7RYG3TeaaUwKf4N/mdxDqDXyZRpF"} DDChain need the pubkey in bech32 encoded format, this command is to convert the protobuf json back to bech32 encoded format
func NewRootCmd ¶
func NewRootCmd() (*cobra.Command, params.EncodingConfig)
NewRootCmd creates a new root command for ddnode. It is called once in the main function.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.