rollups

Rollups - це рішення масштабування Layer-2, які виконують транзакції поза ланцюгом, а потім об'єднують дані транзакцій в одну транзакцію в основному ланцюзі, покращуючи пропускну здатність і зменшуючи витрати.

Rollups покращують масштабованість блокчейну, обробляючи транзакції за межами основного блокчейну (Layer 1). Вони об'єднують кілька транзакцій в одну транзакцію, яка потім надсилається до Layer 1, зменшуючи обчислювальне навантаження на основний ланцюг. Цей підхід значно збільшує пропускну здатність транзакцій і знижує комісії за газ для користувачів. Існує два основних типи rollups: optimistic та zero-knowledge (ZK) rollups, кожен з яких має різні компроміси з точки зору безпеки, швидкості та складності.

Optimistic rollups за замовчуванням вважають транзакції дійсними і виконують докази шахрайства лише у випадку оскарження транзакції. ZK-rollups, з іншого боку, використовують криптографічні докази для перевірки транзакцій, забезпечуючи більш надійні гарантії безпеки, але часто з більшими обчислювальними витратами. Вибір між цими типами rollups залежить від вимог і пріоритетів конкретної програми.

        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;

      

🧠 Перевірка знань

1 / 3

🧒 Простими словами

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.

🔗 Пов'язані терміни

Попередні знання:

📚 Джерела