Class: BIP340InitKeygenResult
An BIP340 key init result, generated by the BIP340.keygenInit
function.
It contains a base58 string keygenId that must be provided to other parties we intend to perform keygen with.
It also contains a hex string of the secret keygen value that must be used during keygen.
Constructors
constructor
• new BIP340InitKeygenResult(keygenId
, keygenSecret
): BIP340InitKeygenResult
Parameters
Name | Type | Description |
---|---|---|
keygenId | string | A base58 string that is a public value that should be provided to other parties we intend to perform keygen with. |
keygenSecret | string | A hex string that represents a secret value that must be provided when participating in keygen. |
Returns
A new BIP340InitKeygenResult object
Properties
keygenId
• keygenId: string
keygenSecret
• keygenSecret: string