# stellar-keypair-from-seed

> This package will help you generate Stellar's Ed25519 keypair by the provided seed. As long as the seed is consistent, your keypair will always be the same.

Latest version **1.0.0** (published 2019-04-18) · ISC license · 0 weekly downloads

## Install

```sh
npm install stellar-keypair-from-seed
pnpm add stellar-keypair-from-seed
yarn add stellar-keypair-from-seed
bun add stellar-keypair-from-seed
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2019-04-18 |
| First published | 2019-04-18 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 1.8 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Author | Ichhim |
| Maintainers | him-ich |
| Keywords | sabay-digital, stellar-keypair |

## Links

- npm: https://www.npmjs.com/package/stellar-keypair-from-seed
- Repository: https://github.com/ichhim/stellar-keypair-from-seed
- Issues: https://github.com/ichhim/stellar-keypair-from-seed/issues
- npm.io page: https://npm.io/package/stellar-keypair-from-seed

## Dependencies (3)

- [stellar-sdk](https://npm.io/package/stellar-sdk.md) ^0.15.0
- [text-encoding](https://npm.io/package/text-encoding.md) ^0.7.0
- [crypto-browserify](https://npm.io/package/crypto-browserify.md) ^3.12.0

## Recent versions

- 1.0.0 (latest) — 2019-04-18

## README

# stellar-keypair-from-seed

This package will help you generate Stellar's Ed25519 keypair by the provided seed. As long as the seed is consistent, your keypair will always be the same.

## Installation

Using npm:

```sh
npm install stellar-keypair-from-seed
```

## Examples

To derive keypair from a seed:

```javascript
var keypair = require('stellar-keypair-from-seed');

const seed = 'abc@email.com';

// to derive a keypair by the above seed
const keypairFromSeed = keypair(seed);

// to get the public key
keypairFromSeed.publicKey();

// to get the secret key
keypairFromSeed.secret();
```

---
_Source: https://npm.io/package/stellar-keypair-from-seed · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
