Documentation
¶
Index ¶
- func GetAccounts() map[string]AccDesc
- func StoreAccountRecord(accDesc AccDesc) error
- func StorePrivateKeyWithKeystore(privateKey string, passphrase string) (string, error)
- func UnlockAccount(ad AccDesc, network networks.Network) (*account.Account, error)
- func UnlockKeystoreAccountWithPassword(ad AccDesc, network networks.Network, pwd string) (*account.Account, error)
- func VerifyKeystore(path string) (string, error)
- type AccDesc
- 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 UnlockAccount ¶
func UnlockKeystoreAccountWithPassword ¶ added in v0.0.22
func VerifyKeystore ¶
Types ¶
type AccDesc ¶
func GetAccount ¶
type FuzzySource ¶
type FuzzySource []AccDesc
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.