Skip to main content
Version: 1.2.1

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

NameTypeDescription
keygenIdstringA base58 string that is a public value that should be provided to other parties we intend to perform keygen with.
keygenSecretstringA hex string that represents a secret value that must be provided when participating in keygen.

Returns

BIP340InitKeygenResult

A new BIP340InitKeygenResult object

Properties

keygenId

keygenId: string


keygenSecret

keygenSecret: string