common

package
v2.0.1-beta+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClearPasswd

func ClearPasswd(passwd []byte)

func GetAccount

func GetAccount(ctx *cli.Context, address ...string) (*account.Account, error)

func GetAccountMetadataMulti

func GetAccountMetadataMulti(executor account.Client, accAddr string) *account.AccountMetadata

func GetAccountMulti

func GetAccountMulti(executor account.Client, passwd []byte, accAddr string) (*account.Account, error)

func GetPasswd

func GetPasswd(ctx *cli.Context) ([]byte, error)

func IsBase58Address

func IsBase58Address(address string) bool

func OpenExecutor

func OpenExecutor(ctx *cli.Context) (account.Client, error)

func ParseAddress

func ParseAddress(address string, ctx *cli.Context) (string, error)

ParseAddress return base58 address from base58, label or index

func PrintNotice

func PrintNotice(name string)

common - print notice when user need to choose or enter something

Types

This section is empty.

Jump to

Keyboard shortcuts

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