open-index/open-npm huggingface dataset:
npm package: @siriusid-next/sirius-ed25519-key
Description: ## Description
Latest version: 1.0.0

# @siriusid-next/sirius-ed25519-key

## Description

Custom Ed25519 Key Pair for SiriusId

## Installation

npm 

```
npm i siriusid-ed25519-key --save
```

yarn

```
yarn add siriusid-ed25519-key
```

## Usage examples

Generate from seed

```ts
const key = await SiriusEd25519KeyPair.generate({
  seed: Buffer.from(
    '9b937b81322d816cfab9d5a3baacc9b2a5febe4b149f126b3630f93a29527017',
    'hex'
  )});
```

Generate from mnemonic

```ts
const key = await SiriusEd25519KeyPair.generateFromMnemonic({
   mnemonic: 'fish palm fall kick undo fine match welcome early three once unfair', 
   index: 0
   });
```