Wallet class
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getAccountId(
{int index = 0}) → Future< String> -
getKeyPair(
{int index = 0}) → Future< KeyPair> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent 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-word mnemonic depending on
language
, defaults to LANGUAGE_ENGLISH. -
generate18WordsMnemonic(
{String language = LANGUAGE_ENGLISH}) → Future< String> -
Generates an 18-word mnemonic depending on
language
, defaults to LANGUAGE_ENGLISH. -
generate24WordsMnemonic(
{String language = LANGUAGE_ENGLISH}) → Future< String> -
Generates a 24-word 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.