> 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/explorer.md).

# Explorer

在浏览器中并排查看 Ostia 的 EVM 区块与其 Canton 记录，并验证证明。

explorer 将 reth 的 EVM 数据与 Canton 区块记录相结合，它使用读者方的身份读取这些记录。它包含区块、交易和地址页面，一个 tROME 水龙头，以及一个用于在浏览器中检查区块的 Verify 按钮。

本页介绍 commit `a84e84e439a5cc669c0ae61facf7c8c995d9d564`. 请阅读完整的 [explorer 自述文件](https://github.com/rome-protocol/canton-zk-evm/blob/a84e84e439a5cc669c0ae61facf7c8c995d9d564/explorer/README.md).

## 读取区块

区块页面会显示其 EVM 数据、Canton 更新 ID、记录时间，以及为其记录签名的 operator 和 confirmer。它会比较 reth 的区块哈希、记录的哈希以及已记录头部的哈希。它还会将从证明中读取的程序密钥、ZisK 版本和区块哈希与 explorer 预期的值并排显示。

正在被证明的区块尚未出现在 Canton 上。交易可能处于等待中、正在证明中或已最终确定。explorer 不会显示该区块的 Daml legs： `BlockRecord` 不包含它们。

explorer 将其索引保存在内存中。它在启动时根据 Canton 的记录重建该索引。所提供的网络也将这些记录保存在内存中，并在重启时丢失它们。

## 在浏览器中检查证明

从证明中读取数值并不会验证它。按下 Verify 会下载 sidecar 的 WebAssembly 构建版本 `验证` 函数，并在已记录的证明、头部和交易上运行它。

该检查会在固定的程序密钥和 ZisK 版本下验证 PLONK 证明。它会检查头部的哈希是否与已证明的区块哈希一致，以及交易是否与头部的交易根一致。该面板还要求该区块哈希与 reth 计算出的该区块哈希一致。

预期的固定值来自 explorer 的状态响应。Verify 会运行 sidecar 的区块检查；它不会运行单独的 `交易腿` 检查。区块正在证明期间，该按钮会被禁用。检查完成后，面板会显示其结果、耗时和模块的下载大小。耗时不包括下载时间。参见 [浏览器验证器自述文件](https://github.com/rome-protocol/canton-zk-evm/blob/a84e84e439a5cc669c0ae61facf7c8c995d9d564/explorer/verify/README.md).

## 使用 tROME 水龙头

默认发放金额为 1 tROME。每个地址每 24 小时可请求一次发放，且水龙头发放之间至少间隔 2 秒。这些限制保存在内存中，并在 explorer 重启时重置。tROME 没有价值。

水龙头会向 reth 发送一笔交易。它会在下一个已证明的区块中到达，因此必须运行 builder，发放才会最终确定。无论是启动网络还是启动 explorer，都不会运行 builder。

水龙头的注资创世状态必须在网络启动前准备好。 `explorer/run.sh setup` 它会创建该资金和本次运行的新密钥。 `explorer/run.sh start` 启动容器，并 `explorer/run.sh stop` 停止它。如果没有 faucet 密钥，水龙头将处于关闭状态。完整的 explorer 指南包含启动顺序； [演示指南](https://github.com/rome-protocol/canton-zk-evm/blob/a84e84e439a5cc669c0ae61facf7c8c995d9d564/demo/README.md#running-it) 其中包含同时涉及演示和水龙头资金准备的顺序。

## 本地访问

该容器与链运行在同一台安装了 Docker 的 Linux 机器上，且仅在本地监听。该网络没有 Ledger API 身份验证。explorer 的代码将其读取限制为读者方，但任何能够访问该参与方的人也可以读取其其他参与方的记录。在这些条件下，explorer 自述文件说明不要为其分配公共地址。


---

# 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/explorer.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.
