What is a validium?
Definition: A validium is a layer 2 blockchain that processes transactions off the main chain and proves them correct with validity proofs, but keeps the underlying transaction data off the main chain too.
A validium works like a ZK-rollup with one change. Both batch many transactions together and post a short zero-knowledge proof to the base chain, usually Ethereum, where a smart contract checks it. A ZK-rollup also publishes the transaction data on the base chain. A validium does not. It stores the data with a separate party or group instead.
Skipping the on-chain data makes each transaction cheaper and allows more of them, which suits high-volume uses such as games, trading and payments. The price is a weaker guarantee about data availability, which is why a validium is not counted as a rollup.
Validium in plain terms
Imagine a bank that settles its books with a regulator every day. The regulator gets a signed statement proving the sums are right, which is the validity proof. In a rollup, the bank also hands over a full copy of every ledger entry for public storage. In a validium, the bank keeps the ledger entries itself or with a few trusted custodians and sends only the signed statement.
The sums are still checked, so nobody can steal funds by faking a balance. But if the keepers of the ledger vanish, nobody else holds the records needed to prove who owns what.
How a validium works
- Users send transactions to an operator, which orders them and runs them on the validium.
- The operator builds a batch and produces a validity proof, such as a zk-SNARK or a zk-STARK, showing that every transaction in the batch followed the rules.
- The proof and the new state commitment, a short fingerprint of all balances such as a Merkle root, go to a contract on the base chain. The contract accepts the update only if the proof checks out.
- The transaction data goes to a data availability provider, often a committee of named organizations. Members sign statements that they hold the data, and the contract may require a set number of signatures.
Because the proof is checked before an update is accepted, a validium needs no challenge period, unlike an optimistic rollup. Withdrawals can finish as soon as a proof is accepted.
Trust assumptions and risks
The main risk is data withholding. A user who wants to leave the system, or to prove a balance, needs the data behind the latest state to build a withdrawal proof. If the committee or operator refuses to release it, or loses it, funds can be frozen even though the proofs were valid. Some designs add an escape mechanism, but it depends on the data being available. A related risk is censorship: the operator decides which transactions to include and users have fewer options if it refuses them.
Designs reduce these risks in several ways. A larger or more varied committee lowers the chance of collusion. Data can be spread across several providers with erasure coding. A volition design lets each user pick, per transaction or per account, whether the data goes on the base chain, which costs more but is safer, or off it. Some projects use a dedicated data layer such as Celestia instead of a committee.
Where validiums are used
Validiums suit applications with many small, frequent actions where fees matter more than the strongest data guarantee. StarkWare's StarkEx system offers a validium mode that applications such as Sorare, a fantasy sports game, and Immutable X, a gaming platform, have used. Related designs include chains built on Polygon and ZKsync that post proofs to Ethereum and keep data elsewhere. For the optimistic equivalent, which uses fraud proofs and keeps data off chain, see optimium. Wider context is under layer 2 networks and blockchain scalability.
External links
Ref 1070001426