From e512b8ab5f731e3e353a2423d2196f0d7da54623 Mon Sep 17 00:00:00 2001 From: adityapk00 <31996805+adityapk00@users.noreply.github.com> Date: Fri, 19 Jul 2019 09:39:23 -0700 Subject: [PATCH] Update README.md --- web/README.md | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/web/README.md b/web/README.md index dbb8011..56287d9 100644 --- a/web/README.md +++ b/web/README.md @@ -3,11 +3,17 @@ The paper wallet generator [is hosted at paper.zecwallet.co](https://paper.zecwa This is a web version of the Zec Sapling Paper Wallet generator. It's mainly for illustrative purposes. If you want to generate a serious offline paper wallet, you should run [zecpaperwallet](https://github.com/adityapk00/zecpaperwallet) offline. -### Running locally +## Installing wasm-pack You can run the web wallet locally. You need to install the following first: -1. Rust 1.32+ -2. wasm-build -3. nodejs / npm +1. [Rust 1.32+](https://www.rust-lang.org/tools/install) +2. [nodejs / npm](https://www.npmjs.com/get-npm) +3. wasm-pack +``` +cargo install wasm-pack +``` + +### Running locally +You can run the web wallet locally. ``` cd zecpaperwallet/web @@ -17,4 +23,4 @@ npm install npm run start ``` -This will start a local web server at `localhost:8080` where you can access the paper wallet \ No newline at end of file +This will start a local web server at `localhost:8080` where you can access the paper wallet