Keep Zcash minimal
Push general-purpose computation to a Cairo VM on L2. Zcash verifies the proof via TZE and keeps consensus surface area tight.
Cypherpunk L2 Experiment
Ztarknet explores a Starknet-inspired rollup that anchors to Zcash L1 via a Transparent Zcash Extension (TZE) verifier. Programmable, privacy-native, and battle-ready for zero-knowledge maximalists.
Each state root lives in a TZE output. Spend prev anchor, prove the transition, mint the next root. Minimal surface, maximum verifiability.
Zcash shields what matters. Ztarknet adds programmable headroom without touching base-layer guarantees.
Zebra fork, Madara, and Stwo/Cairo glue together an end-to-end Rust pipeline for experimentation.
Why Ztarknet
Push general-purpose computation to a Cairo VM on L2. Zcash verifies the proof via TZE and keeps consensus surface area tight.
The draft ZIP introduces a Circle STARK verifier as a new TZE type. Full nodes validate proofs natively—no bespoke scripting, no hand-wavy trust assumptions.
Starknet tooling, account abstraction, and Cairo contracts become available to Zcash users while L1 privacy stays uncompromised.
How it fits together
root_k and
                root_{k+1}.
              PoC stack
A forked Zebra node hosts the draft TZE verifier, aligning with ZIP-222/245 to ensure transactions anchor proofs in canonical digests.
Explore the forkStarknet-compatible client providing JSON-RPC, state commitments, and mempool logic. The devnet spins up with a single command.
Check the clientCircle STARK prover stack validating Cairo execution traces for each L2 block. JSON workflows first, native integrations next.
Dive into StwoCustom Rust glue to bundle proofs and state roots into witness bytes that a Zebra node validates before minting the next anchor.
Read the draft ZIPImpact surface
Prove that a Zcash full node can verify Circle STARK proofs inside consensus rules, without exotic extensions or trusted relays.
Ship a Dockerized stack with Madara, Stwo/Cairo, and the Zebra fork so researchers can replay the entire loop locally.
Start minimal with state roots, then weigh on-chain DA, hybrid publishing, or validity rollup bridges for production hardening.
Deep dive