Documentation ¶
Index ¶
- func GetAccount(input string) (types.AccDesc, error)
- func GetAccounts() map[string]types.AccDesc
- func StoreAccountRecord(accDesc types.AccDesc) error
- func StorePrivateKeyWithKeystore(privateKey string, passphrase string) (string, error)
- func UnlockAccount(ad types.AccDesc) (*account.Account, error)
- func UnlockKeystoreAccountWithPassword(ad types.AccDesc, pwd string) (*account.Account, error)
- func VerifyKeystore(path string) (string, error)
- type FuzzySource
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAccounts ¶
GetAccounts returns a map address -> account description Each description is stored in a json file whose name is the address and content is the description. All files are kept in ~/.jarvis/
func StoreAccountRecord ¶
func StorePrivateKeyWithKeystore ¶ added in v0.0.19
func UnlockKeystoreAccountWithPassword ¶ added in v0.0.22
func VerifyKeystore ¶
Types ¶
type FuzzySource ¶
func NewFuzzySource ¶
func NewFuzzySource() FuzzySource
func (FuzzySource) Len ¶
func (self FuzzySource) Len() int
func (FuzzySource) String ¶
func (self FuzzySource) String(i int) string
Click to show internal directories.
Click to hide internal directories.