common

package
v1.6.0-beta.2 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2019 License: LGPL-3.0 Imports: 8 Imported by: 15

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(wallet account.Client, accAddr string) *account.AccountMetadata

func GetAccountMulti

func GetAccountMulti(wallet 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 OpenWallet

func OpenWallet(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