Wallet class
Properties
- adressBytes ↔ Uint8List
-
getter/setter pair
- adressString ↔ String
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- priv ↔ Uint8List
-
getter/setter pair
- pub ↔ Uint8List
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
sign(
Uint8List msgHash) → Uint8List -
toString(
) → String -
A string representation of this object.
inherited
-
verifySignature(
Uint8List msgHash, Uint8List sig) → bool -
verify if the signature
sig
and message hashmsgHash
were signed by the privte key of this wallet
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromKeystore(
String keyStore, String password) → Wallet -
Generate Wallet from
keyStore
keyStore
is a jsonString -
fromMnemonic(
List< String> words) → Wallet - Generate Wallet from Mnemonic phrase
-
newWallet(
) → Wallet - create new wallet from scratch