Skip to main content
Version: 1.2.1

@sodot/sodot-react-native-sdkDocs


@sodot/sodot-react-native-sdk / BIP340InitKeygenResult

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

new BIP340InitKeygenResult()

new BIP340InitKeygenResult(keygenId, keygenSecret): BIP340InitKeygenResult

Parameters

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

BIP340InitKeygenResult

A new BIP340InitKeygenResult object

Properties

keygenId

keygenId: string


keygenSecret

keygenSecret: string