> 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/prover-host.md). Agents can also search and read this documentation through its [MCP server](https://docs.rome.builders/~gitbook/mcp).

# Ostia prover 主机

证明者的主机要求、持久化工作进程以及固定的 guest 构建。

证明器使用一个 GPU 工作线程运行 ZisK。协调器和工作线程会在请求之间持续运行，并且 PLONK 密钥已加载。对于每个区块，构建器都会发送输入并接收封装后的证明。

在 Ostia TestNet 上，证明器以常驻协调器和工作线程的形式运行，为 [持续运行的构建器](https://docs.rome.builders/zh/canton-zk-evm/run-it-locally.md#run-the-builder-continuously)提供服务。Ostia 的证明器运行在一台配备 NVIDIA RTX PRO 6000 Blackwell Server Edition（96 GB）的 48 vCPU 机器上，与下文所述 2026-10-03 基准测试使用的机器类型相同。

本页介绍的是 `v0.1.0`版本。请阅读完整的 [证明器 README](https://github.com/rome-protocol/canton-zk-evm/blob/v0.1.0/prover/README.md) 和 [测量数据](https://github.com/rome-protocol/canton-zk-evm/blob/v0.1.0/docs/METRICS.md).

## 主机要求

安装程序面向 Linux x86-64，要求安装 `apt`, `sudo`，并已安装 NVIDIA 驱动程序，且磁盘剩余空间约为 100 GB。安装程序会安装系统软件包并修改内存锁定限制。

2026-10-03 的基准测试使用了一张 NVIDIA RTX PRO 6000 Blackwell Server Edition 显卡（显存 96 GB）、一颗 AMD EPYC 9B45 处理器（48 vCPU）以及 176 GiB 主机内存。测试运行于 Ubuntu 22.04.5，使用驱动程序 580.178.04。这些规格描述的是经过测试的机器，并不能据此确定运行证明器所需的最低硬件配置。

基准测试记录到 22.9 GiB 的模拟器共享内存。仅 PLONK 封装环节报告的 GPU 显存需求就达 30,054,767,337 字节，约 28.0 GiB。GPU 显存峰值使用量为 93.2 GiB，但证明器会根据显卡容量分配一个大型缓冲区。这个峰值反映的是缓冲区分配情况，并不代表整个证明器运行所需的最低 GPU 显存。请参阅 [测量数据](https://docs.rome.builders/zh/canton-zk-evm/measurements.md) ，了解各项数据的适用范围。

## 构建与运行

v0.1.0 版本固定使用 ZisK 1.3.1-alpha；Ostia 的证明器使用 ZisK 1.4.0-alpha（[主分支上的 PINS](https://github.com/rome-protocol/canton-zk-evm/blob/main/PINS)）、Node 20.20.2 和 snarkjs 0.7.6。浏览器使用的 Node 版本另有其设置。

| 脚本                      | 功能                                               |
| ----------------------- | ------------------------------------------------ |
| `prover/install.sh`     | 检查安装程序固定的校验和，然后安装 GPU 版本、证明密钥和 PLONK 配置。         |
| `prover/build-guest.sh` | 构建 guest ELF，并输出其 SHA-256、programVK、rootC 和规则哈希。 |
| `prover/start.sh`       | 启动协调器和一个已加载 PLONK 密钥的 GPU 工作线程。                  |
| `prover/make-input.sh`  | 将已保存的区块、执行见证和创世数据转换为证明器输入。                       |
| `prover/prove-one.sh`   | 为一个输入生成证明，使用 `cargo-zisk`检查证明，并将封装后的证明写为十六进制格式。  |

`ZISK_COORDINATOR_URL` 用于选择协调器。默认值是同一台机器上的协调器。 `network/up.sh` 会构建 guest，并在本地网络中启动证明器；请按照 [运行自己的 Ostia](https://docs.rome.builders/zh/canton-zk-evm/run-it-locally.md) 中的步骤操作。

构建器默认通过 `prover/prove-one.sh` 调用 `CZE_PROVE_CMD`。该命令接收一个输入文件和一个输出目录，并且必须在其中生成 `wrapped-proof.hex`。其本地 `cargo-zisk` check 不会强制校验链上固定的 programVK 和 rootC。确认者的 sidecar 会强制执行这些固定值。请参阅 [构建器设置](https://github.com/rome-protocol/canton-zk-evm/blob/v0.1.0/builder/README.md#settings).

## 复现 guest 密钥

构建脚本使用一个固定的构建目录，并会拒绝仍包含构建路径的 ELF。每次只运行一个 guest 构建，因为每次构建都会清空该共享目录。

2026-10-04，一位用户在一台机器上依次使用两个全新检出版本进行构建，生成了相同的 ELF 和 programVK。两次构建分别耗时 133 秒和 126 秒。若要以其他用户身份或在另一台机器上复现构建，请检查生成的 programVK 是否与记录的值一致。 `network/up.sh` 如果构建得到的固定值不一致，就会停止。 [guest README](https://github.com/rome-protocol/canton-zk-evm/blob/v0.1.0/guest/README.md#building) 介绍了构建流程及其限制。

## 证明输出

线路格式共 1,344 字节：768 字节的 PLONK 证明、32 字节的 programVK、32 字节的 rootC，以及 512 字节的公开值。 `prove-one.sh` 会写入十六进制形式以及由以下命令生成的 JSON： `cargo-zisk-dev export-solidity-calldata`.


---

# 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/prover-host.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.
