rollups
롤업은 트랜잭션을 오프체인에서 실행한 다음 트랜잭션 데이터를 메인 체인의 단일 트랜잭션으로 묶어 처리하여 처리량을 개선하고 비용을 절감하는 레이어 2 확장 솔루션입니다.
롤업은 메인 블록체인(레이어 1) 외부에서 트랜잭션을 처리하여 블록체인 확장성을 향상시킵니다. 여러 트랜잭션을 단일 트랜잭션으로 묶어 레이어 1으로 전송하여 메인 체인의 계산 부하를 줄입니다. 이 접근 방식은 트랜잭션 처리량을 크게 늘리고 사용자의 가스 수수료를 낮춥니다. 롤업에는 크게 optimistic 및 zero-knowledge(ZK) 롤업의 두 가지 유형이 있으며, 각 유형은 보안, 속도 및 복잡성 측면에서 서로 다른 트레이드 오프를 갖습니다.
Optimistic 롤업은 기본적으로 트랜잭션이 유효하다고 가정하고 트랜잭션에 이의가 제기된 경우에만 부정 증명을 실행합니다. 반면, ZK 롤업은 암호화 증명을 사용하여 트랜잭션을 검증하여 더 강력한 보안 보장을 제공하지만, 종종 더 높은 계산 오버헤드가 발생합니다. 이러한 롤업 유형 간의 선택은 특정 애플리케이션의 요구 사항과 우선 순위에 따라 달라집니다.
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.