Documentation ¶
Index ¶
- Variables
- func IsSignerExist(client ioctl.Client, signer string) bool
- func Meta(client ioctl.Client, addr string) (*iotextypes.AccountMeta, error)
- func NewAccountActions(client ioctl.Client) *cobra.Command
- func NewAccountBalance(client ioctl.Client) *cobra.Command
- func NewAccountCmd(client ioctl.Client) *cobra.Command
- func NewAccountCreate(client ioctl.Client) *cobra.Command
- func NewAccountCreateAdd(client ioctl.Client) *cobra.Command
- func NewAccountDelete(client ioctl.Client) *cobra.Command
- func NewAccountEthAddr(client ioctl.Client) *cobra.Command
- func NewAccountExport(client ioctl.Client) *cobra.Command
- func NewAccountExportPublic(client ioctl.Client) *cobra.Command
- func NewAccountImportCmd(client ioctl.Client) *cobra.Command
- func NewAccountImportKeyCmd(client ioctl.Client) *cobra.Command
- func NewAccountImportKeyStoreCmd(client ioctl.Client) *cobra.Command
- func NewAccountImportPemCmd(client ioctl.Client) *cobra.Command
- func NewAccountInfo(client ioctl.Client) *cobra.Command
- func NewAccountList(client ioctl.Client) *cobra.Command
- func NewAccountNonce(client ioctl.Client) *cobra.Command
- func NewAccountSign(client ioctl.Client) *cobra.Command
- func NewAccountUpdate(client ioctl.Client) *cobra.Command
- func NewAccountVerify(client ioctl.Client) *cobra.Command
- func PrivateKeyFromSigner(client ioctl.Client, cmd *cobra.Command, signer, password string) (crypto.PrivateKey, error)
- func Sign(client ioctl.Client, cmd *cobra.Command, signer, password, message string) (string, error)
Constants ¶
This section is empty.
Variables ¶
var ( // ErrPasswdNotMatch indicates that the second input password is different from the first ErrPasswdNotMatch = errors.New("password doesn't match") )
Errors
Functions ¶
func IsSignerExist ¶
IsSignerExist checks whether signer account is existed
func Meta ¶
func Meta(client ioctl.Client, addr string) (*iotextypes.AccountMeta, error)
Meta gets account metadata
func NewAccountActions ¶
NewAccountActions represents the account sign command
func NewAccountBalance ¶
NewAccountBalance represents the account balance command
func NewAccountCmd ¶
NewAccountCmd represents the account command
func NewAccountCreate ¶
NewAccountCreate represents the account create command
func NewAccountCreateAdd ¶
NewAccountCreateAdd represents the account createadd command
func NewAccountDelete ¶
NewAccountDelete represents the account delete command
func NewAccountEthAddr ¶
NewAccountEthAddr represents the account ethaddr command
func NewAccountExport ¶
NewAccountExport represents the account export command
func NewAccountExportPublic ¶
NewAccountExportPublic represents the account export public command
func NewAccountImportCmd ¶
NewAccountImportCmd combines three account import command
func NewAccountImportKeyCmd ¶
NewAccountImportKeyCmd represents the account import key command
func NewAccountImportKeyStoreCmd ¶
NewAccountImportKeyStoreCmd represents the account import keystore command
func NewAccountImportPemCmd ¶
NewAccountImportPemCmd represents the account import pem command
func NewAccountInfo ¶
NewAccountInfo represents the account info command
func NewAccountList ¶
NewAccountList represents the account list command
func NewAccountNonce ¶
NewAccountNonce represents the account nonce command
func NewAccountSign ¶
NewAccountSign represents the account sign command
func NewAccountUpdate ¶
NewAccountUpdate represents the account update command
func NewAccountVerify ¶
NewAccountVerify represents the account verify command
func PrivateKeyFromSigner ¶
func PrivateKeyFromSigner(client ioctl.Client, cmd *cobra.Command, signer, password string) (crypto.PrivateKey, error)
PrivateKeyFromSigner returns private key from signer
Types ¶
This section is empty.