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
View Source
var (
ErrNoNameFound = errors.New("no name is found")
)
Errors
Functions ¶
func Address ¶
Address returns the address corresponding to name, parameter in can be name or IoTeX address
func GetAccountMeta ¶
func GetAccountMeta(addr string) (*iotextypes.AccountMeta, error)
GetAccountMeta gets account metadata
func GetNameMap ¶
GetNameMap gets the map from address to names of both AccountList and NameList
func KsAccountToPrivateKey ¶
func KsAccountToPrivateKey(signer, password string) (keypair.PrivateKey, error)
KsAccountToPrivateKey generates our PrivateKey interface from Keystore account
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.