ECPair class
Constructors
- ECPair(Uint8List? _d, Uint8List? _Q, {NetworkType network = mainnet, bool compressed = true})
- ECPair.fromPrivateKey(Uint8List privateKey, {NetworkType network = mainnet, bool compressed = true})
-
factory
- ECPair.fromPublicKey(Uint8List publicKey, {NetworkType network = mainnet, bool compressed = true})
-
factory
-
ECPair.fromWIF(String w, {Map<
int, NetworkType> networks = networks}) -
factory
- ECPair.makeRandom({NetworkType network = mainnet, bool compressed = true, Function? rng})
-
factory
Properties
- compressed ↔ bool
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- network ↔ NetworkType
-
getter/setter pair
- privateKey → Uint8List?
-
no setter
- publicKey → Uint8List?
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited