rollups
Rollups は、トランザクションをオフチェーンで実行し、トランザクションデータをメインチェーン上の単一のトランザクションにバンドルする Layer-2 スケーリングソリューションであり、スループットを向上させ、コストを削減します。
Rollups は、メインブロックチェーン(Layer 1)外でトランザクションを処理することにより、ブロックチェーンのスケーラビリティを向上させます。複数のトランザクションを単一のトランザクションにバンドルし、それを Layer 1 に送信することで、メインチェーンの計算負荷を軽減します。このアプローチにより、トランザクションのスループットが大幅に向上し、ユーザーのガス料金が削減されます。Rollups には、optimistic と zero-knowledge(ZK)の 2 つの主要なタイプがあり、それぞれセキュリティ、速度、および複雑さの点で異なるトレードオフがあります。
Optimistic rollups は、デフォルトでトランザクションが有効であると仮定し、トランザクションが異議申し立てられた場合にのみ不正の証明を実行します。一方、ZK-rollups は、暗号化された証明を使用してトランザクションを検証し、より強力なセキュリティ保証を提供しますが、多くの場合、計算オーバーヘッドが高くなります。これらの rollup タイプの選択は、特定のアプリケーションの要件と優先順位によって異なります。
graph LR
Center["rollups"]:::main
Pre_logic["logic"]:::pre --> Center
click Pre_logic "/terms/logic"
Rel_bridges["bridges"]:::related -.-> Center
click Rel_bridges "/terms/bridges"
Rel_layer_1["layer-1"]:::related -.-> Center
click Rel_layer_1 "/terms/layer-1"
Rel_optimistic_rollup["optimistic-rollup"]:::related -.-> Center
click Rel_optimistic_rollup "/terms/optimistic-rollup"
classDef main fill:#7c3aed,stroke:#8b5cf6,stroke-width:2px,color:white,font-weight:bold,rx:5,ry:5;
classDef pre fill:#0f172a,stroke:#3b82f6,color:#94a3b8,rx:5,ry:5;
classDef child fill:#0f172a,stroke:#10b981,color:#94a3b8,rx:5,ry:5;
classDef related fill:#0f172a,stroke:#8b5cf6,stroke-dasharray: 5 5,color:#94a3b8,rx:5,ry:5;
linkStyle default stroke:#4b5563,stroke-width:2px;
🧠 理解度チェック
🧒 5歳でもわかるように説明
Think of rollups like a group of friends doing many small chores together off to the side, then reporting back to the main boss with a single summary of all the work done, saving the boss a lot of time and effort.
🤓 Expert Deep Dive
Rollups represent a key strategy in the blockchain scalability trilemma, prioritizing scalability and security at the expense of decentralization in some aspects (e.g., sequencer centralization). The fundamental design relies on the principle of 'somewhere' (computation off-chain) and 'settlement' (data posted and verified on Layer-1). Data availability is a critical component; rollups must ensure that the transaction data is accessible on Layer-1 (or via a decentralized data availability layer) so that verifiers can reconstruct the state and generate proofs or challenge invalid transitions. For Optimistic Rollups, the security model is based on the assumption that at least one honest party will monitor the state and submit fraud proofs if necessary. For ZK-Rollups, security is derived from the cryptographic integrity of the zero-knowledge proofs, which are computationally infeasible to forge. The choice between Optimistic and ZK rollups involves a complex analysis of factors including proof system maturity, prover costs, verifier costs on L1, and the desired user experience regarding finality and withdrawals.