Wallet class

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

getAccountId({int index: 0}) String
getKeyPair({int index: 0}) KeyPair
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

from(String mnemonic, {String language: LANGUAGE_ENGLISH, String passphrase: ''}) Wallet
fromBip39HexSeed(String hex) Wallet
fromBip39Seed(Uint8List seed) Wallet
generate(int strength, {String language: LANGUAGE_ENGLISH}) String
generate12WordsMnemonic({String language: LANGUAGE_ENGLISH}) String
Generates a 12 words mnemonic depending on language, defaults to LANGUAGE_ENGLISH.
generate24WordsMnemonic({String language: LANGUAGE_ENGLISH}) String
Generates a 24 words mnemonic depending on language, defaults to LANGUAGE_ENGLISH.
validate(String mnemonic, {String language: LANGUAGE_ENGLISH}) bool
Validates a mnemonic depending on language, defaults to LANGUAGE_ENGLISH.