Back to

Package account

Latest Go to latest

The highest tagged major version is .

Published: Apr 21, 2019 | License: Apache-2.0 | Module:



var AccountCmd = &cobra.Command{
	Use:   "account",
	Short: "Manage accounts of IoTeX blockchain",
	Args:  cobra.MinimumNArgs(1),

AccountCmd represents the account command

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


func GetAccountMeta

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

GetAccountMeta gets account metadata

func KsAccountToPrivateKey

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

KsAccountToPrivateKey generates our PrivateKey interface from Keystore account

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier