Overview
Circuit Types
Circuit
Purpose
Public Inputs
Gates
Directory Structure
circuits/
├── lib/ # Core cryptographic library
│ └── src/
│ ├── shielding.nr # Shielded action core logic
│ ├── note.nr # Note structure, commitment, encryption
│ ├── keys.nr # Key derivation (ViewingKey, ReceivingKey)
│ ├── merkle.nr # LeanIMT verification
│ ├── hash.nr # Poseidon2 hashing
│ ├── rlp.nr # EIP-1559 RLP encoding/decoding
│ └── fixtures.nr # Test fixtures
├── shielded_transfer/ # Transfer circuit
├── shielded_withdrawal/ # Withdrawal circuit (named "withdrawal")
├── shielded_swap/ # Swap circuit
├── receiving_key/ # Key derivation circuit
└── benchmarks/ # Constraint analysis circuitsBuild Process
Toolchain Requirements
Tool
Version
Circuit Dependencies
Last updated