> For the complete documentation index, see [llms.txt](https://docs.rome.builders/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.rome.builders/zh/rome-zk-evm/zk-evm.md).

# 概览

运行一个 EVM rollup，其交易数据和已证明的状态根在 Solana 上结算。

Rome ZK EVM 让你在 Solana 上运行自己的 EVM rollup。你的排序器执行交易，批处理器按批次将其提交到 Solana。证明器使用 ZisK 运行该链的 batch guest。Solana 验证明证并记录新的状态根。经证明的根在提交它的交易中即为最终确定。

Solana 存储交易数据，验证证明并结算这些根。该链不依赖独立的数据可用性委员会或另一条结算链。你为你的链运行节点、批处理器和证明器。Rome 的共享程序在 Solana devnet 上处理结算。

本节涵盖 **v0.3.0**。代码和完整的运维文档公开于 [solana-zk-evm](https://github.com/rome-protocol/solana-zk-evm/tree/v0.3.0)。batch guest 位于 [rome-zk-guest](https://github.com/rome-protocol/rome-zk-guest/tree/v0.3.0)。首先从 [运行一个 rollup](/zh/rome-zk-evm/run-a-rollup.md) 如果你想启动一条链。

## devnet 上可用的内容

任何人都可以在 Solana devnet 上注册一条链。注册会锁定 5 SOL 押金，并创建该链的结算账户。要提交一个已证明的根，该链需要一个针对其创世块构建的 guest，以及由 Rome 注册的验证密钥。每个已证明的根需支付 0.001 SOL 结算费，另加 Solana 手续费和账户租金。

在该链的第一个最终根或已提交的十个根之后，押金即可退还给链权限方。若该链在注册后约 30 天内未提交任何根，任何人都可以认领该押金，押金将归入国库。

Rome 在自己的一条链上完成了 v0.3.0 devnet 指南，从注册到押金退款。以下是该次运行中的交易：

| 步骤                     | Solana devnet 交易                                                                                                                                            |
| ---------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 一个已证明的根，提交后即最终确定       | [`64uUhxFu…MpDGFr`](https://explorer.solana.com/tx/64uUhxFu9C48mqYd9rZTcfbEwvTB7C4PmSFWkY6feB8qsqJZNMh3gM8ZKM6woSsyjRgntqujSsHuCB2TGYMpDGFr?cluster=devnet) |
| 退出配置已激活                | [`2yyQrpv9…h1aSds`](https://explorer.solana.com/tx/2yyQrpv9CHQg7n5exxwERNYMEPDcm9gaPZje4jAv2Y2HHQ9DsPjbCDRbeLWoCZMwVv5UA6rohtJeQ1KZXRh1aSds?cluster=devnet) |
| 押金队列已开启                | [`4tpfJKTV…XJbb9F`](https://explorer.solana.com/tx/4tpfJKTVmhvUnhH822JficbJrDJZHknBJ9rwmux5R17HLj6WGniuRCXd9wQ8jSzjVa9uTDm4g3f369QQnkXJbb9F?cluster=devnet) |
| 在区块 191 中存入并记入 0.1 SOL | [`5jKNqid8…VjYy67`](https://explorer.solana.com/tx/5jKNqid8XsqMedKBgm6dM5cSnszA7yFxa9xgm4MyGE45RcxthTkEZ9k1yGpzaPzqKGhN7CDz7iLAMMNFrfVjYy67?cluster=devnet) |
| 已证明一笔 0.03 SOL 提现      | [`3p8RhJJU…3rNDNz`](https://explorer.solana.com/tx/3p8RhJJUrvTxKrmtCJM1uZe2K6oLMw7cASoNQTm4RrMw6s1SrFeXWvws1D74UhnnRVPoevfhHmyNvkPGca3rNDNz?cluster=devnet) |
| 该提现已支付给其接收方            | [`3dMpiQRX…nSVAz9`](https://explorer.solana.com/tx/3dMpiQRXgLBoNbBmKmz6qBVXfdX7EC9YwajQ35uGg1fzSb9HryH3awqrqx1fAEpsGfQPEDQrwUepgGtEkrnSVAz9?cluster=devnet) |
| 注册押金已退还                | [`3YgyfLL2…zQk7wp`](https://explorer.solana.com/tx/3YgyfLL2bze6uefnUx3x76etTAu9WxQ3L2S8oNkKdSc3bBY7aHfWTZtrs1qDKxiJTMwA6i3LxRYTBC9n3RzQk7wp?cluster=devnet) |

该提现于区块 192 在链上发起，并在大约四分钟后在 Solana 上完成支付。大部分时间用于关闭并证明其批次。退出证明器随后证明了该提现，并从该链的金库中发出了付款。 [存款和提现](/zh/rome-zk-evm/deposits-and-withdrawals.md) 说明了限制，以及何时小额付款需要手动释放。

## 本次发布的限制

这是一个 devnet 版本。Rome 拥有这些共享程序的升级权限，并可在不事先通知的情况下进行升级。请查看 [信任模型](/zh/rome-zk-evm/trust-model.md) 然后再将资金放入某条链的金库。

默认设置不会关闭旧的 inbox 批次、其分块或待处理根账户。它们的租金会继续被锁定。虽然存在待处理账户关闭设置，但默认关闭，因为退出可能仍需要较早的最终根。v0.3.0 中没有任何内容会发送 inbox 的 `关闭批次` 指令。这也会让存款记录的租金保持锁定，直到批次权限方关闭记账批次。Rome 还未决定旧批次数据需要在 Solana 上保留多久。

用户依赖运营方来保持排序器运行、提交批次并发送证明。有效证明不会自动提交；链权限方必须签署提交该证明的交易。没有证明器的链没有最终根，包括创世时也没有，因此无法完成提现。请阅读 [工作原理](/zh/rome-zk-evm/how-it-works.md) 以了解从一个区块到最终根的路径。

## 代码和帮助

该 [v0.3.0 仓库 README](https://github.com/rome-protocol/solana-zk-evm/blob/v0.3.0/README.md) 链接了组件文档、运维手册和发布说明。如有问题，请使用 [GitHub Discussions](https://github.com/rome-protocol/solana-zk-evm/discussions)。如遇漏洞或请求验证密钥，请使用 [问题表单](https://github.com/rome-protocol/solana-zk-evm/issues/new/choose)。如遇安全问题，请遵循 [SECURITY.md](https://github.com/rome-protocol/solana-zk-evm/blob/v0.3.0/SECURITY.md) ，不要公开提交 issue。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.rome.builders/zh/rome-zk-evm/zk-evm.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
