Fund accounts
Give a development account up to 5 ZEC per request.
Run a complete Zcash Regtest network locally. Fund accounts, send transactions, mine blocks, and inspect every step.
curl --proto '=https' --tlsv1.2 -fsSL https://raw.githubusercontent.com/zcashlabs/thus-spoke-zakura/main/install.sh | THS_INSTALL_RUNTIME=docker sh
Linux and macOS · Docker required · then run ths
How it works
One command brings up Zakura, lightwalletd, and five development accounts.
Move ZEC between accounts. The confirming block is mined for you.
The chain advances and both balances update in the same local run.
Open the block and transaction in the explorer to see what happened.
02 / 04
Controls
Fund accounts, advance the chain, and return to a clean start on your terms.
Give a development account up to 5 ZEC per request.
Mine the blocks your test needs, whenever it needs them.
Discard the current local run, then start a fresh network with the same five account addresses.
03 / 04
Integrate
Every service binds to 127.0.0.1 only. By default the dashboard listens on 32805, Zakura RPC on 18232, P2P on 18233, and lightwalletd on 9067. Use ths endpoints --json to give your app or test suite the current addresses.
$ ths endpoints --json
{ "dashboard": "http://127.0.0.1:32805", "rpc": "http://127.0.0.1:18232", "lightwalletd": "http://127.0.0.1:9067", "p2p": "127.0.0.1:18233", "network": "regtest", "tls": false }
For another isolated network, run ths --name second start --port-offset 10 and read its endpoints with ths --name second endpoints --json.
Documentation
Start with the commands, then use the account and troubleshooting guides as your tests grow.
Get started
Install it, run ths, and you have a Zcash chain you control end to end.