# sapling-tools

> This module is build around https://github.com/zcash/librustzcash Is meannt to provide some basic needed functionality to Zcash Sapling cryptography such as

Latest version **0.1.0** (published 2020-12-17) · 0 weekly downloads

## Install

```sh
npm install sapling-tools
pnpm add sapling-tools
yarn add sapling-tools
bun add sapling-tools
```

## Health

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

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2020-12-17 |
| First published | 2020-12-17 |
| Weekly downloads | 0 |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 162.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | thetrunk |

## Links

- npm: https://www.npmjs.com/package/sapling-tools
- npm.io page: https://npm.io/package/sapling-tools

## Recent versions

- 0.1.0 (latest) — 2020-12-17

## README

# Sapling Tools

This module is build around https://github.com/zcash/librustzcash
Is meannt to provide some basic needed functionality to Zcash Sapling cryptography such as

- Address Generation

## 🚴 Usage
```
npm i sapling-tools
const saplingTools = require('sapling-tools');
const derivedAddress = await saplingTools.get_zaddr("myamazingseedphrase", 32, 133, 0, "secret-extended-key-main", "zxviews", "zs");
const address = derivedAddress.address;
const privateKey = derivedAddress.private_key;
const viewingKey = derivedAddress.viewing_key;
```

### 🛠️ Build with `wasm-pack build`

```
wasm-pack build --target bundler --release --out-name index
```

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