Generate o1js proofs
Instructions to generate o1js proofs from Risc Zero proofs and then verify the o1js proofs in a Mina smart contract.
End-to-end example
There's an end-to-end example in scripts/risc_zero_example
which does the following:
Sets the required environment variables (verifier keys, public inputs, etc) using data from the provided Risc Zero proofs.
Generates o1js proofs that verify the Risc Zero proof.
Verifies the o1js proof inside a sample Mina zkapp.
To run the example, execute the e2e_risc_zero.sh
script:
To run this end-to-end test with your own Risc Zero proofs, replace risc_zero_proof.json
and risc_zero_raw_vk.json
with appropriate values.
Last updated