<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <title>Midnight ZK Cookbook</title>
  <subtitle>17 production-ready ZK tutorials across Compact (Midnight), Leo (Aleo), Noir (Aztec), Cairo (Starknet), and risc0. Plus paid bundle + live bounty radar.</subtitle>
  <link href="https://battam1111.github.io/midnight-zk-cookbook/feed.xml" rel="self"/>
  <link href="https://battam1111.github.io/midnight-zk-cookbook/"/>
  <id>https://battam1111.github.io/midnight-zk-cookbook/</id>
  <author>
    <name>Battam1111</name>
    <uri>https://github.com/Battam1111</uri>
  </author>
  <updated>2026-06-03T18:15:15+00:00</updated>
  
  
  
  <entry>
    <title>Add zk-doctor to your ZK project&apos;s CI in 5 minutes</title>
    <link href="https://battam1111.github.io/midnight-zk-cookbook/tutorials/zk-doctor-github-action.html"/>
    <id>https://battam1111.github.io/midnight-zk-cookbook/tutorials/zk-doctor-github-action.html</id>
    <updated>2026-06-03T18:15:15+00:00</updated>
    <published>2026-06-03T18:15:15+00:00</published>
    <summary type="html">Install the zk-doctor GitHub Action, get diff-aware PR comments, and ship reproducible ZK builds.</summary>
    <author><name>Battam1111</name></author>
    <category term="cross"/>
  </entry>
  
  <entry>
    <title>Aztec Accounts vs Aleo Records; Privacy Models Deep Dive</title>
    <link href="https://battam1111.github.io/midnight-zk-cookbook/tutorials/aztec-aleo-privacy-models.html"/>
    <id>https://battam1111.github.io/midnight-zk-cookbook/tutorials/aztec-aleo-privacy-models.html</id>
    <updated>2026-06-03T18:15:15+00:00</updated>
    <published>2026-06-03T18:15:15+00:00</published>
    <summary type="html">Side-by-side: what is public, what is private, where you prove things, and which model fits which workload.</summary>
    <author><name>Battam1111</name></author>
    <category term="cross"/>
  </entry>
  
  <entry>
    <title>Building a Zero-Knowledge Identity Proof in Noir</title>
    <link href="https://battam1111.github.io/midnight-zk-cookbook/tutorials/noir-identity-proof.html"/>
    <id>https://battam1111.github.io/midnight-zk-cookbook/tutorials/noir-identity-proof.html</id>
    <updated>2026-06-03T18:15:15+00:00</updated>
    <published>2026-06-03T18:15:15+00:00</published>
    <summary type="html">Zero-knowledge identity primitive in Noir: prove you are in a set without revealing which member you are.</summary>
    <author><name>Battam1111</name></author>
    <category term="noir"/>
  </entry>
  
  <entry>
    <title>Compact Performance Patterns: Cutting Witness and Circuit Cost</title>
    <link href="https://battam1111.github.io/midnight-zk-cookbook/tutorials/304.html"/>
    <id>https://battam1111.github.io/midnight-zk-cookbook/tutorials/304.html</id>
    <updated>2026-06-03T18:15:15+00:00</updated>
    <published>2026-06-03T18:15:15+00:00</published>
    <summary type="html">Common Compact circuit hot spots and concrete patterns for reducing witness size, public input count, and proof time.</summary>
    <author><name>Battam1111</name></author>
    <category term="midnight"/>
  </entry>
  
  <entry>
    <title>Compact Type System Cheat Sheet for Midnight</title>
    <link href="https://battam1111.github.io/midnight-zk-cookbook/tutorials/289.html"/>
    <id>https://battam1111.github.io/midnight-zk-cookbook/tutorials/289.html</id>
    <updated>2026-06-03T18:15:15+00:00</updated>
    <published>2026-06-03T18:15:15+00:00</published>
    <summary type="html">Pre-flight reference for Compact types, ZK semantics, and circuit constraints when porting business logic to Midnight.</summary>
    <author><name>Battam1111</name></author>
    <category term="midnight"/>
  </entry>
  
  <entry>
    <title>Local Dev Loop for Midnight: Docker, compact-cli, and Reproducible Test Networks</title>
    <link href="https://battam1111.github.io/midnight-zk-cookbook/tutorials/295.html"/>
    <id>https://battam1111.github.io/midnight-zk-cookbook/tutorials/295.html</id>
    <updated>2026-06-03T18:15:15+00:00</updated>
    <published>2026-06-03T18:15:15+00:00</published>
    <summary type="html">Set up a reproducible local Midnight dev loop using the Compact CLI, Docker stack, and a deterministic test ledger.</summary>
    <author><name>Battam1111</name></author>
    <category term="midnight"/>
  </entry>
  
  <entry>
    <title>Multi-Party Private State: Contracts Between Two Users on Midnight</title>
    <link href="https://battam1111.github.io/midnight-zk-cookbook/tutorials/303-multi-party-private-state-and-contracts-between-two-users.html"/>
    <id>https://battam1111.github.io/midnight-zk-cookbook/tutorials/303-multi-party-private-state-and-contracts-between-two-users.html</id>
    <updated>2026-06-03T18:15:15+00:00</updated>
    <published>2026-06-03T18:15:15+00:00</published>
    <summary type="html">Design a two-party Compact contract with isolated private state, joint witnesses, and reproducible commitments.</summary>
    <author><name>Battam1111</name></author>
    <category term="midnight"/>
  </entry>
  
  <entry>
    <title>RISC Zero zkVM: Running Existing Rust Code Inside a STARK</title>
    <link href="https://battam1111.github.io/midnight-zk-cookbook/tutorials/risc0-zkvm-rust.html"/>
    <id>https://battam1111.github.io/midnight-zk-cookbook/tutorials/risc0-zkvm-rust.html</id>
    <updated>2026-06-03T18:15:15+00:00</updated>
    <published>2026-06-03T18:15:15+00:00</published>
    <summary type="html">End-to-end risc0 program with a guest binary, a host driver, and proof verification, all in Rust.</summary>
    <author><name>Battam1111</name></author>
    <category term="risc0"/>
  </entry>
  
  <entry>
    <title>Rational Abstention and Witness Privacy in Midnight Contracts</title>
    <link href="https://battam1111.github.io/midnight-zk-cookbook/tutorials/296.html"/>
    <id>https://battam1111.github.io/midnight-zk-cookbook/tutorials/296.html</id>
    <updated>2026-06-03T18:15:15+00:00</updated>
    <published>2026-06-03T18:15:15+00:00</published>
    <summary type="html">When and how to keep witness data hidden from the public ledger; pattern for rational abstention in zero-knowledge contracts.</summary>
    <author><name>Battam1111</name></author>
    <category term="midnight"/>
  </entry>
  
  <entry>
    <title>Testing Aleo Programs Locally with snarkOS and snarkVM</title>
    <link href="https://battam1111.github.io/midnight-zk-cookbook/tutorials/aleo-program-testing.html"/>
    <id>https://battam1111.github.io/midnight-zk-cookbook/tutorials/aleo-program-testing.html</id>
    <updated>2026-06-03T18:15:15+00:00</updated>
    <published>2026-06-03T18:15:15+00:00</published>
    <summary type="html">Three-layer Aleo testing: Leo unit tests, local snarkos network, and end-to-end transition coverage.</summary>
    <author><name>Battam1111</name></author>
    <category term="aleo"/>
  </entry>
  
  <entry>
    <title>Testing Compact Contracts: Unit Tests, Assertions, and Local Simulation</title>
    <link href="https://battam1111.github.io/midnight-zk-cookbook/tutorials/312.html"/>
    <id>https://battam1111.github.io/midnight-zk-cookbook/tutorials/312.html</id>
    <updated>2026-06-03T18:15:15+00:00</updated>
    <published>2026-06-03T18:15:15+00:00</published>
    <summary type="html">Two-layer Compact test strategy with a simulator wrapper plus Docker integration tests, runnable in CI.</summary>
    <author><name>Battam1111</name></author>
    <category term="midnight"/>
  </entry>
  
  <entry>
    <title>Testing and Debugging Noir Circuits: The Honest Workflow</title>
    <link href="https://battam1111.github.io/midnight-zk-cookbook/tutorials/noir-testing-debugging.html"/>
    <id>https://battam1111.github.io/midnight-zk-cookbook/tutorials/noir-testing-debugging.html</id>
    <updated>2026-06-03T18:15:15+00:00</updated>
    <published>2026-06-03T18:15:15+00:00</published>
    <summary type="html">Nargo test, common Noir circuit bugs, and how to instrument proofs for fast debugging.</summary>
    <author><name>Battam1111</name></author>
    <category term="noir"/>
  </entry>
  
  <entry>
    <title>Wiring TypeScript to Compact Contracts (Generated Bindings, Errors, Lifecycle)</title>
    <link href="https://battam1111.github.io/midnight-zk-cookbook/tutorials/291.html"/>
    <id>https://battam1111.github.io/midnight-zk-cookbook/tutorials/291.html</id>
    <updated>2026-06-03T18:15:15+00:00</updated>
    <published>2026-06-03T18:15:15+00:00</published>
    <summary type="html">End-to-end pattern for calling a Compact contract from a TypeScript application: bindings, lifecycle, error handling, type guarantees.</summary>
    <author><name>Battam1111</name></author>
    <category term="midnight"/>
  </entry>
  
  <entry>
    <title>Writing Your First Noir Circuit: Fields, Constraints, and Proofs</title>
    <link href="https://battam1111.github.io/midnight-zk-cookbook/tutorials/noir-circuit-basics.html"/>
    <id>https://battam1111.github.io/midnight-zk-cookbook/tutorials/noir-circuit-basics.html</id>
    <updated>2026-06-03T18:15:15+00:00</updated>
    <published>2026-06-03T18:15:15+00:00</published>
    <summary type="html">Start-from-zero Noir circuit: field arithmetic, constraints, public/private inputs, and your first proof.</summary>
    <author><name>Battam1111</name></author>
    <category term="noir"/>
  </entry>
  
  <entry>
    <title>Your First Aleo Contract in Leo: Mappings, Records, and Transitions</title>
    <link href="https://battam1111.github.io/midnight-zk-cookbook/tutorials/aleo-first-contract.html"/>
    <id>https://battam1111.github.io/midnight-zk-cookbook/tutorials/aleo-first-contract.html</id>
    <updated>2026-06-03T18:15:15+00:00</updated>
    <published>2026-06-03T18:15:15+00:00</published>
    <summary type="html">Bottom-up tour of Aleo Leo: build a working program with records, mappings, and transitions, then deploy it locally.</summary>
    <author><name>Battam1111</name></author>
    <category term="aleo"/>
  </entry>
  
  <entry>
    <title>ZK Language Comparison: Compact vs Leo vs Noir vs Cairo (2026)</title>
    <link href="https://battam1111.github.io/midnight-zk-cookbook/tutorials/zk-language-comparison.html"/>
    <id>https://battam1111.github.io/midnight-zk-cookbook/tutorials/zk-language-comparison.html</id>
    <updated>2026-06-03T18:15:15+00:00</updated>
    <published>2026-06-03T18:15:15+00:00</published>
    <summary type="html">Side-by-side: syntax, proving system, ecosystem maturity, and where each ZK language is strongest.</summary>
    <author><name>Battam1111</name></author>
    <category term="cross"/>
  </entry>
  
  <entry>
    <title>ZK Rollup Architecture Explained: zkSync vs Linea vs Polygon zkEVM (2026)</title>
    <link href="https://battam1111.github.io/midnight-zk-cookbook/tutorials/zk-rollup-architecture.html"/>
    <id>https://battam1111.github.io/midnight-zk-cookbook/tutorials/zk-rollup-architecture.html</id>
    <updated>2026-06-03T18:15:15+00:00</updated>
    <published>2026-06-03T18:15:15+00:00</published>
    <summary type="html">Map prover, sequencer, settlement, and DA in a ZK rollup; how the boxes actually talk.</summary>
    <author><name>Battam1111</name></author>
    <category term="cross"/>
  </entry>
  
</feed>
