HarryR / ethsnarks

A toolkit for viable zk-SNARKS on Ethereum, Web, Mobile and Desktop
GNU Lesser General Public License v3.0
241 stars 57 forks source link

Use groth16 prover / verifier #4

Closed HarryR closed 6 years ago

HarryR commented 6 years ago

This requires using the ZoKrates fork of libsnark or bellman:

Work needed to support this:

If the new one is groth16 the old one is grothN?, what year was his paper put out that specified the method which uses many more pairings.

Schaeff commented 6 years ago

Hey two cents on this:

HarryR commented 6 years ago

I have added support for this on the following ethsnarks branch: https://github.com/HarryR/ethsnarks/tree/groth16-eth1

The C++ side is done, some of the Python side is done, need to verify the Python side and then update all the on-chain bits.

But... it's looking possible, pending a more thorough review.

HarryR commented 6 years ago

This has been merged.