ExtendedKey class abstract
Abstract class on which ExtendedPrivateKey and ExtendedPublicKey are based.
- Implementers
Constructors
- ExtendedKey({required Uint8List version, required int depth, required int childNumber, required Uint8List chainCode, required Uint8List parentFingerprint})
- ExtendedKey.deserialize(String key)
-
Take a HD key serialized according to the spec and deserialize it.
factory
Properties
- chainCode → Uint8List
-
32 bytes
final
- childNumber → int
-
final
- depth → int
-
final
- fingerprint → Uint8List
-
Returns the first 4 bytes of the hash160 compressed public key.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- parentFingerprint → Uint8List
-
4 bytes
final
- publicKey → ExtendedPublicKey
-
Returns the public key assocated with the extended key.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- version → Uint8List
-
4 bytes
final
Methods
-
derive(
int childNumber) → ExtendedKey -
forPath(
String path) → ExtendedKey - Derives a key based on a path.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
Returns the string representation of this extended key. This can be
written to disk for future deserializion.
override
-
verifyChecksum(
Uint8List externalChecksum) → bool - Used to verify deserialized keys.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited