From 89d933515827858452aed4b000e4fb4eb95a360e Mon Sep 17 00:00:00 2001 From: Jose Date: Thu, 14 Oct 2021 20:19:13 +0200 Subject: [PATCH] (starting) to adapt README to new circom --- README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 560b74d..96b22b4 100644 --- a/README.md +++ b/README.md @@ -221,9 +221,11 @@ Before we go ahead and create the circuit, we perform a final check and verify t ### 9. Create the circuit ```sh cat < circuit.circom +pragma circom 2.0.0; + template Multiplier(n) { - signal private input a; - signal private input b; + signal input a; + signal input b; signal output c; signal int[n]; @@ -304,7 +306,7 @@ We export `r1cs` to `json` format to make it human readable. Currently, snarkjs supports 2 proving systems: groth16 and PLONK. -Groth16 requires a trusted ceremony for each circuit. PLONK does not require it, it's enought with the powers of tau ceremony which is universal. +Groth16 requires a trusted ceremony for each circuit. PLONK does not require it, it's enough with the powers of tau ceremony which is universal. #### Plonk ```sh