account

package
v0.5.0-rc3 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2019 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AccountCmd = &cobra.Command{
	Use:   "account",
	Short: "Deal with accounts of IoTeX blockchain",
	Args:  cobra.MinimumNArgs(1),
}

AccountCmd represents the account command

Functions

func Address

func Address(in string) (string, error)

Address returns the address corresponding to name

func GetAccountMeta

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

GetAccountMeta gets account metadata

func Sign added in v0.6.0

func Sign(signer, password string, hash []byte) ([]byte, error)

Sign use the password to unlock key associated with name, and signs the hash

Types

This section is empty.

Jump to

Keyboard shortcuts

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