Edit this page on GitHub (opens in a new tab)
The Z3 Stack is the Zcash Foundation’s packaged node platform: Zebra (full node) + Zallet (full-node wallet), with an optional Zaino indexer. It is the intended replacement for a standalone zcashd process, which bundled consensus and a wallet in one binary and reached end of life on 18 July 2026.
The reference implementation is the Docker Compose project at github.com/ZcashFoundation/z3.
Status, 14 November 2026: the default pins predate NU7. Z3's
docker-compose.ymlwas last changed on 10 August 2026. It still pinszfnd/zebra:6.2.3andzodlinc/zallet:v0.1.0-beta.1, started as thezallet-zainobinary. NU7 activated on Mainnet at block 3,543,405 on 6 November 2026, and only Zebra 7.0.0 or later follows it: a 6.x Zebra stays on the old rules and falls off the real chain. Zallet v0.1.0-beta.4, the first release that follows NU7, no longer shipszallet-zainoat all. Check the repo for newer pins before deploying. If you override the images yourself, note that Zallet's remainingzebrabackend reads Zebra's state directory directly, so Zallet must run on the same host with access to that directory (Zallet).
zcashd stack together: Zebra validates the chain, Zallet holds keys and serves wallet RPC, and Zaino (optional) speaks the lightwalletd gRPC protocol.zcashd bundled node + wallet. Z3 splits those roles. Exchanges, mining pools, and other full-node wallet operators migrate to this combination rather than to Zebra alone.zallet-zaino backend (Zaino’s indexer libraries) and talks to Zebra over JSON-RPC. Zallet removed that backend in v0.1.0-beta.4; current Zallet reads Zebra’s state directly. The standalone Zaino service is only needed if you want a lightwalletd-compatible endpoint for external wallets.For most of Zcash’s life, zcashd was both the reference full node and the only production full-node wallet. That design is what exchanges, pools, and custodians integrated against.
zcashd is retired. Consensus moved to (and now also ). The embedded wallet moved to Zallet. Light-wallet serving is moving from to .
Those three pieces are separate repositories, separate release trains, and separate configs. Z3 is the glue: pinned images, health checks that keep the wallet down until the node is synced, per-network ports and volumes, and a documented operator path.
The name is informal ecosystem shorthand — Zebra, Zaino, Zallet — even though the default Compose file only starts Zebra and Zallet. Zaino is a Compose profile, not a required third process.
┌──────────────────────── Z3 (per network) ────────────────────────┐
│ │
peers ◄──P2P──► Zebra (zebrad) ──JSON-RPC──► Zallet │
│ full node │ embeds Zaino libraries │
│ │ wallet RPC for operators │
│ └─────────────────────────────────┤
│ │
│ Zaino (optional, --profile indexer) │
│ lightwalletd-compatible gRPC + JSON-RPC proxy │
│ │ │
└────────────┼─────────────────────────────────────────────────────┘
▼
light wallets / explorers
| Component | Role in Z3 | Required? |
|---|---|---|
| Zebra | Syncs and validates the chain, gossip, JSON-RPC, health endpoint | Yes |
| Zallet | Full-node wallet. The pinned beta.1 image runs the Zaino-library backend (zallet-zaino, removed in Zallet beta.4) and connects straight to Zebra JSON-RPC. Does not call the standalone Zaino container | Yes |
| Zaino | Standalone indexer. lightwalletd-compatible gRPC for external light clients, plus a JSON-RPC proxy for explorers and faucets | No — --profile indexer |
Z3 pins image versions in docker-compose.yml. Override with Z3_ZEBRA_IMAGE, Z3_ZAINO_IMAGE, or Z3_ZALLET_IMAGE if you need a different tag.
| zcashd | Z3 | |
|---|---|---|
| Language | C++ (Bitcoin fork) | Rust services, orchestrated with Docker Compose |
| Process model | One binary: node + wallet | Separate node and wallet containers |
| Consensus | Retired (EOS 18 July 2026) | Zebra (or another compatible node) |
| Wallet | Built-in wallet.dat | Zallet, age-encrypted datadir |
| Light clients | Usually a separate lightwalletd | Optional Zaino profile |
| Config | zcash.conf | Per-network files under config/<network>/ plus Compose env files |
If you still have a zcashd wallet, use ZecHub’s and Zallet’s migrate-zcashd-wallet command rather than copying wallet.dat into the Z3 volume.
Z3 is three independent Compose projects. They do not share ports or volumes.
| Network | Project name | Use it for | First sync | Real funds |
|---|---|---|---|---|
| mainnet | z3-mainnet | Production | 24–72 hours | Yes |
| testnet | z3-testnet | Staging on the public test network | 2–12 hours | No (test ZEC) |
| regtest | z3-regtest | Local practice: instant blocks, no peers | Seconds | No |
New operators should start on regtest, confirm RPC and wallet flows, then move to testnet or mainnet.
All three networks are meant to coexist on one machine. Values below are the published defaults; every one is overridable via the matching Z3_* env var. The canonical matrix is z3-contract.yaml.
| Service | Mainnet | Testnet | Regtest |
|---|---|---|---|
| Zebra JSON-RPC | 8232 | 18232 | 29232 |
| Zebra P2P | 8233 | 18233 | (not published) |
Zebra health (/ready) | 8080 | 18080 | 28080 |
| Zaino gRPC (indexer profile) | 8137 | 18137 | 28137 |
| Zaino JSON-RPC (indexer profile) | 8237 | 18237 | 28237 |
| Zallet RPC | 28232 | 40232 | 50232 |
Inside the Compose network, services resolve by name (zebra, zaino, zallet).
| Volume | What it holds | Back it up? |
|---|---|---|
z3-<network>-chain | Zebra chain state (~300 GB mainnet) | Optional — re-syncable |
z3-<network>-zallet | Encrypted wallet database and the age identity that unlocks it | Yes — this is the only volume that must be backed up |
z3-<network>-zaino | Indexer state (only with the indexer profile) | Optional — rebuildable |
z3-<network>-cookie | Zebra RPC cookie | No — regenerated |
To put chain state on another disk before first start:
export Z3_CHAIN_DATA_PATH=/mnt/ssd/zebra-state
./scripts/fix-permissions.sh zebra /mnt/ssd/zebra-state
docker compose --env-file .env.<network> --profile "*" down stops the stack and keeps volumes. Adding -v deletes them and forces a full re-sync. Include --profile "*" so profile-gated services (indexer, monitoring) are actually torn down.
Prerequisites: Docker Engine, Docker Compose v2.24.4+, Git. openssl is required only for regtest.
git clone https://github.com/ZcashFoundation/z3 && cd z3
./scripts/regtest-init.sh
docker compose --env-file .env.regtest up -d
See docs/regtest.md for test commands.
Zebra must finish syncing before Zallet is useful. Starting Zallet early makes it restart-loop until /ready is true.
git clone https://github.com/ZcashFoundation/z3 && cd z3
# 1. One-time setup: local config + Zallet wallet identity
./scripts/setup-network.sh mainnet
# 2. Start Zebra and wait until it is synced
docker compose --env-file .env.mainnet up -d zebra
./scripts/check-zebra-readiness.sh
# 3. Start Zallet (and anything else in the default profile)
docker compose --env-file .env.mainnet up -d
Testnet is the same flow with .env.testnet and ./scripts/check-zebra-readiness.sh 18080.
Edits under config/<network>/ stay local and survive git pull.
# Lightwalletd-compatible gRPC + JSON-RPC proxy
docker compose --env-file .env.mainnet --profile indexer up -d
# Prometheus, Grafana, Jaeger, Alertmanager
docker compose --env-file .env.mainnet --profile monitoring up -d
Default Grafana ports are 3000 (mainnet), 13000 (testnet), 23000 (regtest).
:latest. Bump a pin in a reviewed change, or set Z3_<SERVICE>_IMAGE. The pins have not moved since August 2026, so they predate NU7 (see the status note at the top).ZEBRA_NETWORK__EXTERNAL_ADDR to the address peers should dial. Regtest has no peers.linux/amd64 only. On Apple Silicon it runs under emulation unless you build from source. Zebra and Zallet are multi-arch.deploy.resources.limits in an override file if the box is not dedicated to the node.Production-shaped checklist and FAQ: docs/faq.md, docs/docker-architecture.md.
Good fit
zcashd as a node-plus-walletUsually the wrong tool
| Networks on one host |
| Painful port clashes |
First-class: z3-mainnet, z3-testnet, z3-regtest |