The Zcash Devtool is a platform for hacking on Zcash. It is built by developers, for developers, for testing & development of new Zcash functionality.
Read the zcash-devtool READMEKris Nuttycombe (@nuttycom) presented this tool during ZconVI.
For a step by step guide for how to get started using these tools, see this walkthrough. It documents a full walkthrough of how to set up and use the zcash devtool tooling. It is intended to serve as a guide for how to get setup and how to add your own functionality to the tool.
The commands below were checked against zcash-devtool main (commit 5a26ee8, August 2026). The tool changes without notice, so run --help on any command if something here no longer matches.
There are no prebuilt binaries. Install Rust, then build from source:
git clone https://github.com/zcash/zcash-devtool.git
cd zcash-devtool
cargo run --release -- --help
The examples below call the built binary, target/release/zcash-devtool. cargo run --release -- ... works the same way.
Start on testnet. Testnet coins (TAZ) have no value.
zcash-devtool wallet -w ./my-wallet init --name demo -i ./my-wallet-identity.txt -n test
zcash-devtool wallet -w ./my-wallet sync
zcash-devtool wallet -w ./my-wallet balance
-w is the wallet directory. It goes after wallet and before the subcommand.-i is an age identity file. The wallet's mnemonic phrase is encrypted to it, and the file is created if it doesn't exist. Keep it: send, shield and other spending commands need it to decrypt the seed.-n is the network: test or main.-s picks the light wallet server. The default, zecrocks, connects to the zec.rocks server for the chosen network.restore-mnemonic in place of init. It prompts for the phrase.balance lists each pool separately, including Ironwood:
Balance: 0.00000000 TAZ
Sapling Spendable: 0.00000000 TAZ
Orchard Spendable: 0.00000000 TAZ
Ironwood Spendable: 0.00000000 TAZ
Unshielded Spendable: 0.00000000 TAZ
Run zcash-devtool wallet -w ./my-wallet list-addresses to see the wallet's unified address, and send it testnet funds from a faucet.
For mainnet, pass -n main to init. Only use amounts you can afford to lose.
Amounts are in zatoshis (1 ZEC = 100,000,000 zatoshis).
zcash-devtool wallet -w ./my-wallet send -i ./my-wallet-identity.txt \
--address <recipient address> --value 100000 --memo "hello"
zcash-devtool wallet -w ./my-wallet shield -i ./my-wallet-identity.txt
propose shows the transaction a send would build, without sending it. list-tx and list-unspent show the wallet's history and notes.
Any command that talks to a server also accepts --connection tor, which routes the connection through the built-in Tor client.
inspect decodes Zcash data offline: addresses, keys, and raw transactions. Add --lookup to fetch more information from the chain, such as a transaction by its ID.
$ zcash-devtool inspect utest1h55y5z...
Zcash address
- Network: testnet
- Kind: Unified Address
- Receivers:
- Orchard (...)
- Sapling (...)
- Transparent P2PKH (...)
Ironwood notes are sent to the same Orchard receiver in a unified address, so addresses did not change with NU6.3.
A PCZT (partially created Zcash transaction) splits building a transaction into separate steps: create, prove, sign, and send. Each step can run on a different machine, for example with a hardware signer such as Keystone. Each pczt command reads the PCZT from a file or stdin and writes it to a file (--output) or stdout, so the steps can be piped:
zcash-devtool pczt -w ./my-wallet create --address <recipient address> --value 100000 \
| zcash-devtool pczt -w ./my-wallet prove -i ./my-wallet-identity.txt \
| zcash-devtool pczt -w ./my-wallet sign -i ./my-wallet-identity.txt \
| zcash-devtool pczt -w ./my-wallet send
zcash-devtool pczt --help lists the other steps, including inspect, redact, combine, extract and shield.
Since NU6.3, Orchard funds can only move to the wallet's own addresses. The migration commands move them into Ironwood:
zcash-devtool migration -w ./my-wallet plan
zcash-devtool migration -w ./my-wallet commit -i ./my-wallet-identity.txt
zcash-devtool migration -w ./my-wallet status
zcash-devtool migration -w ./my-wallet advance
plan previews the note splits and the transfer schedule, and changes nothing.commit builds and pre-signs the first preparation transactions. Add --external to leave them unsigned for an external signer such as Keystone.status shows the migration's progress and the next step.advance proves the next transaction whose anchor is ready.The migration commands are still being built. advance stops at the first transaction that is ready to broadcast, because broadcasting is not implemented in the tool yet. For everyday use, move funds with a wallet that supports Ironwood. See Shielded Pools.
A video tutorial on the librustzcash Rust crates, the libraries that zcash-devtool builds on.