mirror of
https://github.com/arnaucube/circom.git
synced 2026-02-07 03:06:42 +01:00
Fix tutorial
This commit is contained in:
@@ -16,7 +16,6 @@ Run:
|
|||||||
|
|
||||||
```sh
|
```sh
|
||||||
npm install -g circom
|
npm install -g circom
|
||||||
npm install -g circom_runtime
|
|
||||||
npm install -g snarkjs
|
npm install -g snarkjs
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -136,10 +135,6 @@ Now let's calculate the witness:
|
|||||||
snarkjs calculatewitness --wasm circuit.wasm --input input.json --witness witness.json
|
snarkjs calculatewitness --wasm circuit.wasm --input input.json --witness witness.json
|
||||||
```
|
```
|
||||||
|
|
||||||
`calcwit` is part of the circom_runtime package and it's just a wrapper in JS to call the wasm module.
|
|
||||||
|
|
||||||
You can use `circom_runtime` from your own project to calulate the witness.
|
|
||||||
|
|
||||||
You may want to take a look at `witness.json` file with all the signals.
|
You may want to take a look at `witness.json` file with all the signals.
|
||||||
|
|
||||||
### Create the proof
|
### Create the proof
|
||||||
|
|||||||
Reference in New Issue
Block a user