Edit this page on GitHub (opens in a new tab)
このページは、稼働中のZcashフルノード(full node)とJSON-RPC経由で通信し、ライトウォレットやエクスプローラーが照会できるインデクサーを接続するための手引きです。これは別のインストールガイドではありません。
zcashd後のスタックを起動する方法(Zebra + Zallet、任意のZaino、ポート、ボリューム、2段階起動)については、Z3スタックページおよびZ3リポジトリを参照してください。コンセンサスノードの背景情報については、フルノードおよびZebraフルノードを参照してください。
zcashdは2026年7月18日にサポート終了となりました。新規の運用作業では、Zebra(またはZakura)とウォレット(Wallet)/インデクサーを対象とし、zcashdを対象にしないでください。
http://127.0.0.1:8181上のZ3のrpc-routerは、zebra/zebraを受け付け、ノードメソッドをZebraへ、ウォレットメソッドをZalletへ転送します。--profile indexer)はlightwalletd互換のgRPCを提供します。ZtreamerはZakuraをバックエンドとするインデクサーであり、Z3が提供するものではありません。| 必要なもの | 接続先 | Z3メインネットのホストポート | 注記 |
|---|---|---|---|
チェーン先端、ピア、getblockchaininfo | Zebra JSON-RPC | 8232 | Cookie認証 |
| ウォレット残高、アドレス(address)、送信 | Zallet RPC | 28232 | 別プロセス、ベータソフトウェア |
| ライトウォレット向けコンパクトブロック(block) | Zaino gRPC | 8137 | --profile indexerを使用する場合のみ。平文h2c |
| エクスプローラー/フォーセット(faucet)JSON-RPCプロキシ | Zaino JSON-RPC | 8237 | 信頼できるネットワークのみ |
| 同期なしで上記すべてを練習 | Z3 regtest rpc-router | 8181 | ユーザー名zebra/パスワードzebra |
ポート一覧とComposeプロジェクト名:およびz3-contract.yaml。
Z3チェックアウトで、./scripts/regtest-init.shおよびdocker compose --env-file .env.regtest up -dの後に実行します。
# Node method (Zebra)
curl -s -X POST -H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","method":"getblockchaininfo","params":[],"id":1}' \
http://127.0.0.1:8181
# Wallet method (Zallet)
curl -s -X POST -H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","method":"getwalletinfo","params":[],"id":2}' \
http://127.0.0.1:8181
正常なgetblockchaininfoの結果には、"blocks"と"upgrades"マップが含まれます。curlが停止する場合はルーターが起動していません。401が返る場合は、ルーターではなくZebraを直接呼び出しています(Regtest上の直接Zebraは29232であり、変更していない限りルーターの認証情報を引き続き要求します)。
有効化ブロックのマイニング(mining)を含む完全なRegtestワークフロー:Z3 docs/regtest.md。
メインネットおよびテストネットでは、Zalletと任意のZainoサービスが共有Cookieボリュームを読み取ります。このCookieは起動時に再生成され、バックアップ対象ではありません。
ZebraのJSON-RPCを公開インターネットに公開しないでください。Composeネットワーク(zebra:8232)から呼び出すか、ループバックにバインドした場合に限りホストから呼び出してください。
Zebraが/readyになった後の一般的な運用確認:
# Wait until Zebra is synced (Z3 helper)
./scripts/check-zebra-readiness.sh
# Then start Zallet
docker compose --env-file .env.mainnet up -d
getblocktemplate/getmininginfoはマイニングRPCです。単一のzcashdプロセスを想定していたプール(pool)は、テンプレート用にZebra(またはZakura)と、コインベース用に使用するウォレットを必要とします。およびを参照してください。
検証とインデックス作成は異なる作業です。
ZainoはZebraを読み取り、lightwalletd互換のgRPC APIとJSON-RPCプロキシを提供します。ZalletはスタンドアロンのZainoコンテナを必要とせず、Zainoライブラリを組み込み、JSON-RPC経由でZebraと通信します。外部ライトウォレット、エクスプローラー、またはフォーセット向けには、スタンドアロンのZainoを起動してください。
docker compose --env-file .env.mainnet --profile indexer up -d
クライアントをZainoに接続する前に、Zebraが同期されるまで待ってください。高いフェッチ並行性で追いつこうとする一括インデクサーはZebraの検証器を遅くする可能性があるため、インデクサーが追いつくまでfetch_concurrencyを低い1桁に保ってください。
Regtest gRPC(平文、ポート28137):
# From the Z3 repo, after: scripts/vendor.sh zaino
# and: docker compose --env-file .env.regtest --profile indexer up -d zaino
grpcurl -plaintext \
-import-path vendor/zaino/zaino-proto/proto \
-proto service.proto \
127.0.0.1:28137 \
cash.z.wallet.sdk.rpc.CompactTxStreamer/GetLightdInfo
grpcurl -plaintext \
-import-path vendor/zaino/zaino-proto/proto \
-proto service.proto \
-d '{}' \
127.0.0.1:28137 \
cash.z.wallet.sdk.rpc.CompactTxStreamer/GetLatestBlock
ZainoのgRPCは、すべてのネットワークで平文h2cです。ホスト外部から接続するものがある場合は、リバースプロキシでTLSを終端してください。詳細:およびZ3 docs/regtest.md。
CompactTxStreamer実装です。Z3サービスではありません。Ztreamerリポジトリを参照してください。WalletQuery gRPC APIとlightwalletd互換のCompactTxStreamerアダプターを提供します。クイックスタートではZ3ノードと並べて実行しますが、Z3サービスではありません。を参照してください。rpc.indexer_listen_addr — Zebra内部の任意のgRPCリスナーです。Z3はこれを必要とせず、ホストにも公開しません。Zebraでウォレットメソッドを呼び出すこと。 getwalletinfoおよび送信RPCは、コンセンサスノードではなく、Zallet(または別のウォレット)に属します。
Zebraが/readyになる前にZalletを起動すること。 Zalletは再起動ループに入ります。メインネット/テストネットではscripts/check-zebra-readiness.shを使用してください。
Regtestのzebra/zebraをメインネットへコピーすること。 Cookie認証がメインネット/テストネットのデフォルトであるのには理由があります。
Zainoをフルノードとして扱うこと。 Zebra(またはZakura)が検証を行います。Zainoがインデックス作成を行います。
ZainoのJSON-RPCまたはZebraのインデクサーgRPCを公開すること。 これらのエンドポイントは、ループバックまたは信頼できるプライベートネットワーク用です。
すべてのライトウォレットがすでにZainoを使用すると想定すること。 ウォレットの現在のリリースが実際に実装しているプロトコルを確認してください。
**最終更新:**2026年9月
Network Upgrade 6.3 (NU6.3) activated on mainnet at block 3,428,143 (about 28 July 2026) and introduced the Ironwood shielded pool; ZIP 258 specifies the height. Ironwood uses the Orchard shielded protocol but keeps a separate value pool, with its own note commitment tree, anchor and chain value pool balance. NU6.3 is a consensus upgrade, so a node that does not implement it stops following the chain.
zcashd does not implement NU6.3. Zebra is expected to be the only full validator that follows the chain after activation.getdeprecationinfo, added in Zebra 6.3.0, reports the height and estimated time at which a release halts for end of support, in the zcashd end_of_service format. The end_of_service object is present on mainnet only, where end of support is enforced.Pair every component with a release that supports NU6.3 and read each project’s release notes before upgrading. Avoid pinning guidance to a specific historical version, because releases move quickly. Two documented examples:
getblockchaininfo, and its chainSupply is the total across all pools. See the Zaino 0.10.1 release notes.MAX_MONEY. See the Zebra 6.3.0 release notes.Do not rely on the exact field layout of RPC responses for pool balances across versions; check the response of the version you run.
z3-contract.yaml for your network.zcashd wallet RPC methods may be missing. Check the Zallet documentation for the methods you need.