Halo 2 Explained: How Zcash Dropped the Trusted Setup (and What It Did Not Fix)

Halo 2 powers Zcash's Orchard and Ironwood pools with no trusted setup. How it works, what it fixed, and what it did not: the 2026 bug, quantum risk, metadata.

Halo 2 is the zero-knowledge proof system that secures Zcash's Orchard pool (since NU5, block 1,687,104) and the newer Ironwood pool (since NU6.3, block 3,428,143). Its headline achievement is that it needs no trusted setup: earlier Zcash pools (Sprout and Sapling) used Groth16 proofs whose parameters had to be generated in multi-party ceremonies, and if those secret values had leaked, someone could have forged proofs and counterfeited ZEC. Halo 2 uses a PLONKish circuit format, a polynomial commitment scheme built on an inner product argument, and the Pallas/Vesta curve cycle, chosen so that proofs can one day verify other proofs (recursion), though Zcash does not use recursion yet. What Halo 2 did not fix: bugs in the circuits written on top of it (a soundness bug in Orchard's circuit was found in May 2026 and fixed in NU6.2), the quantum threat to the discrete-logarithm assumptions behind all of Zcash's shielded pools (Ironwood adds a recovery path instead), and metadata leaks such as timing, amounts at the turnstile and your IP address.

This explainer works through what a zk-SNARK is, what changed from Groth16 to Halo 2, how a Halo 2 proof is built, what Orchard actions are, the 2026 bug, the quantum question, and what Halo 2 means for you as a user.

An analogy (and where it breaks)

Imagine a sealed ballot box with a window that shows only one thing: a green light if every ballot inside is valid. Officials can check the light without opening any envelope. A zero-knowledge proof is like that light: a validator checks a short proof and is convinced the hidden transaction follows the rules, without seeing who paid whom or how much.

The trusted setup was like the box's factory: if the factory had kept a master key, it could make the light show green for a forged ballot. Groth16 needed such a factory, which is why Zcash held ceremonies with many participants so that no single one could keep the key. Halo 2 has no factory secret at all.

Where the analogy breaks is the 2026 bug. The light was honest, but the rule it checked had a gap: one of the circuit's gadgets did not fully constrain a value. A perfect checker of an imperfect rule still accepts what the rule allows. That is why circuits get audited separately from proof systems.

Zero-knowledge proofs in one page

The halo2 Book, the official documentation for Zcash's Halo 2 implementation, defines the terms precisely. Plainly:

  • A proof system lets a prover convince a verifier that a statement is true. The book's example: proving you know a value x whose hash is a public value y, without revealing x.
  • The secret inputs plus all the intermediate values the circuit needs are called the witness.
  • Soundness means a proof "cannot falsely convince a verifier". Knowledge soundness goes further: the prover must actually know a witness.
  • A proof system is zero knowledge if "a proof yields no information about the witness (other than that a witness exists and was known to the prover)".
  • It is succinct if proofs are short ("polylogarithmic in the circuit size"). A succinct non-interactive argument of knowledge is a SNARK; "A zk-SNARK is a zero-knowledge SNARK."

In Zcash, the statement being proved is roughly "this transaction spends notes that exist, that I am allowed to spend, that have not been spent before, and the values balance", and the witness includes the notes, keys and amounts that stay hidden. Validators check the proof and learn nothing else.

Before Halo 2: Groth16 and the trusted setup problem

ZIP 224, the Orchard specification (status Final), explains the problem Halo 2 solved:

"The Sprout and Sapling circuits are implemented using a proving system (Groth16) that requires a 'trusted setup': the circuit parameters are a Structured Reference String (SRS) with hidden structure, that if known could be used to create fake proofs and thus counterfeit funds."

Those parameters were generated with multi-party computations (MPCs), where "as long as at least one participant was honest and not compromised, the hidden structure is unrecoverable". ZIP 224 records that "Zcash had 6 participants in the Sprout MPC, and around 90 per round in the Sapling MPC two years later". Still, "it remains the case that generating these parameters is a point of risk within the protocol".

The risk was not theoretical. ZIP 224 continues: "the original proving system used for the Sprout circuit (BCTV14) had a bug that made the Sprout shielded protocol vulnerable to counterfeiting, which needed to be resolved by changing the proving system and running a new MPC." ZIP 211 describes the same vulnerability as one "that could have allowed counterfeiting", addressed by the Sapling upgrade.

