Understandings rollups
The main idea behind rollups is to move many transactions and smart contract executions off-chain, while still maintaining their security and trustlessness. They do this by using a smart contract on the Ethereum blockchain to record the results of off-chain transactions and smart contract executions.
In a rollup, multiple transactions are grouped or batched together and then rolled up into a single transaction on the Ethereum blockchain. This reduces the number of transactions that need to be recorded on the blockchain, increasing the scalability of the network.
Figure 16.3 shows a high-level overview of how a rollup technology works with Layer 1 and Layer 2 networks working in parallel and L2 posting transaction blocks into Layer 1 and L1, posting receipts back to L2.
Figure 15.3 – Rollups
The rollup smart contract is responsible for verifying that the off-chain transactions and smart contract executions are valid and...