From equations to on-chain verification

The release is not a new privacy protocol, a deployed application or a change to Cardano’s consensus rules. It is a worked explanation of how developers can connect existing Cardano capabilities to zero-knowledge applications.

In a technical tutorial, the Cardano Foundation explains Groth16 from first principles, beginning with arithmetic circuits and ending with proof verification inside an Aiken smart contract. The construction is a zk-SNARK, or zero-knowledge succinct non-interactive argument of knowledge. Its output is a 192-byte proof, and verification requires three elliptic-curve pairings.

That matters because Plutus V3 already exposes native pairing operations for the BLS12-381 curve. The tutorial therefore presents Groth16 verification as something that can run within a Cardano smart contract without requiring a protocol upgrade.

The distinction between proving and verifying is important. A prover may perform substantial computation off-chain to create a proof. The contract then checks the compact proof against the relevant public inputs. In the example, the contract does not need to learn the secret values themselves. It only needs to establish that the prover knows values satisfying the stated constraints.

The demonstration uses a sum-of-products circuit with five constraints. It gives the prover secret inputs and a public equation, then shows how the prover can demonstrate that the equation is satisfied without disclosing those inputs. The result is a small example, but the pipeline is the same one required by larger applications: define the computation, constrain it, generate the proof and verify it.

The cryptographic pipeline

The tutorial is designed to expose the machinery that production libraries often conceal.

It starts by converting a computation into an arithmetic circuit. The circuit is then represented as a rank-1 constraint system, or R1CS. Each constraint expresses a multiplication relationship between linear combinations of variables. Those constraints are transformed into polynomials through a quadratic arithmetic program, or QAP.

The polynomial representation allows the proof system to compress the statement into a short proof. The verifier checks the proof against public inputs using elliptic-curve operations and pairings. The secret witness remains hidden if the proof is valid.

This sequence is useful for developers because it identifies where each part of the system belongs. The circuit describes the computation. R1CS describes the constraints. The QAP provides the polynomial structure used by Groth16. The prover generates the proof from the private witness, while the contract checks the resulting object.

The approach is educational rather than optimized. A developer can inspect intermediate values and follow the transformations instead of treating the cryptography as a black box. That makes the material suitable for understanding what Cardano can already do, while also showing why a demonstration is not the same thing as a production prover.

Code accompanies the explanation

The Foundation has also published an accompanying GitHub repository containing Circom, Rust and Aiken implementations. The repository includes Groth16 examples over BLS12-381, along with proof generation and verification code.

The implementation is intended to expose intermediate cryptographic steps. That is a deliberate choice. Abstraction is useful when software is ready for deployment, but it can make it difficult to understand which values are being generated, transformed or checked. For a technical series aimed at builders, visibility is part of the lesson.

The repository also gives developers something more concrete than pseudocode. They can examine the circuit, follow the Rust implementation used for proof generation and inspect the Aiken-side verification logic. That makes it possible to separate what is already executable from what remains an engineering target.

The production gap

The Foundation is explicit about the distance between a transparent reference implementation and a practical production system.

The educational setup is deterministic and slow. Production proving would require faster polynomial processing, including fast Fourier transforms. It would also need efficient Pippenger multi-scalar multiplication and better handling of sparse matrices. These are not cosmetic improvements. Proving cost affects whether private credentials or authorization systems can serve real users at acceptable speeds.

Groth16 also carries trusted-setup requirements. A setup ceremony must generate parameters for a circuit, and the security of the resulting system depends on the relevant assumptions about that process. A production deployment therefore has to address both performance and ceremony design.

The Foundation says later installments will examine these issues and compare Groth16 with PLONK, Bulletproofs++, STARKs and zero-knowledge virtual machines. The comparison will cover proof size, setup assumptions, post-quantum security and developer ergonomics. There is no universal winner in that list. A small proof can come with setup requirements, while a more flexible system can impose different costs on provers, verifiers or users.

What could be built next

The planned examples move toward applications that are easier to recognize outside cryptography textbooks. They include proving ownership of a cryptographic key, connecting proofs to Cardano addresses and supporting selective disclosure.

One proposed use case would let a user prove that they meet an age or jurisdiction requirement without revealing the underlying personal information or blockchain address. Another could support anonymous authorization, where a user proves eligibility without exposing the full identity behind that eligibility.

Those applications remain examples and development targets, not evidence of a live Cardano privacy product. The immediate achievement is narrower and more useful: a documented route from Plutus V3’s existing BLS12-381 primitives to on-chain Groth16 verification.

The fact that verification is possible today does not show that private applications are ready for broad use. The next check is practical. A production-quality prover, with credible setup procedures and proving times that users will tolerate, would turn this technical bridge into a usable privacy tool.

#Cardano#Cardano Foundation#Plutus V3#Groth16#BLS12-381#Aiken#Circom

Daniel Friedman is not a person. No notebook, no deadlines, no face behind the name — just a byline this newsroom publishes under. Here is the production line underneath it, because a name beside a portrait reads like a journalist, and this one is not one.

The models. Writing: gpt-5.6-luna. Out on the live web: gpt-5.6-terra and gpt-5.6-luna. Pictures: gpt-image-1. Swap one in the newsroom and this line swaps with it — it is read off the machines, not typed here.

How a story is made

  • Research. The searching model reads around the story, pointed at primary sources — the filing, the post, the repository — rather than at somebody else's write-up of them.
  • Writing. The writing model drafts it against what was found, at Daniel Friedman's usual length and in Daniel Friedman's usual register.
  • The loop. A reviewer reads the draft and sends it back with notes. Then reads it again. A piece can go round several times before it leaves the building.
  • Enrichment. A quotation has to appear word for word on the page it is taken from. A chart may only use figures that appear in the source it cites. Whatever fails is dropped, and the reason is kept.
  • Fact check. A last pass hunts for claims the article makes and its sources do not.
  • A human stop. Sensitive subjects are held for a person to read before publication, and a person can kill any of it at any point.

If that sounds less like a newsroom and more like a factory: quite. It is called Press Factory.

This article was generated using AI and published automatically without human pre-publication review.

How this article was made

The article was produced by the Grandmonts Media News Engine using automated research, drafting and verification workflows. No human editor reviewed the article before publication. Grandmonts Media remains responsible for the published content. Errors can be reported at office@grandmonts.cz.