cli

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const FlagPublicKey string = "pubkey"

Variables

This section is empty.

Functions

func Commands

func Commands() *cobra.Command

Commands registers a sub-tree of commands to interact with local private key storage.

func GetDelCmd

func GetDelCmd() *cobra.Command

func GetExportPivKeyCmd

func GetExportPivKeyCmd() *cobra.Command

func GetListCmd

func GetListCmd() *cobra.Command

func GetNewCmd

func GetNewCmd() *cobra.Command

func GetPrivateKey added in v1.0.1

func GetPrivateKey(ksw *keystore.KeyStoreWallet, addr string, passphrase string) (string, error)

func GetRecoverAccountCmd

func GetRecoverAccountCmd() *cobra.Command

recover a account from a private key

func GetUpdateCmd

func GetUpdateCmd() *cobra.Command

Types

This section is empty.

Jump to

Keyboard shortcuts

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