ZIP 224 gives a second reason to move on: "Neither Sprout nor Sapling are compatible with known efficient scalability techniques." Recursive proofs "require a cycle of elliptic curves", and Sapling's curves have "no known way to construct an efficient curve cycle".

What Halo 2 changed

SproutSaplingOrchard and Ironwood
Proof systemBCTV14, later Groth16Groth16Halo 2
Trusted setupYes (MPC, 6 participants)Yes (MPC, about 90 per round)No
Circuit formatR1CSR1CSPLONKish
Curves(none for the circuit)BLS12-381 and JubjubPallas and Vesta (a cycle)
Spend / output structureJoinSplitsSeparate spends and outputsActions (one spend + one output each)
Recursion-readyNoNoYes, not yet used
Status in November 2026Frozen since NU7ActiveOrchard exit-only; Ironwood active

Sources: ZIP 224, ZIP 2003, ZIP 258. ZIP 2003 also notes that in the Sapling upgrade "the proving system and the pairing-friendly curves used for Sprout were changed to be the same as for the Sapling shielded protocol, i.e. Groth16 and BLS12-381", so Sprout's later life used Groth16 too.

No trusted setup

Halo 2's polynomial commitment scheme is "based around the Inner Product Argument" (halo2 Book). The book traces its lineage: it "builds on" the original Halo paper (BGH19) and on BCMS20, and "uses a polynomial commitment scheme that is very similar to the one in BCMS20". The practical consequence that ZIP 224 is about: there is no structured reference string with hidden trapdoor values, so there is no ceremony to trust and no toxic waste to leak.

PLONKish circuits

The halo2 Book: "The arithmetization used by Halo 2 comes from PLONK, or more precisely its extension UltraPLONK that supports custom gates and lookup arguments. We'll call it PLONKish." A PLONKish circuit is "a rectangular matrix of values", with columns, custom gates that relate cells, lookup arguments, and equality constraints between cells. Circuit authors build reusable "chips" and "gadgets" on top.

The Pallas/Vesta cycle

ZIP 224: "The Orchard protocol uses the Pallas / Vesta curve cycle." Pallas is "the 'application curve', on which the Orchard protocol itself is implemented"; Vesta is "the 'circuit curve'". The cycle "is an explicit design choice", because a cycle is what makes efficient recursion possible. Both curves satisfy y² = x³ + 5, per the halo2 Book's gadget chapter.

Actions instead of spends and outputs

ZIP 224: "Orchard uses a single circuit for both spends and outputs, similar to Sprout. An 'action' contains both a single (possibly dummy) note being spent, and a single (possibly dummy) note being created." An Orchard transaction carries "a bundle of actions, and a single Halo 2 proof that covers all of the actions in the bundle". The dummy halves hide how many real inputs and outputs a transaction has, which ZIP 224 calls "arity-hiding". It is also why fees count Orchard and Ironwood actions directly, with padding (ZIP 317).

Signatures

Orchard "uses RedPallas (RedDSA instantiated with the Pallas curve) as its signature scheme in place of Sapling's RedJubjub" (ZIP 224).

How a Halo 2 proof is built (the five stages)

The halo2 Book breaks proving into five stages. You do not need to follow the maths to see the shape:

  1. Commit to polynomials that encode the circuit's cell assignments, the lookup arguments and the equality-constraint permutations.
  2. Build the vanishing argument, which constrains every gate, lookup rule and permutation rule to equal zero across the circuit.
  3. Evaluate those polynomials at the points the gates need.
  4. Build a multipoint opening argument so all those evaluations are consistent with the commitments.
  5. Run the inner product argument to produce a polynomial commitment opening proof.

The book also describes what a finished proof looks like: for the Pallas and Vesta curves, "both points and scalars have 32-byte encodings". You can see the cost on the chain: a transaction leaving the Ironwood pool on 11 November 2026 was 9,198 bytes, against 207 bytes for a simple transparent transaction (3xpl, 3xpl). Shielded privacy costs bytes.

Batch verification

Nodes can check many Halo 2 proofs together. ZIP 218 notes that "Ironwood uses the same Action encoding and proof system as Orchard" and that "in current node software, Orchard transactions are batch-verified in groups of up to 64 transactions". That is part of why NU7 could move to 25-second blocks with per-block limits of 330 Orchard and 330 Ironwood actions.

Recursion: the feature Zcash has not switched on

Recursion means a proof that verifies other proofs. The halo2 Book's background chapter lists "Alternative terms: Induction; Accumulation scheme; Proof-carrying data", and describes how the expensive part of verifying the inner product argument can be "amortise[d] across a batch of proof instances", which is the core idea of Halo's accumulation.

ZIP 224 is explicit about the deployment choice: "This proposal does not make use of Halo 2's support for recursive proofs, but this is expected to be leveraged by future protocol updates." And: "Deploying an entire scaling solution in a single upgrade would be a risky endeavour with a lot of moving parts. By focusing just on the components that enable a recursive protocol (namely the curve cycle and the proving system), we can start the migration of value to a scalable protocol before actually deploying the scalable protocol itself."

So, as of November 2026, Halo 2 in Zcash gives you no-trusted-setup proofs and a recursion-ready foundation, but not recursive scaling. Any article claiming Zcash "uses recursive proofs" today is getting ahead of the protocol.

What Halo 2 did not fix

1. Bugs in the circuit built on top of it

A proof system proves whatever the circuit says. If the circuit forgets a constraint, the proof happily proves something it should not. That is what happened in 2026.

ZIP 257 (status Final) records it: "On 2026–05–29, security researcher Taylor Hornby, who had been tasked with an AI-assisted security audit of the Orchard shielded protocol, reported a soundness vulnerability in the Orchard Action circuit implementation." It "could have allowed balance violation and theft of funds".

The response, from ZIP 257:

StepDetail
Emergency soft forkFrom block 3,363,426, transactions "MUST NOT contain any Orchard Action descriptions"; shipped in zcashd v6.12.5 and zebra v4.5.3 (an earlier attempt at block 3,363,366 had to be repeated because "some mining pools failed to upgrade in time")
The fix"The Orchard Action circuit's variable-base scalar multiplication gadget is corrected, fixing the soundness vulnerability. This changes the Orchard verifying key." Published in halo2_gadgets v0.5.0 and orchard v0.14.0
New ruleAn Orchard Action proof "MUST have the canonical length for the corrected circuit"
NU6.2Re-enabled Orchard at block 3,364,600, in zcashd v6.20.0 and zebra v5.0.0

Note where the bug lived: in a gadget (a reusable circuit component in halo2_gadgets), not in the Halo 2 proving system itself. The halo2 Book's gadget chapter shows what that gadget does in Orchard: "In the Orchard circuit we need to check pk_d = [ivk] g_d", that is, that an address's public key really is derived from the incoming viewing key.

The aftermath shaped 2026. The zcashd End of Life page says "the recent Orchard vulnerability disclosed on June 1st 2026" is why zcashd's deprecation was accelerated (zcashd End of Life). Cake Wallet's Ironwood page explains Ironwood's turnstile to users this way: "A cryptographic bug was found in the Orchard shielded pool that could, in theory, have allowed counterfeit ZEC to be created. Ironwood adds a supply-verification step … so the network can prove the total ZEC supply is correct" (Cake Ironwood migration). The full migration story is in how to migrate Orchard funds to Ironwood.

2. The quantum threat

Halo 2's security, like Sapling's and Orchard's, rests on the hardness of discrete logarithms on elliptic curves. ZIP 2005 (status Final): "The existing Zcash shielded protocols are dependent on the hardness of finding discrete logarithms; an adversary who can do so (via quantum computers or otherwise) would be able to steal or forge funds." It adds that "the note commitment algorithms used by the Sapling and Orchard shielded protocols are not post-quantum binding", so swapping in a quantum-safe proof system later would not be enough on its own.

Ironwood's answer is not a new proof system but a recovery path: in an emergency, a Recovery Protocol "is expected to remain secure against discrete-logarithm-breaking and quantum adversaries". ZIP 2005 is careful: "This change does not by itself make Zcash secure against attacks using quantum computers", and "Recovery would not be possible for funds still in the Sprout, Sapling, or Orchard pools".

3. Metadata

Halo 2 hides what is inside a shielded transaction. It does not hide:

  • Amounts at the turnstile. Value moving between a shielded pool and the transparent pool is public by design (ZIP 209). ZIP 224 itself says: "Spending funds residing in the Orchard pool to a non-Orchard address will reveal the value of the transaction."
  • Timing. ZIP 218 notes that faster blocks "give observers finer timing information, which may be combined with network-layer or application-layer observations".
  • Your IP address. That is a network matter; use Tor, OHTTP or a mixnet where your wallet offers them.

4. Separate anonymity sets

ZIP 224: "The Orchard pool forms a separate anonymity set from the Sprout and Sapling pools. The new pool will start with zero notes." Ironwood is likewise a separate pool that grows as people move funds into it. Our shielded pool page tracks the pools.

Common myths

MythWhat the sources say
"Halo 2 makes Zcash quantum-proof."No: ZIP 2005 says the shielded protocols depend on discrete logarithms; Ironwood adds a recovery path
"Zcash already uses recursive proofs."No: ZIP 224 says Orchard "does not make use of Halo 2's support for recursive proofs"
"No trusted setup means no bugs."No: the 2026 soundness bug was in circuit code (ZIP 257)
"Halo 2 hides everything about my payment."No: turnstile amounts, timing and IP address can still leak
"Orchard and Ironwood use different proof systems."No: "Ironwood uses the same Action encoding and proof system as Orchard" (ZIP 218)

Timeline

Date / heightEventSource
NU5, block 1,687,104Orchard activates with Halo 2ZIP 252
29 May 2026Orchard circuit soundness bug reportedZIP 257
Block 3,363,426Orchard actions disabled (soft fork)ZIP 257
Block 3,364,600NU6.2: corrected circuit and new verifying keyZIP 257
18 July 2026, block 3,417,100zcashd End-of-Support haltzcashd End of Life
NU6.3, block 3,428,143Ironwood pool (same Halo 2 Action structure); Orchard exit-onlyZIP 258
NU7, block 3,543,40525-second blocks; per-block action limits; Sprout frozenZIP 259

Why fixing a circuit needs a hard fork

A verifying key is the public data validators use to check proofs for one specific circuit. Change the circuit, and the verifying key changes. ZIP 257 spells out the consequence for the 2026 fix: "Pre-NU6.2 Action proofs verify only under the historical (insecure) verifying key, and NU6.2-onward proofs only under the corrected one." Every node had to switch keys at the same height, which is a consensus change, so it took a network upgrade (NU6.2).

ZIP 257 also explains why the fix came in two steps rather than one: "Disabling the vulnerable circuit and enabling the new one at the same time was ruled out due to the risk of revealing the vulnerability before it had been mitigated, and in order to close the vulnerability window more quickly, while the fix was still being prepared and reviewed." So Orchard was switched off first (block 3,363,426) and switched back on with the corrected circuit about 1,174 blocks later (block 3,364,600).

For users, the visible effects were a short period when Orchard transactions could not be made at all, and wallet updates to build proofs for the new circuit. The fix did not move anyone's funds; during the window between the two heights, Orchard funds simply could not be spent, because no transaction could contain an Orchard action, and they became spendable again once the corrected circuit was live. The later Ironwood migration was a separate decision, taken with NU6.3.

How Halo 2 shows up in your wallet and fees

You never see a proof, but its structure shows up in three places:

WhereWhat you noticeWhy
FeesShielded transactions cost per actionZIP 317 counts Orchard and Ironwood actions as logical actions at 5,000 zatoshis each (current rules), with padding because each action is one spend plus one output
Migration costsCake quotes "on the order of 0.0002 ZEC" per migrated amountEach migration transaction carries a bundle of actions and a proof (Cake Ironwood migration)
Network capacityAt most 330 Ironwood actions per block since NU7ZIP 218 sets per-pool action limits to bound verification and sync costs
Transaction sizeKilobytes rather than hundreds of bytesThe proof and the encrypted action data
Sync timeLight wallets must try to decrypt each actionZIP 218 budgets "trial decryptions per day" for light clients

What Halo 2 means for you as a user

QuestionAnswer
Do I need to trust a ceremony for my Ironwood funds?No; Halo 2 has no trusted setup
Can a proof bug still happen?Yes, in circuit code; the 2026 bug was one, now fixed
Is my shielded balance quantum-proof?No; Ironwood adds a recovery path, which older pools lack
Does Halo 2 make Zcash faster?Not by itself; recursion is not deployed. Batch verification helps nodes
Does Halo 2 hide my IP or timing?No
What should I do?Keep ZEC shielded in Ironwood, use an up-to-date wallet, and avoid the metadata mistakes in how to shield Zcash

Wallet choices are in our Zcash wallet guide and wallet directory.

Hardware wallets and Halo 2

Proving is computationally heavy, which is why hardware wallets were slow to support shielded Zcash. Ledger's September 2026 post explains the split it uses: "Your spending keys stay on your Ledger signer and your computer handles the transaction computation." It also notes that "the 2018 Sapling upgrade made that separation possible in principle, cutting the memory a proof required from close to 3GB down to about 40MB", and that Orchard-era support needed "new cryptographic curve support for Orchard's addresses, on-device transaction parsing, and security audits" (Ledger). See Zcash hardware wallets compared.

Glossary

TermMeaning
zk-SNARKZero-knowledge succinct non-interactive argument of knowledge
Trusted setupGenerating proof parameters with secret values that must be destroyed
Groth16The trusted-setup proof system used by Sapling (and later Sprout)
Halo 2The no-trusted-setup proof system used by Orchard and Ironwood
PLONKishHalo 2's circuit format: a table of cells with custom gates and lookups
Inner product argumentThe technique behind Halo 2's polynomial commitments
Pallas / VestaThe pair of curves Orchard uses; Vesta's scalar field is Pallas's base field (ZIP 224), forming a cycle
ActionOrchard/Ironwood unit combining one (possibly dummy) spend and one (possibly dummy) output
GadgetA reusable circuit component; the 2026 bug was in one
Verifying keyPublic data validators use to check proofs for a given circuit; NU6.2 changed Orchard's
RecursionA proof that verifies other proofs; not yet used in Zcash

FAQ

Is Halo 2 the same as Halo?

No. The halo2 Book says Halo 2's polynomial commitment scheme builds on the original Halo paper (BGH19) and BCMS20. Halo 2 is the newer system implemented in the halo2_proofs and halo2_gadgets crates and used by Zcash.

Did the 2026 Orchard bug mean Halo 2 was broken?

No. ZIP 257 places the bug in "the Orchard Action circuit's variable-base scalar multiplication gadget", which was corrected in halo2_gadgets v0.5.0. The proof system worked as designed; the circuit was missing a constraint.

Was the Orchard bug exploited?

ZIP 257 documents the vulnerability and the fix but does not state that it was exploited. The Ironwood turnstile was designed so the network can check the total supply as Orchard funds migrate, per Cake Wallet's explanation.

Does Ironwood use Halo 2?

Yes. ZIP 218: "Ironwood uses the same Action encoding and proof system as Orchard."

Is Sapling going away because it uses a trusted setup?

There is no announced date. Sapling remains active after NU7; ZIP 2005 notes it lacks Ironwood's quantum recovery path, which is one reason wallets steer funds to Ironwood.

Can I see Halo 2 proofs on an explorer?

You can see their effect: shielded transactions are larger (thousands of bytes) and carry no visible amounts. Look one up on our explorer; our transaction status guide explains the fields.

Does Halo 2 make Zcash post-quantum secure?

No. ZIP 2005 says the shielded protocols depend on discrete logarithms, which a large quantum computer could break, and that Ironwood's change "does not by itself make Zcash secure against attacks using quantum computers".

Where can I learn the maths properly?

The halo2 Book covers concepts, the proving system design, the gadgets used by Orchard, and background on fields, curves, polynomial commitments and recursion.

Why did Zcash need a whole new pool for Halo 2 instead of upgrading Sapling?

ZIP 224 explains that Sapling's curves have "no known way to construct an efficient curve cycle", so recursion-ready proofs needed new curves (Pallas and Vesta) and new note structures. A new protocol means a new pool, and value has to move into it.

Who maintains Halo 2?

The halo2 Book describes the halo2_proofs and halo2_gadgets crates and how to contribute; it is dual-licensed under Apache 2.0 and MIT. The 2026 fix was published as halo2_gadgets v0.5.0 together with orchard v0.14.0 (ZIP 257).

Do I need to do anything because of Halo 2?

Only what any Zcash user should do: keep your wallet updated so it builds proofs for the current circuits (NU6.2 changed the Orchard verifying key), and keep shielded funds in Ironwood.

Sources