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.

🔗 Связанные термины

Предварительные знания:

📚 Источники