Skip to main content
Version: 1.2.1

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

NameTypeDescription
pubkeyEcdsaPublicKeyAn EcdsaPublicKey
secretSharestringA hex string that represents the secret share created during key generation.

Returns

EcdsaKeygenResult

A new EcdsaKeygenResult object

Properties

pubkey

pubkey: EcdsaPublicKey


secretShare

secretShare: string