Class: EcdsaKeygenResult
An ECDSA key generation result, generated by the Ecdsa.keygen
function.
It contains an EcdsaPublicKey that can be used to derive addresses from.
It also contains a hex string of the secret share itself.
This must be kept secret! Note this data is not stored by the SDK itself.
Constructors
constructor
• new EcdsaKeygenResult(pubkey
, secretShare
): EcdsaKeygenResult
Parameters
Name | Type | Description |
---|---|---|
pubkey | EcdsaPublicKey | An EcdsaPublicKey |
secretShare | string | A hex string that represents the secret share created during key generation. |
Returns
A new EcdsaKeygenResult object
Properties
pubkey
• pubkey: EcdsaPublicKey
secretShare
• secretShare: string