The examples folder located in the root of this repository contains a collection of fully deployed verifier examples.
Each example includes:
.wasm, .zkey, verifier.sol)You can explore these examples to understand:
This directory serves as a practical guide for developers integrating the zkarb-sdk into real projects.
The following example folders are present at the root-level examples/ directory:
ageCheckThis example demonstrates a simple age verification circuit where a prover can prove that they satisfy an age condition without revealing the actual age.
Contents include:
.r1cs, .wasm)verifier.sol)deployment.json containing addresses of all deployed contracts related to this example📄 Deployment Details:
➡️ View ageCheck deployments
hashThis example showcases hashing inside a zero-knowledge circuit and demonstrates how hash-based constraints can be verified on-chain using the generated verifier.
Contents include:
.wasm and .r1cs filesdeployment.json containing deployed contract addresses for this example📄 Deployment Details:
➡️ View hash deployments
multiplierThis example focuses on arithmetic constraints by proving correct multiplication within a zero-knowledge circuit and verifying it on-chain.
Contents include:
.wasm, .r1cs, and proving keysdeployment.json containing contract deployment information📄 Deployment Details:
➡️ View multiplier deployments
All example directories follow a consistent structure and include:
.r1cs, .wasm)verifier.sol)deployment.json file that records:
These deployment files act as the single source of truth for verifying on-chain deployments corresponding to each example.