From dcc7123b83789f3f11e65c856a70238dc6d300e4 Mon Sep 17 00:00:00 2001 From: Alexey Date: Thu, 30 Apr 2020 12:57:52 +0300 Subject: [PATCH] update docs --- README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 69f9124..74e5191 100644 --- a/README.md +++ b/README.md @@ -88,11 +88,10 @@ Example: `wasm-pack build --release --target web -- --no-default-features --feat 1. `cargo run --release --bin generate_verifier result.params Verifier.sol` 1. `git clone git@github.com:tornadocash/tornado-core.git` 1. `cd tornado-core && git checkout phase2` -1. Copy `transformed_pk.json`, `vk.json` and `Verifier.sol` to `tornado-core` project to the `build/circuits` folder. -1. Change solidity version to 0.5.17 in `Verifier.sol` -1. `npm run build:circuit:compile` +1. Copy `transformed_pk.json`, `vk.json`, `circuit.json` and `Verifier.sol` to `tornado-core` project to the `build/circuits` folder. 1. `mv transformed_pk.json withdraw_proving_key.json` 1. `mv vk.json withdraw_verification_key.json` +1. `mv circuit.json withdraw.json` 1. `npm i` 1. `npm run build:circuit:bin` 1. That's it you can use `Verifier.sol`, `withdraw.json`, `withdraw_verification_key.json` and `withdraw_proving_key.bin` to deploy contract and the UI.