pepper-project / pequin

A system for verifying outsourced computations, and applying SNARKs. Simplified release of the main Pepper codebase.
Other
122 stars 46 forks source link

Allowing to export unprocessed verification key #24

Closed fleupold closed 5 years ago

fleupold commented 5 years ago

In order to convert the verification key into a format suitable to verify the computation on the ethereum blockchain, we need to have access to the unprocessed verification key.

Currently, Pepper only exports the processed verification key. This change makes so that if we provide a fourth argument to the ./pepper_compile_and_setup_V.sh, it will write the unprocessed verification key into that file. I will create a separate repo that will contain a script to convert this file into a smart contract verifier.

I tested the change both with 4 as well as 3 parameters.