Documentation ¶
Index ¶
- func ConvertBech32ToHex(bech32Addr string) (hexAddr string, err error)
- func ConvertBech32ToHexCmd() *cobra.Command
- func KeyCommands(ctx context.Context) *cobra.Command
- func UnarmorDecryptPrivKey(armorStr string, passphrase string) (privKey cryptotypes.PrivKey, algo string, err error)
- func UnsafeExportEthereumKeyCommand() *cobra.Command
- func UnsafeImportEthereumKeyCommand() *cobra.Command
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertBech32ToHex ¶
func ConvertBech32ToHexCmd ¶
ConvertBech32ToHexCmd returns a command to convert a bech32 address to hex
func KeyCommands ¶
KeyCommands registers a sub-tree of commands to interact with local private key storage.
func UnarmorDecryptPrivKey ¶
func UnarmorDecryptPrivKey( armorStr string, passphrase string, ) (privKey cryptotypes.PrivKey, algo string, err error)
UnarmorDecryptPrivKey returns the privkey byte slice, a string of the algo type, and an error
func UnsafeExportEthereumKeyCommand ¶
UnsafeExportEthereumKeyCommand exports a key with the given name as a private key in hex format.
func UnsafeImportEthereumKeyCommand ¶
UnsafeImportEthereumKeyCommand imports private keys from a keyfile.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.