Documentation ¶
Overview ¶
package account is related to account operation
Index ¶
- type Account
- func CreateAccount(strength uint8, language int) (*Account, error)
- func CreateAndSaveAccountToFile(path, passwd string, strength uint8, language int) (*Account, error)
- func GetAccountFromFile(path, passwd string) (*Account, error)
- func RetrieveAccount(mnemonic string, language int) (*Account, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Account ¶
Account account structure
func CreateAccount ¶
CreateAccount create an account
func CreateAndSaveAccountToFile ¶
func CreateAndSaveAccountToFile(path, passwd string, strength uint8, language int) (*Account, error)
CreateAndSaveAccountToFile create an account and save to file
func GetAccountFromFile ¶
GetAccountFromFile get an account from file
Click to show internal directories.
Click to hide internal directories.