ExtendedPublicKey class

An extended public key as defined by the BIP32 specification.

In the lingo of the spec this is a (K, c). This can be used to generate further public child keys only.

Inheritance

Constructors

ExtendedPublicKey({required ECPoint q, required Uint8List version, required int depth, required int childNumber, required Uint8List chainCode, required Uint8List parentFingerprint})
ExtendedPublicKey.deserialize(Uint8List input)
factory

Properties

chainCode Uint8List
32 bytes
finalinherited
childNumber int
finalinherited
depth int
finalinherited
fingerprint Uint8List
Returns the first 4 bytes of the hash160 compressed public key.
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
parentFingerprint Uint8List
4 bytes
finalinherited
publicKey ExtendedPublicKey
Returns the public key assocated with the extended key.
no setteroverride
q → ECPoint
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
version Uint8List
4 bytes
finalinherited

Methods

derive(int childNumber) ExtendedPublicKey
override
forPath(String path) ExtendedKey
Derives a key based on a path.
inherited
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.
inherited
verifyChecksum(Uint8List externalChecksum) bool
Used to verify deserialized keys.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited