What Is a KZG Commitment?

A KZG commitment compresses a polynomial encoding large amounts of data into 48 bytes, with constant-size proofs of any evaluation. This explains the mechanism, why Ethereum uses it for blob data, and where the trusted setup risk actually lives.
Lewis Jackson
CEO and Founder

The data availability sampling post leaned on a primitive it didn't explain: the thing that makes each random sample verifiable the moment it arrives. That primitive is the KZG commitment, and it's been doing quiet load-bearing work in this series for a while — every blob transaction on Ethereum carries one, and proto-danksharding's whole design assumes it exists. It deserves its own treatment, partly because it's genuinely elegant, and partly because the phrase "trusted setup" attached to it makes people nervous in ways that are half right and half misplaced.

A KZG commitment (named for Kate, Zaverucha, and Goldberg, who published the scheme in 2010) is a cryptographic commitment to a polynomial. It compresses an entire polynomial — which can encode a large amount of data — into a single 48-byte value, and then supports proofs that the polynomial passes through any specific point, where each proof is also just 48 bytes, no matter how big the underlying data is. Commit once, prove any piece, constant size throughout. That last property is the reason Ethereum builds on it.

The Problem It Solves

A commitment scheme answers a simple need: pin yourself to some data now, in a compact way, such that you can't change your story later. Hashes do this. A Merkle root does it for structured data, and for years Merkle trees were the default answer — commit to the root, prove membership of any leaf with a path of sibling hashes.

So why not just use Merkle roots for blob data? Two costs. First, Merkle proofs grow with the data: proving one chunk of a large dataset takes a logarithmic path of hashes, and if you're verifying thousands of samples across thousands of blobs, those paths add up. Second — and this is the decisive one — Merkle commitments know nothing about the structure of the data. Data availability sampling needs erasure coding, and erasure-coded data has to be checked for honest encoding somehow. With a Merkle root, the redundancy is just more leaves; nothing about the root tells you the extension was computed correctly, which is why Merkle-based designs need fraud proofs and an honest watcher.

KZG dissolves both problems at once, because of one alignment that borders on lucky: Reed–Solomon erasure coding and polynomial commitments are the same mathematics. Encode your data as a polynomial, and "extending it with redundancy" just means evaluating that same polynomial at more points. A commitment to the polynomial is automatically a commitment to every possible extension. There is no such thing as a wrongly-encoded blob that still verifies — invalid encoding simply can't produce valid evaluation proofs. The fraud-proof machinery becomes unnecessary.

How the Mechanism Works

I'll keep the algebra light, but the shape of it is worth having.

Any list of numbers can be represented as a polynomial. Take a blob — on Ethereum, 4,096 field elements, roughly 128 KB — and treat it as 4,096 points that a single polynomial passes through. Interpolation gives you that polynomial. Data and polynomial are now interchangeable: asking "what's the 500th chunk of this blob?" is asking "what does the polynomial evaluate to at position 500?"

The commitment itself is the polynomial evaluated at one specific, secret point — call it tau — but evaluated "inside" an elliptic curve, so that the result reveals nothing about tau and nothing about the polynomial beyond a fingerprint. Nobody knows tau. It was generated in a public ceremony (more on that in a moment) and exists only in encrypted form, as a list of curve points anyone can use to compute commitments without ever learning the secret.

Why commit at a secret point? Because of a basic fact about polynomials: two different polynomials of bounded degree can only agree at a small number of points. If you don't know which point you're being tested at, and the test point was chosen randomly from an astronomically large field, then matching someone else's commitment means your polynomial is their polynomial. The secrecy of tau is what turns a single evaluation into a fingerprint of the whole thing.

Evaluation proofs come from a neat piece of high-school-adjacent algebra. If a polynomial p passes through the point (z, y), then p(X) − y is divisible by (X − z) — cleanly, no remainder. The prover computes that quotient polynomial and commits to it; the quotient's existence is the proof. The verifier checks the divisibility relationship directly on the curve using a pairing — one equation, constant time, 48-byte proof. It doesn't matter whether the polynomial encodes a kilobyte or a gigabyte. Admittedly, "check it with a pairing" is doing heavy lifting in that sentence — pairings are their own rabbit hole — but the verifier's work genuinely doesn't grow with the data, and that's the property everything downstream depends on.

Put the pieces together and you get the DAS story from the last post, now with the missing part filled in: a blob is committed with 48 bytes; any node can request a random chunk plus its evaluation proof; the proof verifies instantly against the commitment; and honest erasure coding is enforced by the math rather than by watchers. Proof-on-arrival, as opposed to Celestia's proof-on-failure.

Where the Constraints Live

The famous one first: the trusted setup. Tau has to come from somewhere. If anyone ever knew tau, they could forge proofs — commit to one polynomial and prove evaluations of a different one. Ethereum ran its ceremony for this between late 2022 and 2023, structured so that each of roughly 141,000 participants contributed randomness and the final secret stays unknown as long as at least one participant honestly destroyed their piece. One-of-141,000 is about as diluted as a trust assumption gets, and the ceremony transcript is public. But it's still an assumption, and it's fair to call it the scheme's philosophical weak point: the security rests on an event, not only on math. If the setup were somehow fully compromised, forged availability proofs would follow, and — the uncomfortable part — the forgery wouldn't be detectable from the proofs themselves.

