Skip to main content
Version: 1.0.5

@sodot/sodot-react-native-sdkDocs


@sodot/sodot-react-native-sdk / EcdsaKeygenResult

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

new EcdsaKeygenResult()

new EcdsaKeygenResult(pubkey, secretShare): EcdsaKeygenResult

Parameters

pubkey: EcdsaPublicKey

An EcdsaPublicKey

secretShare: string

A hex string that represents the secret share created during key generation.

Returns

EcdsaKeygenResult

A new EcdsaKeygenResult object

Properties

pubkey

pubkey: EcdsaPublicKey


secretShare

secretShare: string