The noir-examples/ directory contains circuits that exercise ProveKit’s compiler and proving pipeline. Some are minimal demos; others are stress tests, primitive libraries, or real-world workflows used to benchmark and validate the system end-to-end.
These are not single runnable circuits. They’re Noir libraries (type = "lib") or multi-package workspaces. Read them as reference implementations or pull them in as dependencies.
Example
Shape
What it demonstrates
babyjubjub
Library
Baby Jubjub curve operations, the standard curve for in-circuit ECC over BN254.
eddsa_poseidon2
Library
EdDSA signature verification using Poseidon2 for hashing.
partial_sha256
Library
SHA-256 with a partial preimage, for incremental-hashing patterns.
noir-native-sha256
Library
Reference SHA-256 implementation via noir-lang/sha256.
noir-passport
Workspace (merkle_age_check, utils)
Passport-style credential building blocks.
noir-passport-examples
Workspace
Variations of the passport flow demonstrating different selective-disclosure patterns.
noir-passport-monolithic
Workspace
Single-circuit version of the passport workflow. Useful for understanding the full constraint cost.
Prover.toml is the only file you typically edit to change what’s being proven. The circuit is fixed; the inputs vary per proof. To inspect what a verified proof actually exposes:
Pull requests adding new example circuits are welcome. Keep them minimal, focused on one primitive, and accompanied by a Prover.toml that produces a verifiable proof out of the box.