What is a rollup?
A rollup is one of the main ways to increase the capacity of a blockchain network while keeping most of the security of its main chain. Rollups address a structural problem of decentralized networks: as users, transactions and applications grow, the network has to handle more operations without costs and confirmation times shooting up. A rollup executes transactions off the main chain and then sends the main chain the information needed to verify the results.
The basic idea
A rollup separates transaction processing from final settlement. A blockchain such as Ethereum acts as the base layer that provides security, data availability and dispute resolution, while a separate system processes large volumes of operations. The rollup does not record each transaction on the main chain one by one. It groups many of them and publishes a compact version of the batch. The name comes from this: many transactions are "rolled up" into a single structure.
This can greatly reduce the data and operations that the main layer has to handle directly. The point is to use the execution capacity of a secondary system while keeping the guarantees of the base network, instead of building yet another faster blockchain. The result is a layered infrastructure where each part has its own job. The main chain still handles security and settlement, and the rollup does most of the execution.
How it works
It helps to separate three things: execution, data and verification. When a user makes a transaction on a rollup, nodes or sequencers that run the secondary network may process it. Transactions are ordered, executed and grouped into batches. The system then publishes some data to the main chain, along with information showing that the rollup's new state matches the operations carried out. The main blockchain keeps a verifiable reference to the rollup without having to redo the computation for every transaction.
The sequencer is one of the most important pieces. In many current rollups, a single entity or a small group of operators runs it, so the role is fairly centralized. The sequencer receives transactions, decides their order and produces the batches that are later published. This can improve performance and keep the infrastructure simple, but it raises questions about censorship, uptime and decentralization. Part of rollup development is aimed at reducing these dependencies and gradually spreading some of these functions across more participants.
Optimistic rollups
There are two main families of rollups: optimistic rollups and zero-knowledge (ZK) rollups. They have similar goals but use different mechanisms to make sure the network state is correct. Optimistic rollups assume that published batches are valid unless someone proves otherwise. After a new state is recorded, there is a period during which any participant who spots an incorrect transition can submit a fraud proof.
This keeps processing fairly efficient, since the main network does not have to check every operation right away with a complex cryptographic proof. Security depends, among other things, on someone actually being able to challenge a fraudulent transition. In practice, this means some withdrawals to the main chain can involve long waiting periods when fraud proofs are part of the design. The details depend on each protocol and its security design.
Zero-knowledge rollups
Zero-knowledge rollups work differently. Instead of assuming transitions are correct and allowing challenges afterward, they generate cryptographic proofs showing that a set of transactions was executed correctly. These proofs use zero-knowledge techniques, and the main chain can verify them without redoing the whole computation. "Zero knowledge" has a precise meaning here: the proof shows a result is valid without necessarily revealing all the information used to produce it.
This technology has led to more and more advanced systems that can compress large amounts of activity into fairly small proofs. That efficiency comes with substantial cryptographic and engineering complexity. Generating proofs can take a lot of computing power, especially for large workloads, so specialized hardware, algorithms and architectures have become an important area of work around rollups.
Data availability and security
A rollup's security does not depend only on the code that processes transactions. It also depends on where the data needed to rebuild the state and check activity are stored. A validity proof can guarantee that a transition is correct, but users still need access to the information required to understand and reconstruct that state. That is why data availability is one of the central parts of any scaling design based on rollups.
The link to the main chain is also what separates a rollup from a typical sidechain. Both process operations off the main chain, but their security models differ. A sidechain usually has its own consensus system and its own set of validators. A rollup is designed to rely directly on the main chain for core parts of its security and settlement, so the two should not be treated as variants of the same technology.
Limits and open problems
Rollups have also changed how blockchains are designed. Instead of one chain processing every operation directly, newer designs tend to be modular, with different layers doing different tasks. Execution can move to specialized environments, while the main layer keeps settlement, consensus and data availability. Systems built this way can handle more activity without every operation running on the same infrastructure.
The benefits can be large, but scalability problems do not disappear. Grouping many operations can lower transaction costs, but the final price depends on main-chain fees, the size of the published data, the compression method and how busy the network is. A rollup is not automatically fully decentralized either. How the sequencer is distributed, how contracts can be upgraded, whether transactions can be censored and what administrative powers exist all need to be checked separately.
Interoperability is another issue. When several rollups run on the same blockchain, users can end up with activity split across different environments. Moving assets between them requires bridges, interoperability mechanisms or systems that can pass state between networks. That adds complexity and sometimes new risks. The long-term aim is for users to barely notice all these layers.
Where rollups fit
Rollups change how blockchain scaling is approached. They are meant to extend the main chain, with much of the execution happening outside it, rather than to replace it. A general-purpose blockchain becomes a security and settlement layer, and many specialized execution systems run on top of it.
To sum up, a rollup groups and executes transactions off the main chain and uses that chain to secure, publish or verify the results. This lets a network process more without giving up the security of an established blockchain. Optimistic rollups and zero-knowledge rollups are two approaches to the same goal, each with its own advantages, costs and trade-offs. How they develop will shape the design of decentralized networks, especially as these networks move beyond transfers of digital assets to support financial applications, markets, video games, digital services and other large-scale economic activity.