> 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/ja/rome-zk-evm/verification-key.md).

# 検証鍵

チェーン固有のバッチゲストをビルドし、そのZisK検証鍵の登録を依頼します。

各チェーンには独自のバッチ・ゲストがあります。ゲストにはチェーンのジェネシスと手数料受取先が含まれます。バッチデータと実行を検証し、その後、Solana の決済がチェックする公開値をコミットします。ゲストの `programVK` 証明対象のプログラムを識別します。

パーミッションレスチェーンは空の検証キー登録簿で登録します。Rome がそのチェーン用のキーを追加するまで、最終ルートを投稿できません。チェーン権限者は登録トランザクションにキーを含めることはできません。これは Solana devnet 上の v0.3.0 の手順です。

## ゲストをビルドする

送金元 `deploy/rollup` v0.3.0 のチェックアウトでは、リリース設定を使用します `ROME_ZK_TAG=v0.3.0`, `ROME_ZK_GUEST_TAG=v0.3.0` および `ZISK_RELEASE=1.3.1-alpha`。実行してください `./rollup init` まず実行して、ジェネシスとチェーン ID を生成します。リクエストを送信する前にチェーンを登録しておく必要があります。その後、次を実行します:

```sh
./rollup guest-build
```

このコマンドは ZisK ツールチェーンを使ってイメージをビルドし、指定タグの rollup と guest のソースをクローンし、あなたの genesis から guest をビルドして、それがあなたの chain ID を持っていることを確認します。guest ELF の SHA-256 を出力します。生成されるメタデータには、そのハッシュ、genesis ハッシュ、chain ID、ZisK リリース、およびその scheme 番号が記録されます。このリリースでは、最後の 2 つの値は `1.3.1-alpha` および `2`.

計算するには `programVK` ローカルで行うには、ビルドには対応する ZisK 証明キーと約 36 GB の RAM が必要です。その手順には約 40 秒かかります。その手順を省略するかキーがない場合、ビルドは次を報告します `ProgramVkNotComputed`。プローバーは次のものがないメタデータを拒否します `programVK`。対応するキーで計算するか、証明を開始する前に Rome に依頼してください。

これらのタグで同じ genesis をビルドすると、2 台のマシンは同じ ELF ハッシュを得ます。genesis が変われば guest も変わり、チェーン登録後に genesis を変更することはできません。ビルドは、あなたのチェーンの ID と異なる chain ID を持つ genesis（`ChainIdMismatch`）および、複数のアカウントに残高を与える genesis（`GenesisFundedAccountLimit`).

## Rome に登録を依頼する

次を使用します [検証キー申請フォーム](https://github.com/rome-protocol/solana-zk-evm/issues/new?template=vkey-request.yml)。チェーン ID、チェーン権限者の公開鍵、およびチェーンを登録したトランザクションの署名を用意してください。guest タグと生成されたメタデータを含めます: ELF ハッシュ、genesis ハッシュ、 `programVK`, `zisk` および `スキーム`。レンダリング済みの genesis を添付または貼り付けてください。genesis が裏付け付き残高を宣言している場合は、対応する資金供給済み vault を用意してください。次を含めます `./rollup check` キー待ちの項目を除いて合格する結果。

Rome は tag と genesis から guest を再ビルドします。chain ID、genesis、ELF ハッシュ、および `programVK` あなたのリクエストと照合し、その後、対応する ZisK リリースの下にキーを登録します。Rome は、その issue にキー登録トランザクションの署名を返信します。キーは記録された有効化スロットで使用可能になります。その後、次を実行してください `./rollup check` そのスロット以降。プローバーを有効にした状態で、 `検証キー` チェックは通るはずです。デポジット対応キーのチェックも通るはずです。

Rome は次のものを登録します **完全なリクエストを 2 営業日以内に**。リクエストが不完全な場合、Rome は不足しているものを返信します。2 営業日のカウントは、リクエストが完全になった時点から始まります。

タイミングが重要なのは、回収ウィンドウがキーが有効になる時点ではなく、チェーンを登録した時点で始まるためです。v0.3.0 devnet のウィンドウは 6,480,000 スロット、約 30 日です。そのウィンドウが終了する時点でルートが投稿されていなければ、誰でもチェーンを回収でき、その 5 SOL のデポジットは treasury に移ります。Rome の registry authority は、216,000 スロットの最小値を条件に、グローバルなウィンドウを変更できます。

有効化後、プローバーに対応する guest、メタデータ、ZisK 証明キーを渡し、 `PROVER=on`を設定してから、 `./rollup init`, `./rollup up` および `./rollup check`。証明は、このチェーンに登録された有効なキーを使用しなければなりません。後で別の ZisK リリースに移行するには、別の guest ビルドと別の登録エントリが必要です。 [リリース](https://docs.rome.builders/ja/rome-zk-evm/releases.md).

完全なリクエスト項目とオペレーター手順は次にあります [v0.3.0 で devnet 上で実行](https://github.com/rome-protocol/solana-zk-evm/blob/v0.3.0/docs/RUN-ON-DEVNET.md).


---

# 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/ja/rome-zk-evm/verification-key.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.
