Account class
Constructors
-
Account(String label, String address, bool lock, PrivateKey encryptedKey, String salt, String publicKey, bool isDefault, { String hash, })
-
-
Account.fromJson(Map<String, dynamic> json)
-
Methods
-
decrypt(String pwd, { ScryptParams params })
→ Future<PrivateKey>
-
-
toJson()
→ Map<String, dynamic>
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString()
→ String
-
Returns a string representation of this object.
inherited
Operators
-
operator ==(dynamic other)
→ bool
-
The equality operator. [...]
inherited
Static Methods
-
create(String pwd, { PrivateKey prikey, String label, ScryptParams params })
→ Future<Account>
-
-
fromEncryptedKey(PrivateKey enc, String label, String pwd, Address addr, String salt, { ScryptParams params })
→ Future<Account>
-
-
fromKeystore(Keystore ks, String pwd)
→ Future<Account>
-
-
fromMnemonic(String mnemonic, String pwd, { String label, ScryptParams params })
→ Future<Account>
-
-
fromWif(String wif, String pwd, { String label, ScryptParams params })
→ Future<Account>
-
-
randomLabel()
→ Future<String>
-