account

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2019 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AccountCmd = &cobra.Command{
	Use:   "account",
	Short: "Manage accounts of IoTeX blockchain",
}

AccountCmd represents the account command

View Source
var (
	ErrPasswdNotMatch = errors.New("password doesn't match")
)

Errors

Functions

func GetAccountMeta

func GetAccountMeta(addr string) (*iotextypes.AccountMeta, error)

GetAccountMeta gets account metadata

func KsAccountToPrivateKey

func KsAccountToPrivateKey(signer, password string) (crypto.PrivateKey, error)

KsAccountToPrivateKey generates our PrivateKey interface from Keystore account

func Sign

func Sign(signer, password, message string) (signedMessage string, err error)

Sign sign message with signer

Types

This section is empty.

Jump to

Keyboard shortcuts

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