cmd

package
v1.109.0 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2024 License: MIT Imports: 53 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultEd25519KeyName           = `BASEChain-ED25519`
	ThorchainDefaultBIP39PassPhrase = "thorchain"
	BIP44Prefix                     = "44'/931'/"
	PartialPath                     = "0'/0/0"
	FullPath                        = BIP44Prefix + PartialPath
)

Variables

This section is empty.

Functions

func AddGenesisAccountCmd

func AddGenesisAccountCmd(defaultNodeHome string) *cobra.Command

AddGenesisAccountCmd returns add-genesis-account cobra Command.

func GetEd25519Keys

func GetEd25519Keys() *cobra.Command

func GetPubKeyCmd

func GetPubKeyCmd() *cobra.Command

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"} BASEChain 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 thornode. It is called once in the main function.

Types

This section is empty.

Jump to

Keyboard shortcuts

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