Risc Zero
Last updated
Last updated
This documentation portal is currently undergoing updates to align with the IoTeX 2.0 Whitepaper release. Information provided here may be incomplete, or out-of-date. Please use this portal for preliminary reference only, and check out the official IoTeX 2.0 Whitepaper for updated information.
.2024 | IoTeX
This section of the documentation explains how to create a W3bstream ZK prover using Risc Zero as the ZK framework.
Start by cloning the W3bstream repository, where you can start from a template prover:
Open the folder in a code editor and make the required modifications based on your actual data message.
Learn more about developing Risc Zero provers:
The prover bytecode is saved in a file named methods.rs
inside the release
folder. The correct path is logged at the end of the build:
The method.rs
file also includes the image ID of the prover that is needed by the verifier when verifying a proof:
.