File tree Expand file tree Collapse file tree 3 files changed +30
-0
lines changed
Expand file tree Collapse file tree 3 files changed +30
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " @ledgerhq/zcash-decrypt " : patch
3+ ---
4+
5+ docs: document installation and usage
Original file line number Diff line number Diff line change @@ -4,6 +4,25 @@ WebAssembly module for decrypting Zcash shielded transactions.
44
55## Getting Started
66
7+ ### Installation
8+ ``` bash
9+ # npm
10+ npm install -s @ledger/zcash-decrypt
11+
12+ # pnpm
13+ pnpm add @ledger/zcash-decrypt
14+ ```
15+
16+ ### Usage
17+
18+ ``` typescript
19+ import { decrypt_tx } from " @ledgerhq/zcash-decrypt" ;
20+
21+ const decrypted = decrypt_tx (rawHexTransaction , viewingKey );
22+ ```
23+
24+ ## Developing
25+
726### Requirements
827
928``` bash
Original file line number Diff line number Diff line change 33 "collaborators" : [
44 " Alessandro Vito <alessandro.vito-ext@ledger.fr>"
55 ],
6+ "keywords" : [
7+ " Ledger" ,
8+ " zec" ,
9+ " zatoshi" ,
10+ " ZCash"
11+ ],
612 "version" : " 0.1.0" ,
713 "license" : " MIT AND Apache-2.0" ,
814 "repository" : {
You can’t perform that action at this time.
0 commit comments