Closed ChaitanyaKonda closed 2 years ago
Definition of Done
PS: Effort to be defined in terms of time required
Submitted feature request to Zokrates to integrate MPC ceremony. The integration of Powers of Tau has to be tightly coupled rather than generating MPC based randomness separately and feed that into setup phase because whoever running the setup would see the final randomness and thus have a backdoor.
Alternatively , snarkjs
is another js implmentation of zksnark. It supports Groth16
and plonk
but not GM17
.
snarkjs
provides tools for conducting trusted setup multi-party ceremonies: including the universal powers of tau ceremony
, and the second phase circuit specific ceremonies.
Testing snarkjs
Performed MPC phase 1 and phase 2 ceremony and generated keys
For 2^21
constraints , each contribution execution took about 16 minutes.
Listing pros and cons of Zokrates and snarkjs for NF3
Zokrates
Pros
Cons
Snarkjs
Pros
Cons
Also note that moving to Groth16 from GM17 is better for performance if inherent malleability of Groth16 is handled in NF circuits.
Best approach for now seem to be integrating MPC setup to Zokrates
Research