You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9-12Lines changed: 9 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,30 +24,27 @@ This phase is circuit-specific, so if you have `n` circuits, then you need to ru
24
24
25
25
### snarkjs Powers of Tau deserialization
26
26
27
-
Download the power 27 `.ptau` file from the [`snarkjs` repository](https://github.com/iden3/snarkjs#7-prepare-phase-2) by running the following command:
27
+
Download the Powers of Tau () (`.ptau`) file you need corresponding to the amount of constraints in your circuit from the [`snarkjs` repository](https://github.com/iden3/snarkjs#7-prepare-phase-2).
For larger or smaller `.ptau` files, check out the `snarkjs` repository's [README](https://github.com/iden3/snarkjs/tree/master#7-prepare-phase-2) for more information.
34
-
35
-
Remember that you need sufficiently high powers of tau ceremony to generate a proof for a circuit with a given amount of constraints:
29
+
Remember that you need sufficiently high powers of tau ceremony to generate a proof for a circuit with a given amount of constraints ($2^{POW_OF_TAU} >= CIRCUIT_CONSTRAINTS$):
36
30
37
31
Import phase 1 by deserializing a .ptau file: `semaphore-mtb-setup p1i <ceremony.ptau> <lastPhase1Contribution.ph1>`.
38
32
39
33
To get a sample r1cs file from `semaphore-mtb`, checkout the [`semaphore-mtb` repository](https://github.com/worldcoin/semaphore-mtb.git) and run the following command:
@@ -73,7 +70,7 @@ This is a sequential process that will be repeated for each contributor.
73
70
74
71
## Keys Extraction
75
72
76
-
At the end of the ceremony, the coordinator runs `semaphore-mtb-setup keys <lastPhase2Contribution.ph2>` which will output **Groth16 bn254 curve**`pk` and `vk` files
73
+
At the end of the ceremony, the coordinator runs `semaphore-mtb-setup key <lastPhase2Contribution.ph2>` which will output **Groth16 bn254 curve**`pk` and `vk` files
0 commit comments