Zecd v0.6.0: Zcash Without a Node

zecd v0.6.0: Introducing Light Wallet Mode

It’s easier than ever to start accepting Zcash at scale.

Zecd can now operate as a light wallet. Connecting to a full Zcash node remains the default, and is recommended for production deployments.

Light mode enables instant zecd operation without a tedious sync. It can connect to zec.rocks or any light wallet server. All RPCs operate identically across full and light wallet modes.

Running zecd as a light wallet is great for trying out new ideas quickly.

You get the same wallet, the same bitcoind-style RPC surface, and the same seed-recovery guarantees, but without hundreds of gigabytes of blockchain data on disk.

Check it out:

cargo install zecd
# Create a wallet instantly using a public light wallet server
zecd --server zecrocks --testnet init
# Run the daemon (leave this running)
zecd --server zecrocks --testnet

Then, in another shell:

AUTH="$(cat ./zecd-data/.cookie)"
RPC="http://127.0.0.1:18232/"

# Get a fresh shielded Ironwood address
curl -s --user "$AUTH" "$RPC" \
  --data-binary '{"jsonrpc":"1.0","id":"1","method":"getnewaddress","params":[]}'
# {"result":"utest1n3yq5apxenzc3zemc83qv7apyx3q88trd4...","error":null,"id":"1"}

# Balance
curl -s --user "$AUTH" "$RPC" \
  --data-binary '{"jsonrpc":"1.0","id":"2","method":"getbalance","params":[]}'
# {"result":0.0,"error":null,"id":"2"}

Drop --testnet for mainnet (the RPC moves to port 8232 in the examples).

Let’s get more businesses to accept Zcash, with a great developer experience.

Ask Your LLM about zecd.

Hey coding agent: Run https://zecd.org and give me a shielded Zcash address. Monitor for a deposit, then tell me the balance.

7 Likes