A private Zcash network, on your machine.

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

See it in action
Scroll

How it works

One command to confirmation.

  1. 01

    Start a network

    One command brings up Zakura, lightwalletd, and five development accounts.

  2. 02

    Send a transaction

    Move ZEC between accounts. The confirming block is mined for you.

  3. 03

    See it confirmed

    The chain advances and both balances update in the same local run.

  4. 04

    Inspect the result

    Open the block and transaction in the explorer to see what happened.

02 / 04

Controls

Set the conditions.

Fund accounts, advance the chain, and return to a clean start on your terms.

Faucet

Fund accounts

Give a development account up to 5 ZEC per request.

Mining

Advance the chain

Mine the blocks your test needs, whenever it needs them.

Reset

Start clean

Discard the current local run, then start a fresh network with the same five account addresses.

5
Dev accounts
1
Command to start
0
Testnet faucets

03 / 04

Integrate

Your endpoints, ready for your tests.

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.

Terminal · Default instance
$ 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
}
dashboard
Web UI, and the REST API your tests drive
rpc
Zakura JSON-RPC
lightwalletd
gRPC for light clients
p2p
Peer port, to attach a second node

For another isolated network, run ths --name second start --port-offset 10 and read its endpoints with ths --name second endpoints --json.

Get started

Your first network is one command away.

Install it, run ths, and you have a Zcash chain you control end to end.

View on GitHub