Second: not post-quantum. KZG relies on discrete-log hardness and pairings. A cryptographically relevant quantum computer breaks it — same category of exposure as the signatures securing accounts today, so it's not a unique defect, but hash-based alternatives (STARKs and their FRI machinery) don't share it, and that difference shapes Ethereum's long-horizon roadmap.

Third, the mundane ones: pairing arithmetic is expensive enough that verification cost, while constant, isn't trivial; the scheme is tied to a specific pairing-friendly curve (BLS12-381); and the polynomial framing fits data that's naturally vector-shaped — it's the right tool for blobs, not a universal replacement for hashes.

What's Changing

KZG went from a relatively obscure 2010 paper to core Ethereum infrastructure in about three years, which is fast for cryptography. Blob transactions have carried KZG commitments since proto-danksharding shipped in March 2024, verified through a purpose-built precompile that rollups use to prove their data against blob commitments. The next step, PeerDAS, extends the same commitments to per-cell sampling proofs — the DAS post covered where that stands.

The countercurrent is worth naming: Ethereum research has been openly weighing post-quantum, no-setup alternatives for the long run — hash-based proof systems in the STARK family — and Verkle-tree plans for state (built on a different, IPA-based commitment) have faced exactly this question of whether to build more on pre-quantum foundations. Nothing about that debate changes what's deployed now. It does mean KZG's role is best read as "the right tool for this decade," not a permanent settlement.

What Would Confirm This Direction

PeerDAS operating at scale with per-cell KZG proofs and no verification bottleneck. Blob counts rising with commitment verification staying comfortably inside slot timing. Continued absence of any credible challenge to the ceremony's integrity. More protocols adopting KZG for vector commitments where they'd previously used Merkle trees.

What Would Break or Invalidate It

Any evidence the trusted setup was compromised — which would be quiet, catastrophic, and hard to detect from on-chain data alone. Credible progress toward cryptographically relevant quantum machines, which would force migration on a deadline rather than a preference. Or a hash-based scheme reaching proof sizes and verification costs close enough to KZG's that the setup-free, post-quantum option starts winning on the merits — that's the realistic displacement path, and it's a matter of engineering progress, not possibility.

Timing Perspective

Now: KZG is production infrastructure. Every blob on Ethereum carries one; understanding it is understanding how rollup data is actually secured today. Next: per-cell proofs under PeerDAS, where KZG's constant-size property gets stress-tested at sampling scale. Later: the post-quantum transition, on a timeline set by quantum progress and proof-system engineering rather than by anyone's roadmap document.

Boundary Statement

This is a mechanism explanation, simplified where the algebra demanded it — the pairing check and field arithmetic are described by shape, not in full. It doesn't cover the ceremony's cryptographic construction in detail, doesn't compare specific proof-system implementations, and says nothing about any asset. The claim is narrow: KZG gives constant-size, instantly verifiable commitments to polynomial-encoded data at the cost of a one-time trust assumption and pre-quantum cryptography. Whether that trade stays acceptable is a live question with a known answer today and an open one long-term.

Related Posts

See All
Crypto Research
New XRP-Focused Research Defining the “Velocity Threshold” for Global Settlement and Liquidity
A lot of people looking at my recent research have asked the same question: “Surely Ripple already understands all of this. So what does that mean for XRP?” That question is completely valid — and it turns out it’s the right question to ask. This research breaks down why XRP is unlikely to be the internal settlement asset of CBDC shared ledgers or unified bank platforms, and why that doesn’t mean XRP is irrelevant. Instead, it explains where XRP realistically fits in the system banks are actually building: at the seams, where different rulebooks, platforms, and networks still need to connect. Using liquidity math, system design, and real-world settlement mechanics, this piece explains: why most value settles inside venues, not through bridges why XRP’s role is narrower but more precise than most narratives suggest how velocity (refresh interval) determines whether XRP creates scarcity or just throughput and why Ripple’s strategy makes more sense once you stop assuming XRP must be “the core of everything” This isn’t a bullish or bearish take — it’s a structural one. If you want to understand XRP beyond hype and price targets, this is the question you need to grapple with.
Read Now
Crypto Research
The Jackson Liquidity Framework - Announcement
Lewis Jackson Ventures announces the release of the Jackson Liquidity Framework — the first quantitative, regulator-aligned model for liquidity sizing in AMM-based settlement systems, CBDC corridors, and tokenised financial infrastructures. Developed using advanced stochastic simulations and grounded in Basel III and PFMI principles, the framework provides a missing methodology for determining how much liquidity prefunded AMM pools actually require under real-world flow conditions.
Read Now
Crypto Research
Banks, Stablecoins, and Tokenized Assets
In Episode 011 of The Macro, crypto analyst Lewis Jackson unpacks a pivotal week in global finance — one marked by record growth in tokenized assets, expanding stablecoin adoption across emerging markets, and major institutions deepening their blockchain commitments. This research brief summarises Jackson’s key findings, from tokenized deposits to institutional RWA chains and AI-driven compliance, and explains how these developments signal a maturing, multi-rail settlement architecture spanning Ethereum, XRPL, stablecoin networks, and new interoperability layers.Taken together, this episode marks a structural shift toward programmable finance, instant settlement, and tokenized real-world assets at global scale.
Read Now

Related Posts

See All
No items found.
Lewsletter

Weekly notes on what I’m seeing

A personal letter I send straight to your inbox —reflections on crypto, wealth, time and life.
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.