Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultEd25519KeyName = `THORChain-ED25519` ThorchainDefaultBIP39PassPhrase = "thorchain" 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 ¶ added in v1.82.0
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"} THORChain 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 simd. It is called once in the main function.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.