Overview
For example code of composition in action, please see the Proof Composition Example
- A proof that block
nis valid - You want to prove that both blocks
nandn+1are valid
n, you can:
- Use the existing proof of block
n - Prove only block
n+1under the assumption thatnis valid - Resolve this assumption by verifying the previous proof within your new proof
How Composition Works
Proof composition works by:- Requesting a raw Groth16 proof from the Boundless Market
- Using this proof as input to a new zkVM guest program
- Verifying the proof within the guest program
- Building upon the verified result to prove new statements