BIP32 class
A BIP32 compatible library for Flutter writing by Dart.
Constructors
- BIP32(Uint8List? _d, Uint8List? _q, Uint8List chainCode, NetworkType network)
- BIP32.fromBase58(String string, [NetworkType? nw])
-
From Base58
factory
- BIP32.fromPrivateKey(Uint8List privateKey, Uint8List chainCode, [NetworkType? nw])
-
From Private Key
factory
- BIP32.fromPublicKey(Uint8List publicKey, Uint8List chainCode, [NetworkType? nw])
-
From Public Key
factory
- BIP32.fromSeed(Uint8List seed, [NetworkType? nw])
-
From Seed
factory
Properties
- chainCode ↔ Uint8List
-
Chain Code
getter/setter pair
- depth ↔ int
-
Depth
getter/setter pair
- fingerprint → Uint8List
-
Finger Print
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- identifier → Uint8List
-
Identifier
no setter
- index ↔ int
-
Index
getter/setter pair
- network ↔ NetworkType
-
Network
getter/setter pair
- parentFingerprint ↔ int
-
Parent Finger Print
getter/setter pair
- privateKey → Uint8List?
-
Get Private Key
no setter
- publicKey → Uint8List
-
Get Public Key
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
derive(
int index) → BIP32 - Derive Child
-
deriveHardened(
int index) → BIP32 - Derive Hardened
-
derivePath(
String path) → BIP32 - Derive Path
-
isNeutered(
) → bool - Check is neutered
-
neutered(
) → BIP32 - Convert to neutered BIP32
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
sign(
Uint8List hash) → dynamic - Sign hash
-
toBase58(
) → String - Private Key To Base58
-
toString(
) → String -
A string representation of this object.
inherited
-
toWIF(
) → String -
Private Key to
WIF
-
verify(
Uint8List hash, Uint8List signature) → dynamic - Verify Signature
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited