Edit this page on GitHub (opens in a new tab)
Halo is a trustless, recursive zero-knowledge proof (ZKP) system discovered by Sean Bowe at Electric Coin Co. It removes the need for a trusted setup and makes recursive proof composition practical, which is the foundation of Zcash's current scalability and security roadmap.
Halo is a trustless, recursive zero-knowledge proof system discovered by Sean Bowe at Electric Coin Co. It eliminates the trusted setup and allows greater scalability of the Zcash blockchain. Halo was the first zero-knowledge proof system that is both efficient and recursive — widely regarded as a scientific breakthrough.
Some zk-SNARK constructions, such as Groth16, require a trusted setup to generate their public parameters, often called a common reference string (CRS). The CRS is shared with provers and verifiers; it is not the secret that must be destroyed. The secret intermediate material ("toxic waste") produced by such a setup must be discarded. A secure multi-party computation can distribute that trust: the ceremony is secure if at least one participant follows the protocol and destroys their secret contribution. See ECC's explanation of public parameters and toxic waste.
Zcash's earlier Sprout and Sapling shielded pools used trusted-setup proving systems, BCTV14 and Groth16 respectively. Their public parameters remain available for proving and verification. The concern is whether secret setup material was retained, which could allow false proofs; publishing the CRS itself is expected and does not reveal that secret material.
Halo combines recursive proof composition with a polynomial commitment scheme based on an inner product argument. Its public parameters do not require a trusted setup ceremony or the destruction of a secret setup trapdoor. The Halo 2 book describes these public group parameters. This is different from making a ceremony-generated structured reference string upgradeable.
Removing this setup requirement avoids relying on the destruction of secret ceremony material for Halo proofs. It does not prove that an earlier Sprout or Sapling ceremony was uncompromised, nor certify that all later protocol changes are secure. Recursive proofs attest to the computations encoded in their circuits, under the proof system's assumptions. Correct circuits and implementations still matter; ECC's Halo 2 deployment explainer explicitly notes the risk of new bugs or design flaws.
Sean Bowe's explainer at Dystopia Labs
Think of a normal zk-SNARK as a notarised document: one stamp, one verification, done. Now imagine you need to prove that a stack of ten thousand documents is authentic. Without recursion, a verifier would have to check every stamp.
Halo turns each verified document into a stamp on the next document, until the whole stack collapses into a single document with a single stamp. Checking the last document is enough to trust the entire chain — and crucially, Halo's notary (the proving system) manufactures its own stamps without ever needing an external authority to set up its seal.
In older trusted-setup systems, the public "seal" (the CRS) came from a ceremony. Participants had to destroy their secret intermediate material while keeping the public parameters available. Halo avoids that ceremony and its secret setup trapdoor. This does not remove the need to protect users' spending keys or to check the proof system's assumptions and implementation.
Recursive proof composition allows a single proof to attest to the correctness of practically unlimited other proofs, compressing a large amount of computation (and information). This is an essential component for scalability, because it allows the network to scale horizontally while pockets of participants can still trust the integrity of the remainder of the network.
Before Halo, achieving recursive proof composition required large computational expense and a trusted setup. One of the main discoveries was a technique called nested amortization: recursive composition using a polynomial commitment scheme based on the inner product argument, massively improving performance while avoiding the trusted setup.
The Halo paper fully describes this polynomial commitment scheme and discovered that a new aggregation technique existed within it. The technique allows a large number of independently created proofs to be verified nearly as quickly as verifying a single proof. On its own, that already offered a better alternative to the earlier zk-SNARKs used in Zcash.
Halo 2 is a high-performance zk-SNARK implementation written in Rust which eliminates the need for a trusted setup while setting the stage for scalability in Zcash.
It includes a generalisation of the approach called an accumulation scheme. This formalisation exposes how nested amortization actually works: by adding proofs to an object called an accumulator, where each proof reasons about the previous state of the accumulator, all previous proofs can be checked (by induction) simply by checking the current state of the accumulator.
In parallel, many other teams were discovering Polynomial IOPs more efficient than Sonic (used in Halo 1), such as Marlin. The most efficient of these protocols is PLONK, which grants enormous flexibility in designing efficient implementations based on application-specific needs and provides 5× better prover time than Sonic.
Electric Coin Company entered into an agreement with Protocol Labs, the Filecoin Foundation, and the Ethereum Foundation to explore Halo R&D, including how the technology might be used in their respective networks. The agreement aims to provide better scalability, interoperability, and privacy across ecosystems and for Web 3.0.
Additionally, Halo 2 is under the MIT and Apache 2.0 open-source licenses, meaning anyone in the ecosystem can build with the proving system.
Filecoin. Since its deployment, the halo2 library has been adopted in projects like the zkEVM, and there is potential integration of Halo 2 into the proof system for the Filecoin Virtual Machine. Filecoin requires numerous costly proofs of spacetime and proofs of replication; Halo 2 is pivotal in compressing space usage and better scaling the network. Filecoin Foundation video with Zooko. It would also benefit both ecosystems if Filecoin storage payments could be made in ZEC, affording the same privacy for storage purchases that exists in Zcash shielded transfers — including encrypting files in Filecoin storage and supporting mobile clients that attach media to a Zcash encrypted memo. ECC × Filecoin blog post
Ethereum. A Halo 2 proof for an efficient Verifiable Delay Function (VDF) is being developed. A VDF is a cryptographic primitive with many potential use cases, including general-purpose randomness for smart contracts and leader election in Proof of Stake. ECC, the Filecoin Foundation, Protocol Labs, and the Ethereum Foundation are also working with SupraNational, a vendor specialising in hardware-accelerated cryptography, for potential GPU and ASIC development of the VDF. The Privacy and Scaling Explorations group is researching additional ways Halo 2 proofs can improve privacy and scalability for Ethereum.
For Zcash itself
For holders and operators
| Common belief | What is actually the case |
|---|---|
| "Halo is a future upgrade Zcash is waiting for." | Orchard, live on mainnet since NU5 (2022), already runs on Halo 2. |
| "No trusted setup means no parameters at all." | Halo still uses public parameters. They do not require a ceremony in which participants must be trusted to destroy secret setup material. |
| "Halo 2 and the Halo paper are the same thing." | The paper describes the polynomial commitment scheme and nested amortization; Halo 2 is the production Rust implementation with an accumulation scheme and PLONKish arithmetisation. |
| "Recursion only helps with scaling block verification." | Recursion also compresses application-level computation — see Filecoin's proofs of spacetime/replication and the VDF work for Ethereum. |
Documentation