[**@sodot/sodot-react-native-sdk**](/rn/api-ref) • **Docs**

***

[@sodot/sodot-react-native-sdk](/rn/api-ref) / Sr25519InitKeygenResult

# Class: Sr25519InitKeygenResult

An Sr25519 key init result, generated by the `Sr25519.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 Sr25519InitKeygenResult()

> **new Sr25519InitKeygenResult**(`keygenId`, `keygenSecret`): [`Sr25519InitKeygenResult`](/rn/api-ref/classes/Sr25519InitKeygenResult)

#### 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

[`Sr25519InitKeygenResult`](/rn/api-ref/classes/Sr25519InitKeygenResult)

A new Sr25519InitKeygenResult object

## Properties

### keygenId

> **keygenId**: `string`

***

### keygenSecret

> **keygenSecret**: `string`
