Ethereum has limited verifiable resources. Layer-2 systems aim to improve throughput while preserving a connection to base-layer security.
How rollups work
Rollups process many transactions outside Ethereum Mainnet and submit data or proofs to the base layer. Batching may reduce the cost of each transaction, but not every system provides identical guarantees.
Optimistic and ZK rollups
Optimistic rollups initially assume execution results are correct. Invalid state transitions may be challenged within a specified period. Withdrawals may therefore involve waiting.
ZK rollups use cryptographic validity proofs. Ethereum can verify that the rules were followed without repeating every operation. Producing those proofs requires resources of its own.
What matters before use
Who can upgrade the code? Where are transaction data published? What happens if a sequencer stops? How do bridges and withdrawals work? Low fees are only one dimension. Data availability, independent verification and additional risks also determine whether a system is suitable for a particular use case.
What reaches the base layer in a rollup
A rollup groups many operations instead of executing each individual transaction entirely on Ethereum. Depending on the design, data and proofs are published to the base layer. An optimistic rollup assumes valid state transitions under certain conditions and provides mechanisms to challenge them. A ZK rollup uses cryptographic validity proofs. Both models have assumptions of their own, and the particular implementation matters.
Cheaper execution does not imply that every application has exactly the security properties of an ordinary Ethereum transaction. A bridge may have special administrative powers, and a sequencer may affect transaction ordering or become unavailable. Returning to the base layer also follows specific rules.
A comparison from the user's perspective
Someone transferring a token between two addresses on the same layer-2 platform may pay little. If the recipient needs the assets on another network, an additional transfer or conversion is necessary. The price of a single transaction is then not the entire cost of use.
A useful comparison considers execution fees, data costs, liquidity, possible waiting times and dependence on individual services. That is why layer-2 networks cannot be assessed simply from a fee table. They extend the design space for applications while introducing further decisions about infrastructure and security.
A transaction's journey across layers
Consider a simplified example: an application receives a payment on a rollup. First the user receives confirmation from the rollup's infrastructure. Information concerning its state or transactions is subsequently published to the base layer in the form required by that system. Depending on the design, the time until relevant proofs are available and withdrawals become possible through the intended route varies.
A quick notification in a wallet and final settlement on the base layer are therefore different events. The significance of an early confirmation depends on the system and the payment's purpose. A merchant delivering a digital product immediately may have different requirements from a company transferring a substantial sum.
Interoperability is a task of its own
When assets exist across several networks, another practical challenge emerges. Users need to understand which network holds a token, what form it takes and which infrastructure can transfer it. A mistaken identification can cause considerable difficulty even when both networks work correctly.
A bridge may have its own rules for custody, validity proofs and withdrawals. It is not simply another menu option in a wallet. Long-term scaling involves not only capacity but understandable interfaces, security and handling interactions among networks.
Sources and further reading
These links lead to original documents and further reading.