Edit this page on GitHub (opens in a new tab)
Ojú ìwé yìí jẹ́ ìwé oúnjẹ fún bíbá Zcash tó ń ṣiṣẹ́ lórí JSON-RPC sọ̀rọ̀ àti fún fífi àmì ìtọ́kasí kan so mọ́ àwọn àpò ìpamọ́ àti àwọn olùṣàwárí tí wọ́n lè béèrè. kì í ṣe ìtọ́sọ́nà ìfisẹ́lé kejì ni.
Fún bí a ṣe lè mú ìwé ìròyìn náà wá-zcashd stack up (Zebra + Zallet, iyan Zaino, awọn ibudo, awọn iwọn didun, bata ipele meji), lo Ìdìpọ̀ Z3 ojú ìwé àti Ibi ipamọ Z3. Fún àgbékalẹ̀ ìfohùnṣọ̀kan-nọ́ńbà, wo Àwọn Nódù Kíkún àti Kún Node Àmì Zebra.
zcashd dé òpin ayé ní ọjọ́ 18 oṣù keje ọdún 2026. Iṣẹ́ oníṣẹ́ tuntun yẹ kí ó fojú sí Zebra (tàbí Zakura) pẹ̀lú àpò owó/àmì ìtọ́kasí, kìí ṣe zcashd.
http://127.0.0.1:8181 gba zebra / zebra àti síwájú àwọn ọ̀nà nódù sí àwọn ọ̀nà Zebra àti àwọn ọ̀nà àpò owó sí Zallet.--profile indexer) ń ṣiṣẹ́ fún gRPC lightwalletd-compatible. Ztreamer jẹ́ ẹ̀rọ ìtọ́kasí Zakura-backed; kì í ṣe ohun tí Z3 ń gbé jáde.| O fẹ́ | Bá sọ̀rọ̀ | Ibudo ogun Z3 mainnet | Àwọn Àkíyèsí |
|---|---|---|---|
Ìmọ̀ràn ẹ̀wọ̀n, àwọn ẹlẹgbẹ́, getblockchaininfo | Zebra JSON-RPC | 8232 | Olùkọ̀wé kúkì |
| Ìwọ̀n owó àpò owó, àdírẹ́sì, àti firánṣẹ́ | RPC Zallet | 28232 | Ilana lọtọ; sọfitiwia beta |
| Awọn bulọọki kekere fun awọn apamọwọ ina | Zaino gRPC | 8137 | Pẹ̀lú nìkan --profile indexer; ìwé lásán h2c |
| Aṣojú JSON-RPC ti Explorer / faucet | Zaino JSON-RPC | 8237 | Nẹ́tíwọ́ọ̀kì tí a gbẹ́kẹ̀lé nìkan |
| Ṣe gbogbo àwọn nǹkan tí a mẹ́nu kàn lókè yìí láìsí ìṣọ̀kan | Z3 regtest rpc-router | 8181 | Orúkọ orúkọ zebra / ọrọ igbaniwọle |
Ibudo matrix ati Kọ awọn orukọ iṣẹ akanṣe: àti z3-contract.yaml.
Láti ibi isanwo Z3 kan, lẹ́yìn náà ./scripts/regtest-init.sh àti 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
Ara ti o ni ilera getblockchaininfo abajade pẹlu "blocks" àti ohun "upgrades" máàpù. Tí ìrọ̀rí bá dúró, ráútà náà kò ní síta; tí o bá rí i 401, o n lu Zebra taara dipo olulana (Zebra taara lori regtest jẹ 29232 ó sì tún ń retí àwọn ìwé ẹ̀rí rọ́wọ́ọ̀tì àyàfi tí o bá yí wọn padà).
Iṣẹ́ ìṣàyẹ̀wò kíkún, pẹ̀lú wíwá àwọn búlọ́ọ̀kù ìṣiṣẹ́: Z3 docs/regtest.md.
Lórí mainnet àti testnet, Zallet àti iṣẹ́ Zaino tí a yàn yóò ka ìwọ̀n kúkì tí a pín**. A tún ṣe kúkì náà nígbà tí a bá bẹ̀rẹ̀; kì í ṣe àfojúsùn àfikún.
Má ṣe gbé Zebra JSON-RPC jáde sí ìkànnì ayélujára gbogbogbò. Pe é láti inú nẹ́tíwọ́ọ̀kì Compose (zebra:8232) tàbí láti ọ̀dọ̀ olùgbàlejò nìkan tí o bá so ó mọ́ loopback.
Àwọn oníṣẹ́ tó wọ́pọ̀ máa ń ṣàyẹ̀wò lẹ́yìn tí Zebra bá ti /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 wọ́n ń wa àwọn RPC. Àwọn adágún omi tí wọ́n ṣì ń retí ọ̀kan zcashd ilana nilo Zebra (tabi Zakura) fun awọn awoṣe pẹlu eyikeyi apamọwọ ti wọn lo fun ipilẹ owo-ori àti .
Ifọwọsi ati atọka jẹ awọn iṣẹ oriṣiriṣi.
Zaino ka Zebra ó sì ń lo gRPC API lightwalletd-compatible pẹ̀lú aṣojú JSON-RPC kan. Zallet kò nílò àpótí Zaino tí ó dúró fúnra rẹ̀; ó ní àwọn ilé ìkàwé Zaino nínú, ó sì ń bá Zebra sọ̀rọ̀ lórí JSON-RPC. Bẹ̀rẹ̀ Zaino tí ó dúró fúnra rẹ̀ nígbà tí o bá fẹ́ àwọn àpò ìná, àwọn olùṣàwárí, tàbí àwọn faucets tí ó wà níta:
docker compose --env-file .env.mainnet --profile indexer up -d
Dúró títí tí a ó fi mú Zebra ṣiṣẹpọ kí o tó tọ́ka sí Zaino. Àkójọpọ̀ àmì ìtọ́kasí nínú ìpele pẹ̀lú ìforúkọsílẹ̀ gíga lè dín ìṣàyẹ̀wò Zebra's kù; fetch_concurrency nínú àwọn nọ́mbà kékeré kan títí tí a ó fi rí i pé atọ́ka náà ti dé.
Ìdánwò ìforúkọsílẹ̀ gRPC (ọ̀rọ̀ lásán; ibudo 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 jẹ́ plaintext h2c lórí gbogbo àwọn nẹ́tíwọ́ọ̀kì. Dá TLS dúró ní reverse proxy tí ohunkóhun tí ó wà níta host bá lè so pọ̀. Àwọn àlàyé: àti Z3 docs/regtest.md.
CompactTxStreamer Ìmúṣẹ. Kìí ṣe iṣẹ́ Z3. Wo Ibi ipamọ Ztreamer.rpc.indexer_listen_addr — olutẹtisi gRPC yiyan ninu Zebra. Z3 ko nilo rẹ ati pe ko ṣe atẹjade rẹ si olugbalejo naa.Pípè àwọn ọ̀nà àpò owó lórí Zebra. getwalletinfo àti pé àwọn RPC tí a fi ránṣẹ́ jẹ́ ti Zallet (tàbí àpò owó mìíràn), kìí ṣe sí ojú-ọ̀nà ìfohùnṣọ̀kan.
Bẹ̀rẹ̀ Zallet kí Zebra tó dé /ready. Zallet yoo tun bẹrẹ-loop. Lo scripts/check-zebra-readiness.sh lórí mainnet/testnet.
Ṣíṣe àyẹ̀wò ìṣàyẹ̀wò zebra/zebra sí orí mainnet. Auth kuki ni aiyipada mainnet/testnet fun idi kan.
Ṣíṣe àyẹ̀wò Zaino gẹ́gẹ́ bí nódù pípé. Zebra (tàbí Zakura) jẹ́rìí sí i. Àwọn àtọ́ka Zaino.
Ṣíṣí àfihàn Zaino JSON-RPC tàbí Zebra indexer gRPC ní gbangba. Àwọn ìparí wọ̀nyẹn wà fún loopback tàbí nẹ́tíwọ́ọ̀kì àdáni tí a gbẹ́kẹ̀lé.
Mo gbà pé gbogbo àpò owó aláfẹ́fẹ́ ti ń sọ̀rọ̀ Zaino. Ṣàyẹ̀wò ìtújáde àpò owó náà lọ́wọ́lọ́wọ́ ní ìbámu pẹ̀lú ìlànà tí ó ń lò.
Ìmúdàgba ìkẹyìn: Oṣù Kẹsàn 2026
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.zebra