> 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/canton-zk-evm/canton-zk-evm.md).

# 概览

Ostia 是运行在 Canton 上的 ZK EVM。目前已在 Canton Network TestNet 上开放，且每个区块都会在提交前完成证明。

> **本节介绍的是 Ostia，而不是运行于 Solana 上的 Rome EVM。** 本网站其他位置的通用页面介绍的是运行于 Solana 上的 Rome EVM（Hadrian 和 Rubicon）。如果这些页面与 Ostia 有所不同，请以本节内容为准。举例来说：WebSocket 订阅指南不适用于 Ostia，因为 Ostia 的 RPC 仅支持 HTTP，地址为 `https://ostia.testnet.romeprotocol.xyz/rpc` （通过轮询 `eth_getLogs`）；Ostia 的链 ID 为 770101；若要报告 Ostia 的安全问题，请使用 GitHub 的私密报告渠道（参见 [信任模型与限制](https://docs.rome.builders/zh/canton-zk-evm/trust-model.md#report-a-security-problem)).

Ostia 是运行于 Canton 上的 ZK EVM，链 ID 为 **770101** ，测试代币为 **tROME**。Canton 负责对其 EVM 区块排序。零知识虚拟机 ZisK 会在每个区块提交之前为其生成证明。一笔 Canton 交易会承载区块、区块证明以及所需的 Canton 操作。它们要么一并完成结算，要么都不会提交。

如今即可使用。该链自 **2026-10-22**起上线，最初运行于 Canton Network DevNet，并自 **2026-11-21**起运行于 Canton Network TestNet。你可以使用 Foundry 或 Hardhat 部署 Solidity 合约，在公共区块浏览器中读取区块，在浏览器中检查区块证明，在浏览器的 [外部调用](https://docs.rome.builders/zh/canton-zk-evm/explorer.md#external-calls) 页面跟踪每个区块在 Canton 上的提交情况，并通过 [桥](https://docs.rome.builders/zh/canton-zk-evm/bridge.md)转移代币。开发者可以通过 [开发者资助](https://docs.rome.builders/zh/canton-zk-evm/testnet.md#the-builder-grant).

初次了解？ [从这里开始](https://docs.rome.builders/zh/canton-zk-evm/start-here.md) 会为每位读者指引合适的页面和代码。

## 开源

Ostia 根据 Apache License 2.0 开源，版权归 Rome Protocol 所有，© 2026。所有代码均位于一个公开仓库中： [rome-protocol/canton-zk-evm](https://github.com/rome-protocol/canton-zk-evm)：包括链、构建器、网关合约、Daml 软件包、sidecar、证明器脚本、区块浏览器、演示程序，以及用于账户、双生代币和场外交易平台的应用。仓库中的 NOTICE 文件列出了第三方组件，这些组件仍受各自许可证约束。该许可证不授予对 Rome、Rome Protocol 和 Ostia 名称及 Rome 徽标的任何权利。欢迎依据 Developer Certificate of Origin 提交贡献；详见 [CONTRIBUTING.md](https://github.com/rome-protocol/canton-zk-evm/blob/main/CONTRIBUTING.md).

你可以自行完成的事项：

* 在 TestNet 上部署并验证合约，以及使用桥。
* 在浏览器中检查任意区块的证明，并访问无需密钥即可使用的开放 API。
* 通过比较代码哈希，确认金库使用的是经过审查的构建版本；并根据源代码复现 guest 的程序密钥。
* 在本地 Canton 网络上运行自己的 Ostia，可使用证明器或其替代实现；并运行其中除 Canton Coin 之外的所有组件，详见 [使用 Canton 构建](https://docs.rome.builders/zh/canton-zk-evm/build-with-canton.md) 。Canton Coin 需要 Canton Network 验证器。若要使用它，请在自己的验证器参与方上运行 Ostia（参见 [运行自己的 Ostia](https://docs.rome.builders/zh/canton-zk-evm/run-it-locally.md#run-on-an-existing-participant)).

在 TestNet 上，Rome 负责运行构建器、证明器和确认参与方，因此你无法确认 TestNet 的区块、运行其证明器，也无法强制提交交易。

## 你可以构建什么

Ostia 可运行你的 EVM 合约，并在同一区块中连接到 Canton。你可以部署 Solidity 应用，将 Canton Coin 用作 ERC-20，将 ERC-20 作为双生代币放到 Canton 上（目前由 Rome 参与方上的账户持有），将 ERC-20 付款与 Canton 分配关联起来，还可以通过交易平台将 Canton 代币兑换为 ERC-20。 [使用 Canton 构建](https://docs.rome.builders/zh/canton-zk-evm/build-with-canton.md) 介绍各个组件，并说明目前哪些组件可以自行运行；而 [使用场景](https://docs.rome.builders/zh/canton-zk-evm/use-cases.md) 则列出目前在 TestNet 或自建网络上可用的功能。

## 已在 Canton TestNet 上线

|       |                                                                                        |
| ----- | -------------------------------------------------------------------------------------- |
| 网络    | Ostia TestNet                                                                          |
| 链 ID  | `770101`                                                                               |
| RPC   | `https://ostia.testnet.romeprotocol.xyz/rpc`                                           |
| 区块浏览器 | [ostia.testnet.romeprotocol.xyz](https://ostia.testnet.romeprotocol.xyz)               |
| 水龙头   | [ostia.testnet.romeprotocol.xyz/faucet](https://ostia.testnet.romeprotocol.xyz/faucet) |
| 桥     | [bridge.ostia.testnet.romeprotocol.xyz](https://bridge.ostia.testnet.romeprotocol.xyz) |

[Ostia TestNet](https://docs.rome.builders/zh/canton-zk-evm/testnet.md) 包含完整的网络详情和钱包设置。 [在 Ostia 上构建](https://docs.rome.builders/zh/canton-zk-evm/build-on-ostia.md) 介绍如何部署和验证合约。

## 当前运行情况

在 TestNet 上，EVM 合约按照以太坊规则运行，规则版本截至 Osaka，但存在少数差异，详见 [与以太坊的差异](https://docs.rome.builders/zh/canton-zk-evm/evm-differences.md)。每个区块都由 ZisK 生成证明，并作为一笔 Canton 交易提交。公共 RPC 会在区块于 Canton 上最终确定后显示该区块。区块浏览器会在每个区块旁显示对应的 Canton 记录，并提供浏览器内的 Verify 按钮。水龙头每天向每个地址发放 1 tROME，并向使用 GitHub 登录的构建者发放 100 tROME（参见 [构建者资助](https://docs.rome.builders/zh/canton-zk-evm/testnet.md#the-builder-grant)）。区块浏览器会验证合约源码，其 [外部调用](https://docs.rome.builders/zh/canton-zk-evm/explorer.md#external-calls) 页面会展示每个区块如何在 Canton 上提交，以及结算时间和尝试次数。

通过网关合约进行的 Canton 存款、取款和支付自 2026-10-25 起在 DevNet 上运行，由 Rome 使用 Canton 测试代币（TKB，包装为 wTKB）和测试参与方运行。在 TestNet 上，Rome 的测试参与方通过网关存入和取出 Canton Coin。你可以在区块浏览器上查看各个环节。这些功能也曾在 2026-10-05 的演示中运行，当时使用的是本地 Canton 网络。 [存款、取款和支付](https://docs.rome.builders/zh/canton-zk-evm/deposits-withdrawals-payments.md) 介绍了它们的工作方式和已运行的内容。

资产也可以双向转移。Ostia 上的 ERC-20 可通过金库在 Canton 上作为孪生资产存在；Canton Coin 则可作为 CC 代币转入 Ostia，并可转回。在 2026-11-08 至 2026-11-17 期间，你可以在 DevNet 上亲自体验此功能：Bridge 通过一次钱包签名创建 Canton 账户。该 Bridge 账户现已停用。将你已有的 Canton 钱包连接到 Bridge 的功能尚未开放：其按钮显示“即将推出”。参见 [Bridge](https://docs.rome.builders/zh/canton-zk-evm/bridge.md)。区块浏览器的 [`/twins`](https://ostia.testnet.romeprotocol.xyz/twins) 页面会显示每个孪生资产的供应量，以及金库持有的对应数量。

Rome 的 TestNet 验证器运行 Splice 0.10.1 和 Canton 3.7.2。

网关合约会将每个区块中发往 Canton 的请求记录为各个环节。存款会锁定 Canton 代币，并在 EVM 上铸造其包装形式。取款会销毁包装形式，并释放 Canton 代币。通过网关进行支付时，会执行各方同意用于该笔支付的 Canton 分配操作。 [工作原理](https://docs.rome.builders/zh/canton-zk-evm/how-it-works.md) 逐步追踪区块所需的检查流程。

## 证据

**吞吐量，2026-10-25。** 在 Daml 软件包 0.2.0 之后，简单转账在稳定状态下达到每秒 64 笔（在 DevNet 上测得）；每个区块包含 1,428 笔，此时受到 30,000,000 gas 上限的约束。在 0.2.0 之前，混合负载约为每秒 10.9 笔，此后尚未重新测量。简单转账是成本最低的交易，因此这个数据不代表合约密集型流量。参见 [测量结果](https://docs.rome.builders/zh/canton-zk-evm/measurements.md).

**一小时混合流量，2026-10-24。** 公共 RPC 接受了 **13,496 笔交易** 这些交易由负载驱动程序提交，位于第 224 至 448 号区块（共 225 个区块）。它们全部最终确定。负载涵盖 ERC-20、ERC-721、ERC-1155、ERC-3643 许可型代币、Uniswap V2 兑换，以及对 TACEO Merces 合约的调用；这些合约所需的 Groth16 证明由客户端生成，并在链上验证。在十分钟统计窗口内，速率为每秒 1.95 至 4.58 笔。限制因素是单个客户端的 RPC 配额，而非链本身，因此本次测试未能测出链的极限。对于包含 11 至 100 笔交易的区块，证明耗时中位数为 9.03 秒；区块生成后，最终确定耗时中位数为 11.01 秒。从 RPC 接受交易到该交易所在区块最终确定，耗时中位数为 19.5 秒，第 95 百分位数为 27.1 秒。请阅读 [本次运行的结果](https://github.com/rome-protocol/canton-zk-evm/blob/v0.1.0/load/mixed/RESULTS-2026-10-24.md) ，了解各类交易的数量以及未成功的项目。

**结算演示，2026-10-05。** 在配备一块 NVIDIA RTX PRO 6000 Blackwell Server Edition GPU 的本地 Canton 网络上，一个设置区块和五次运行均通过了检查：一次存款、一次支付、一次取款、一次证明后被收回的分配，以及一次被 Canton 拒绝的篡改证明。证明耗时为 6.71 至 6.75 秒。 [测量结果](https://docs.rome.builders/zh/canton-zk-evm/measurements.md) 页面包含结果表，并分别列出证明耗时、构建者耗时和证明器基准测试。 [演示结果](https://github.com/rome-protocol/canton-zk-evm/blob/v0.1.0/demo/README.md#results) 说明了各项检查， [结果文件夹](https://github.com/rome-protocol/canton-zk-evm/tree/v0.1.0/demo/results) 则保存了记录和证明。

## 状态

Ostia TestNet 用于构建和测试：目前 Ostia 的所有服务均由 Rome 运行（Canton Network TestNet 的同步器由网络运行），且 tROME 不具备价值。

**你今天信任谁。** Rome 运行证明器，并且是唯一的确认参与方。Rome 的参与方持有 Canton Coin 的托管权限和双管理员权限。该代码和 ZisK（alpha 版）未经审计。此环境仅限 TestNet。

参见 [信任模型与限制](https://docs.rome.builders/zh/canton-zk-evm/trust-model.md) 以及 [状态与路线图](https://docs.rome.builders/zh/canton-zk-evm/status.md).

## 接下来

* [Ostia TestNet](https://docs.rome.builders/zh/canton-zk-evm/testnet.md)：链 ID、RPC、区块浏览器、水龙头、构建者资助、限制，以及暂停和维护信息。
* [与 Ethereum 的差异](https://docs.rome.builders/zh/canton-zk-evm/evm-differences.md)：哪些方面与 Ethereum 不同。
* [桥接](https://docs.rome.builders/zh/canton-zk-evm/bridge.md)：在 Canton、Ostia 和 Ethereum Sepolia 之间转移代币。
* [在 Ostia 上构建](https://docs.rome.builders/zh/canton-zk-evm/build-on-ostia.md)：部署并验证合约。
* [使用 Canton 构建](https://docs.rome.builders/zh/canton-zk-evm/build-with-canton.md)：除了 EVM 合约之外，还可以面向哪些目标。
* [用例](https://docs.rome.builders/zh/canton-zk-evm/use-cases.md)：目前哪些功能可用，可在 TestNet 或自有网络上使用。
* [工作原理](https://docs.rome.builders/zh/canton-zk-evm/how-it-works.md)：一个区块如何从交易走到 Canton 提交。
* [已证明与未证明的内容](https://docs.rome.builders/zh/canton-zk-evm/what-is-proven.md)：证明能说明什么，不能说明什么。
* [浏览器](https://docs.rome.builders/zh/canton-zk-evm/explorer.md)：并列展示区块及其 Canton 记录，以及 [外部调用](https://docs.rome.builders/zh/canton-zk-evm/explorer.md#external-calls) 页面。
* [运行自己的 Ostia](https://docs.rome.builders/zh/canton-zk-evm/run-it-locally.md) 和 [Ostia prover host](https://docs.rome.builders/zh/canton-zk-evm/prover-host.md)：测试、GPU 演示和你自己的网络。

该 [代码仓库 README](https://github.com/rome-protocol/canton-zk-evm/blob/main/README.md) 包含代码和固定版本信息。 [试用 Ostia](https://github.com/rome-protocol/canton-zk-evm/blob/main/docs/TRY-OSTIA.md) 是代码仓库中的简短指南。

不要与 [Rome ZK EVM](https://docs.rome.builders/zh/rome-zk-evm/zk-evm.md)混淆，后者的 rollup 会将已证明的根结算到 Solana 上。


---

# 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/canton-zk-evm/canton-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.
