ExtendedKey class abstract
Abstract class on which ExtendedPrivateKey and ExtendedPublicKey are based.
- Implementers
Constructors
- ExtendedKey.new({Uint8List? version, int? depth, int? childNumber, Uint8List? chainCode, Uint8List? parentFingerprint})
- ExtendedKey.deserialize(String key)
-
Take a HD key serialized according to the spec and deserialize it.
factory
Properties
- chainCode ↔ Uint8List?
-
32 bytes
getter/setter pair
- childNumber ↔ int?
-
getter/setter pair
- depth ↔ int?
-
getter/setter pair
- 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
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- version → Uint8List?
-
4 bytes
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
privateKeyHex(
) → String -
publicKey(
) → ExtendedPublicKey - Returns the public key assocated with the extended key.
-
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