DkgPart1 class

The first step to generate a distributed FROST key. This contains a secret and a public commitment, the latter of which is to be shared between all other participants.

Constructors

DkgPart1.new({required Identifier identifier, required int threshold, required int n})
Starts the DKG process for the participant with the identifier and a threshold of n signing scheme. There must be at least 2 signers with a threshold of at least 2. The threshold cannot exceed n.

Properties

hashCode int
The hash code for this object.
no setterinherited
public DkgPublicCommitment
The public commitment that must be shared to all other participants
latefinal
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
secret DkgRound1Secret
The secret object that is required for round 2 but must be kept secret by the participant and shared with no-one else. secret.dispose() may be called once the secret is no longer needed.
latefinal

Methods

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