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} ) → Future< String> -
getKeyPair(
{int index: 0} ) → Future< KeyPair> -
noSuchMethod(
Invocation invocation ) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
A string representation of this object. [...]
inherited
Operators
-
operator ==(
Object other ) → bool -
The equality operator. [...]
inherited
Static Methods
-
from(
String mnemonic, {String language: LANGUAGE_ENGLISH, String passphrase: ''} ) → Future< Wallet> -
fromBip39HexSeed(
String hex ) → Future< Wallet> -
fromBip39Seed(
Uint8List seed ) → Future< Wallet> -
generate(
int strength, {String language: LANGUAGE_ENGLISH} ) → Future< String> -
generate12WordsMnemonic(
{String language: LANGUAGE_ENGLISH} ) → Future< String> -
Generates a 12 words mnemonic depending on
language
, defaults to LANGUAGE_ENGLISH. -
generate24WordsMnemonic(
{String language: LANGUAGE_ENGLISH} ) → Future< String> -
Generates a 24 words mnemonic depending on
language
, defaults to LANGUAGE_ENGLISH. -
validate(
String mnemonic, {String language: LANGUAGE_ENGLISH} ) → Future< bool> -
Validates a mnemonic depending on
language
, defaults to LANGUAGE_ENGLISH.