LegacyKeyshare class

Party one keyshare (part of distributed key).

Constructors

LegacyKeyshare({required String keyId, required ScalarBytes secretShare, required PointBytes rootPublicKey, required U8Array32 rootChainCode})

Properties

hashCode int
The hash code for this object.
no setterinherited
keyId String
Key Id for this key share (derived from the root public key and root chain code) Base64(sha256(root_public_key || root_chain_code)), STANDARD_NO_PAD encoded
finalinherited
rootChainCode → U8Array32
finalinherited
rootPublicKey → PointBytes
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
secretShare → ScalarBytes
finalinherited

Methods

deriveChildPubkey({required String derivationPath}) Future<Uint8List?>
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

fromBytes(Uint8List bytes) Future<LegacyKeyshare>