Edit this page on GitHub (opens in a new tab)
This page is a cookbook for talking to a running Zcash full node over JSON-RPC and for attaching an indexer that light wallets and explorers can query. It is not a second install guide.
For how to bring the post-zcashd stack up (Zebra + Zallet, optional Zaino, ports, volumes, two-phase boot), use the Z3 Stack page and the Z3 repository. For consensus-node background, see Full Nodes and Zebra Full Node.
http://127.0.0.1:8181 accepts zebra / zebra and forwards node methods to Zebra and wallet methods to Zallet.--profile indexer) serves lightwalletd-compatible gRPC. Ztreamer is a separate indexer project; it is not what Z3 ships.| You want | Talk to | Z3 mainnet host port | Notes |
|---|---|---|---|
Chain tip, peers, getblockchaininfo | Zebra JSON-RPC | 8232 | Cookie auth |
| Wallet balance, addresses, send | Zallet RPC | 28232 | Separate process; beta software |
| Compact blocks for light wallets | Zaino gRPC | 8137 | Only with --profile indexer; plaintext h2c |
| Explorer / faucet JSON-RPC proxy | Zaino JSON-RPC | 8237 | Trusted network only |
| Practice all of the above without sync | Z3 regtest rpc-router | 8181 | Username zebra / password |
Port matrix and Compose project names: and z3-contract.yaml.
The ports above are the mainnet host-port defaults of the Z3 deployment, not universal defaults. Testnet and regtest use different host ports, and a standalone Zebra, Zallet or Zaino installation can use others. The authoritative per-network matrix is z3-contract.yaml. Zebra validates and serves node RPC, Zallet is the wallet and serves wallet RPC, and Zaino indexes and serves lightwalletd-compatible services; Zaino is not a consensus node.
From a Z3 checkout, after ./scripts/regtest-init.sh and 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
A healthy getblockchaininfo result includes “blocks” and an “upgrades” map. If the request times out or hangs, check the rpc-router container, its logs, network connectivity, and the availability of its upstream services (Zebra and Zallet). An HTTP 401 response indicates an authentication problem, so check the credentials you are sending; it does not by itself prove that the request reached Zebra directly. On regtest, Zebra’s host port is 29232.
Full regtest workflow, including mining the activation blocks: Z3 docs/regtest.md.
On mainnet and testnet, Zallet and the optional Zaino service read a shared cookie volume. That cookie is regenerated on boot; it is not a backup target. The cookie is a credential, not a wallet backup: do not share it or commit it to version control.
Do not publish Zebra JSON-RPC to the public internet. Call it from the Compose network (zebra:8232) or from the host only if you bound it to loopback.
Typical operator checks after Zebra is /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 are mining RPCs. Pools that still expected a single zcashd process need Zebra (or Zakura) for templates plus whatever wallet they use for coinbase. See and the .
Validation and indexing are different jobs.
Zaino reads Zebra and serves a lightwalletd-compatible gRPC API plus a JSON-RPC proxy. Zallet does not need the standalone Zaino container; it embeds Zaino libraries and talks to Zebra over JSON-RPC. Start standalone Zaino when you want external light wallets, explorers, or faucets:
docker compose --env-file .env.mainnet --profile indexer up -d
Wait until Zebra is synced before pointing clients at Zaino. A bulk indexer in catch-up with high fetch concurrency can slow Zebra's verifier; keep fetch_concurrency in the low single digits until the indexer has caught up.
Regtest gRPC (plaintext; port 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 is plaintext h2c on all networks. Terminate TLS at a reverse proxy if anything outside the host will connect. Details: and Z3 docs/regtest.md.
WalletQuery gRPC API plus a lightwalletd-compatible CompactTxStreamer adapter. Its quickstart runs next to a Z3 node, but it is not a Z3 service. See .rpc.indexer_listen_addr — an optional gRPC listener inside Zebra. Z3 does not require it and does not publish it to the host.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.Calling wallet methods on Zebra. getwalletinfo and send RPCs belong to Zallet (or another wallet), not to the consensus node.
Starting Zallet before Zebra is /ready. Zallet will restart-loop. Use scripts/check-zebra-readiness.sh on mainnet/testnet.
Copying regtest zebra/zebra onto mainnet. Cookie auth is the mainnet/testnet default for a reason.
Treating Zaino as a full node. Zebra (or Zakura) validates. Zaino indexes.
Exposing Zaino JSON-RPC or Zebra indexer gRPC publicly. Those endpoints are for loopback or a trusted private network.
Assuming every light wallet already speaks Zaino. Check the wallet's current release against the protocol it actually implements.
Last updated: October 2026
zebra