# Rollup Technology

Rollup technology mainly includes ZK Rollup and Optimistic Rollup, which are currently the most mainstream Layer 2 scaling solutions for Ethereum.

Both of them have different advantages and limitations in the current application scenarios For Optimistic Rollup, it is fully compatible with EVM so it is very convenient for existing Ethereum Dapps to complete the migration, but it relies on a long waiting period for the transaction validation, and on-chain transactions take a long time to be confirmed.

For ZK Rollup, its security model relies on zero-knowledge proof of cryptography, andon-chain confirmation of transactions can be completed as long as the relevant zero knowledge proof is verified However, due to the complexity of the zero-knowledge proof.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://labxdocs.gitbook.io/labx.protocol.io/rollup-technology.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
