account

package
v1.7.1-rc2 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2022 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrPasswdNotMatch indicates that the second input password is different from the first
	ErrPasswdNotMatch = errors.New("password doesn't match")
)

Errors

Functions

func IsSignerExist added in v1.7.0

func IsSignerExist(client ioctl.Client, signer string) bool

IsSignerExist checks whether signer account is existed

func Meta added in v1.7.1

func Meta(client ioctl.Client, addr string) (*iotextypes.AccountMeta, error)

Meta gets account metadata

func NewAccountCmd added in v1.7.0

func NewAccountCmd(client ioctl.Client) *cobra.Command

NewAccountCmd represents the account command

func NewAccountCreate

func NewAccountCreate(client ioctl.Client) *cobra.Command

NewAccountCreate represents the account create command

func NewAccountCreateAdd added in v1.7.1

func NewAccountCreateAdd(client ioctl.Client) *cobra.Command

NewAccountCreateAdd represents the account createadd command

func NewAccountDelete

func NewAccountDelete(client ioctl.Client) *cobra.Command

NewAccountDelete represents the account delete command

func NewAccountEthAddr added in v1.7.1

func NewAccountEthAddr(client ioctl.Client) *cobra.Command

NewAccountEthAddr represents the account ethaddr command

func NewAccountInfo added in v1.7.1

func NewAccountInfo(client ioctl.Client) *cobra.Command

NewAccountInfo represents the account info command

func NewAccountList added in v1.7.0

func NewAccountList(client ioctl.Client) *cobra.Command

NewAccountList represents the account list command

func NewAccountNonce added in v1.7.0

func NewAccountNonce(client ioctl.Client) *cobra.Command

NewAccountNonce represents the account nonce command

func NewAccountSign added in v1.7.0

func NewAccountSign(client ioctl.Client) *cobra.Command

NewAccountSign represents the account sign command

func NewAccountUpdate added in v1.7.0

func NewAccountUpdate(client ioctl.Client) *cobra.Command

NewAccountUpdate represents the account update command

func NewAccountVerify added in v1.7.1

func NewAccountVerify(client ioctl.Client) *cobra.Command

NewAccountVerify represents the account verify command

func PrivateKeyFromSigner added in v1.7.0

func PrivateKeyFromSigner(client ioctl.Client, signer, password string) (crypto.PrivateKey, error)

PrivateKeyFromSigner returns private key from signer

func Sign added in v1.7.0

func Sign(client ioctl.Client, signer, password, message string) (string, 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