> 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).

# Ostia prover 主机

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

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

在 Ostia DevNet 上，证明器以常驻协调器和工作器的形式运行，为 [持续运行的构建器](https://docs.rome.builders/zh/canton-zk-evm/run-it-locally.md#run-the-builder-continuously)提供服务。DevNet 证明器运行在一台配备 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 的基准测试使用了一块配备 96 GB GPU 内存的 NVIDIA RTX PRO 6000 Blackwell Server Edition、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；DevNet 的证明器使用 ZisK 1.4.0-alpha（[main 分支上的 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`       | 启动协调器和一个 GPU 工作器，并加载 PLONK 密钥。                   |
| `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` 如果构建产生的固定值不匹配，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` 会写入十六进制形式，以及由 `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.
