Setup Instructions
This guide explains how to set up the ZK circuits and keys required for the ZK Identity System.Validators: You must use the verification keys committed in the repository to ensure consensus compatibility.
Prerequisites
- Bun runtime
- Dependencies installed (
bun install)
Quick Setup
Run the automated setup script to download the Powers of Tau ceremony file, compile circuits, and generate keys:- Download Powers of Tau file (~140MB)
- Compile Circom circuits
- Generate proving (
.zkey) and verification keys
Directory Structure
The ZK files are located insrc/features/zk/:
Git Policy
Theverification_key.json is the trust anchor. All nodes must use the exact same file to verify proofs correctly.