From Rollup to Validium With Polygon Avail

Rollups scale Ethereum by providing a separate layer where transactions can be executed. But they still rely on the mainnet to store transaction data, which is costly and eats up valuable blockspace. Polygon Avail is a modular data availability blockchain that solves this problem by taking the data off chain, helping bring the vision of a billion users on Ethereum closer to reality.

This article explains what makes Avail superior to the common alternative to storing data on-chain, how it can massively decrease costs and why rollups should use this solution to become something more -- to become Validiums.

Avail Validium

A ZK rollup is a Layer 2 scaling solution that executes transactions off-chain and uses zero knowledge cryptography to create a proof of the execution. It then submits both the proof and all of the individual transactions to Ethereum. Posting transaction data onto the mainnet represents 80-95% of the rollup’s costs.

A Validium is a ZK rollup that still sends the proofs to Ethereum, but takes transaction data off chain. Posting the transactions to Avail, which is hyper optimized for data availability alone, allows the rollup to increase throughput and decrease costs. This, in turn, solidifies Ethereum’s role as the settlement layer while freeing up block space.

Modular blockchains primer: Understanding Polygon Avail & Modular Blockchains Through Metaphors

Avail vs Data Availability Committees

Until now, the most common way to take data availability off-chain has been to use a Data Availability Committee (DAC). These are small groups of institutions whose core function is to post signatures back to Ethereum attesting to the availability of the data off-chain. They are responsible for ensuring data is always accessible and sharing it publicly should the rollups they provide DA for act maliciously.

While that’s one way to arrive at a Validium, this approach introduces significant risks because it relies on this small group to continue storing and reporting data honestly. Block producers can freeze a blockchain, preventing any users from withdrawing funds from the network, by hiding transaction data. The likely attack vector here would be demanding a ransom from users to bring the network back online.

Avail is itself a blockchain with its own set of validator nodes, block producers, and consensus mechanisms. While DACs today have as few as 5 participants, Avail plans to have hundreds of nodes acting in concert to provide network security. Additionally, the network will be permissionless, allowing anyone to join as a validator.

One of the most unique aspects of using a blockchain as a data availability layer is that it’s capable of multiplexing. This is just a fancy term meaning it can store transaction data for any number of execution environments built on top of it.

DACs are also typically tied to a single execution environment, limiting fee collection for its validators to one chain. Avail validators, on the other hand, can take full advantage of multiplexing and get exposure to all of the chains that use the solution. This starts a positive feedback loop as more execution environments build on Avail’s neutral data layer, inspiring in turn more validators to join the network to get exposure to more dApps and environments.

DA on Avail is not reliant on validators alone as any light client can also contribute to keeping data available. The consensus requirement on Avail is that two thirds plus 1 of the validators come to an agreement. An attestation to that consensus is what is then submitted to Ethereum.

Any network can then either identify unavailable data with statistical certainty by running a light client capable of performing data availability sampling, or by checking the attestation provided by the Avail validators on Ethereum (or any other party independently checking for availability). Avail can automatically slash the stake of the block producers acting maliciously (e.g., double signing, finality reversal attempts, etc.).

Short of storing your transaction data directly on Ethereum, Avail aims to be the most secure way to maintain data availability guarantees. Avail testnet is coming in Q2 and the team will be sharing more education, content, and tech deep-dives over the course of the coming weeks. 

If you want to learn more about how to use Avail to optimize your rollup or application, or just want to ask us a question directly, we would love to hear from you. Check out our repository, join our Discord server, or email us at [email protected].

Let’s bring the world to Ethereum!

Website | Twitter | Ecosystem Twitter| Developer Twitter | Studios Twitter | Telegram | Reddit | Discord| Instagram | Facebook | LinkedIn

More from the Polygon Blog
Polygon Reaches First Sustainability Milestone by Achieving Network Carbon Neutrality

Polygon has made a major first step toward becoming carbon negative with the retirement of $400,000 in carbon credits representing 104,794 tonnes of greenhouse gasses, or the entirety of the network’s CO2 debt since inception.  The milestone comes after Polygon in mid-April released its Green Manifesto, part of its broader vision for sustainable development. The […]

Read More
State of Governance #2: Identity & Reputation

Clink Clank For a period of time, democracy in ancient Athens was exercised in a peculiar way.* Every eligible voter, when entering the hall, would receive a single pebble to be cast in one of two urns during assembly, signifying approval or disapproval on an issue. Athenians, understanding the significance of votes being cast anonymously, […]

Read More
Accelerating the Energy Transition With Reneum on Polygon

Given the urgency of the climate crisis, it may come as a surprise that the fossil fuel industry receives about half a trillion dollars a year in government subsidies. The truly shocking part is that renewable energy alternatives get less than a third of that. Reneum is trying to right the imbalance by using blockchain […]

Read More
Polygon Funds Web3 Development With $100,000 Pledge to Gitcoin Grants Round 14 

Polygon is donating $100,000 to Gitcoin Grants Round 14 to ramp up the on-going support for new projects building on the Polygon ecosystem. The core team has already pledged $1 million to Gitcoin over five quarterly grants until December 2022 in order to help and encourage the growth of Web3. Who is eligible Applications for […]

Read More
Why Neobanks Will Lead TradFi’s Shift to Web3

Conventional wisdom has it that traditional finance (TradFi) and decentralized finance (DeFi) go together like vampires and garlic. But there is one area of TradFi where that black-and-white picture shades into gray. This is the case for why neobanks will be key to bridging these two worlds. Neobanks, or digital banks, are basically banks without […]

Read More