# keyvenant

> Keyvenant is a JavaScript tool to generate and export CovenantSQL keys to facilitate key management locally and in web extensions.

Latest version **0.0.1** (published 2019-01-14) · MIT license · 0 weekly downloads

## Install

```sh
npm install keyvenant
pnpm add keyvenant
yarn add keyvenant
bun add keyvenant
```

## Health

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

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

Warnings: low downloads; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1 |
| Published | 2019-01-14 |
| First published | 2019-01-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=8.9 |
| Dependencies | 5 |
| Unpacked size | 257.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | yes |
| GitHub stars | 1 |
| Maintainers | chenxi.zhang |

## Links

- npm: https://www.npmjs.com/package/keyvenant
- Repository: https://github.com/CovenantSQL/keyvenant
- Homepage: https://github.com/CovenantSQL/keyvenant#readme
- Issues: https://github.com/CovenantSQL/keyvenant/issues
- npm.io page: https://npm.io/package/keyvenant

## Dependencies (5)

- [sha.js](https://npm.io/package/sha.js.md) ^2.4.11
- [blakejs](https://npm.io/package/blakejs.md) ^1.1.0
- [secp256k1](https://npm.io/package/secp256k1.md) ^3.6.0
- [coinstring](https://npm.io/package/coinstring.md) ^2.3.0
- [crypto-browserify](https://npm.io/package/crypto-browserify.md) ^3.12.0

## Recent versions

- 0.0.1 (latest) — 2019-01-14

## README

# keyvenant

Keyvenant is a JavaScript tool to generate and export CovenantSQL keys to facilitate key management locally and in web extensions.

## keystore
example:
```
keystore:
{
  "address": "4k1iCM4a3D3FVmEQ4DokcsZt3ikRu6fJHbwaDrEdPVuRbQBDnC5",
  "encrypted": "MZdus3mQcfCTr448CNUgzVTyDZrDQC3UARTdJvKkh8ZGNVHEQakjZ8y4vFsbYL9gzSw9tA42ip3Ay9H9PKwQ367C2hvZ8k",
  "mac": "5e8e7c4f010e4e4681c77cdbc1a2c310048b4516a606278c32126f9d7780b88e",
  "crypto": {
    "cipher": "aes-256",
    "ciphertext": "39d028d77290ddf857e693655c11b399c24d8dd07e2a6b5b4ba0f28898687ffa8df3dcd096625ad5335c2a033607781b",
    "iv": "9c07efc4250fd585369b0de7e9783f32"
  },
  "derivation": {
    "kdf": "sha256x2",
    "salt": "61757874656e2d6b65792d73616c742d61757874656e"
  },
  "version": 35
}

private key:
61dcd9f332a39f47f71434306d82e7f04dc04271170fd5902f357770085d6e48
```

- try create & recover with `yarn dev`

## Docs
[Keyvenant TypeDoc](https://covenantsql.github.io/keyvenant/)

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