# near-seed-phrase

> Utilities to work with NEAR Protocol key pairs based on seed phrases

Latest version **0.2.1** (published 2024-08-01) · MIT license · 0 weekly downloads

## Install

```sh
npm install near-seed-phrase
pnpm add near-seed-phrase
yarn add near-seed-phrase
bun add near-seed-phrase
```

## Health

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

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.1 |
| Published | 2024-08-01 |
| First published | 2020-01-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 4 |
| Unpacked size | 1.5 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | frol, nearvlad, agileurbanite, mikedotexe, volovyk-s, austinbaggio |

## Links

- npm: https://www.npmjs.com/package/near-seed-phrase
- npm.io page: https://npm.io/package/near-seed-phrase

## Dependencies (4)

- [bs58](https://npm.io/package/bs58.md) ^4.0.1
- [tweetnacl](https://npm.io/package/tweetnacl.md) ^1.0.2
- [bip39-light](https://npm.io/package/bip39-light.md) ^1.0.7
- [near-hd-key](https://npm.io/package/near-hd-key.md) ^1.2.1

## Recent versions

- 0.2.1 (latest) — 2024-08-01
- 0.2.0 — 2021-05-07
- 0.1.1 — 2021-02-09
- 0.1.0 — 2020-09-15
- 0.0.2 — 2020-01-17

## README

# NEAR Seed Phrase

This tool enables creating and converting mnemonic-phrases, public key and private key for NEAR accounts.

### Install
```js
npm i near-seed-phrase
```

### Usage
```js
const { parseSeedPhrase, generateSeedPhrase } = require('near-seed-phrase');

// to create a seed phrase with its corresponding Keys
const {seedPhrase, publicKey, secretKey} = generateSeedPhrase()

// To recover keys from the seed phrase
const { publicKey, secretKey } = parseSeedPhrase(seedPhrase);
```

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