Grant Application - Zaino Maintenance and Development (Umbriel Systems)

Hi all,

I have submitted a grant application (Zcash Community Grants Issue #609) to ZCG for Zaino, under Umbriel Systems Ltd. This post summarises, questions and feedback welcome.

The short version

  • Applicant: Umbriel Systems Ltd (me, Arlo Byrne (idky137)). One developer.
  • Amount: $126,720, at $110 per hour and 32 hours a week. This is the hourly rate ZCG approved for Zaino developers in the Zaino Completion grant.
  • What it pays for: three months of work already delivered (September to November 2026), and six months of maintenance, releases and development (December 2026 to May 2027).
  • What gets built: a Zakura read-state backend, a read-only mode for applications that embed Zaino, stable block header and history proof services, and a native Nym mixnet transport.
Period Basis Hours Amount
Retroactive: 1 Sep to 30 Nov 2026 3 months of 4 weeks at 32 h/week 384 $42,240
Forward: 1 Dec 2026 to 31 May 2027 6 months of 4 weeks at 32 h/week 768 $84,480
Total 1,152 $126,720

There are no hardware or service costs and no startup payment. The first payment is for work that is already public as 0.11.0-rc.2, with the final release following this week.

Where Zaino is now

The last Zaino grant (Release Stabilization) covered work to 30 August 2026. Since then Zaino has had no funding.

Zaino 0.10.x stalled at NU7 activation on mainnet, because the NU7 changes could not be reviewed and released inside ZingoLabs. ZingoLabs has since released its own light-wallet indexer and no longer maintains Zaino, so development and maintenance moved to Umbriel Systems. The background is in the 0.11.0 announcement thread.

Zaino 0.11.0-rc.2 was published on 27 November. It brings:

  • NU7 and Zebra 7 support. Zaino checks the validator’s activation schedule at start-up and refuses to start on a consensus branch it does not know, instead of stalling.
  • A new store with selectable index sets. A wallet server does not pay disk or sync time for indexes only an explorer needs.
  • Full transparent history indexing. Address history, spent outputs and the UTXO set are served from Zaino’s own indexes, including getspentinfo, which zebrad does not implement.
  • Block headers and ZIP 221 history proofs for light clients, as experimental gRPC methods.
  • Serving while it syncs. zainod serves about 40 seconds after start.

Measured on mainnet, on a laptop, against Zebra 7.1.0:

Index set Sync from genesis Disk Peak memory
lightclient (default) 33 m 42 s 35.8 GiB 8.0 GiB
full 55 m 12 s 58.5 GiB 17.7 GiB

For comparison, the sync I reported to ZCG in August took 4 h 43 m and 76 GiB. Serving throughput on a light-wallet workload is about 8 times that of Zaino 0.10.1, with no errors at up to 200 concurrent wallets. The full benchmark tables are in the announcement thread.

The questions ZCG asked in August

In the August meeting ZCG asked who uses Zaino and what it provides that the alternatives do not.

Who uses it? The application lists 39 projects with public, linkable integrations. Among them:

  • Ledger builds its production Zcash indexer from a Zaino commit (build configuration).
  • Zecky ships Zaino inside its Lock it desktop wallets and its Rock it Umbrel node (build record).
  • ZecHub’s ZEC Bounties platform runs on Zebra and Zaino (documentation).
  • The Zcash Foundation’s Z3 stack distributes Zaino as its indexer (deployment).
  • Zec.rocks, Shielded Labs, Nym, Zecbox and others deploy or package it, and about twenty-five test tools and independent developer projects build on it.

What does it provide that the alternatives do not?

  • JSON-RPC for explorers and full-node wallets, with spend, address and UTXO indexes. With zcashd retired, these indexes need a home outside the validator.
  • A Rust library surface for applications that embed an indexer.
  • Block headers and ZIP 221 history proofs for light clients.
  • It is the codebase these consumers already run.

Is this stabilisation or another refactor? The architecture work ZCG saw in August is finished in 0.11.0. This grant funds releases and maintenance on that base, and four additions that are each an adapter or a mode on the existing architecture.

Why funding is needed

Several of the consumers above are on old or unofficial builds. Ledger and Zecky run a commit of the unreleased NU7 branch, Z3 pins 0.6.0, and Zecky carries its own patches. Zallet removed its Zaino backend in October on the understanding that Zaino was becoming light-client only. These projects need releases, security fixes and network-upgrade support from an active upstream, and without funding there is no one to provide them.

There are also things consumers need that Zaino does not do yet:

  • Zakura. Zecky’s Lock it and Rock it run Zakura as their validator. Zaino reads Zebra’s state directly, which is its faster mode, but reaches Zakura only over JSON-RPC.
  • Running light beside a zainod. Exchanges and wallets should be able to run several light applications against one zainod.
  • Nym, end to end. Wallets that use Nym today reach an indexer through a separate proxy in front of it, e2e Nym support in he same serving process can close the gaps this implementantion has.

Milestones

  1. Retroactive, September to November 2026 ($42,240). The ChainView work shipped in 0.10.1 and 0.10.2, NU7 and Zebra 7 support, and Zaino 0.11.0 (rc.2 published, final release to follow): the new store and index sets, transparent history indexing, the header and history-proof services, the benchmark tooling, and usage guides for every crate. The application links each pull request.
  2. December. External security audit readiness, delivered to ZCG’s security lead: a threat model, an audit-readiness document with a proposed scope, and a documented security policy. Also pull requests to the lightwallet protocol for the header and history-proof methods, a pull request updating Z3’s Zaino pin, and zaino-state formally deprecated with a removal schedule and a migration guide to zaino-service.
  3. January. A Zakura read-state backend, so Zaino reads Zakura’s state directly as it does Zebra’s. Also NU8 support ahead of activation, if NU8 is scheduled within the grant period.
  4. February. A read-only mode for library users: any number of applications read one zainod’s store and take the chain head and mempool from that zainod, with no validator connection of their own. Also the block header and history proof services released as stable.
  5. March. zainod served natively over the Nym mixnet, and a wallet client library that routes each call over TCP or Nym. Both experimental, with published mainnet measurements.
  6. April. Fixes for all issues found in the external security audit, with important vulnerabilities fixed earlier as they are reported.
  7. May. Full release of the Nym server and wallet library, and a final report covering releases, issues and advisories closed, benchmark history and the status of every listed consumer.

Each forward milestone is $14,080 and also covers that month’s standing work: issue triage, bug fixes, security response, Zebra and dependency upgrades, benchmarks, consumer support, a forum report and a release.

Network-upgrade support takes priority over feature work. NU8 is proposed for late January and is not yet scheduled. If there are significant, unexpected changes to the protocol and they displace a milestone’s feature, that feature moves to the next milestone.

Risks

Zaino would have a single maintainer, which means no second reviewer inside the team. The automated test suites carry more of the review load than they would in a larger team, every crate has a usage guide, the December milestone prepares the codebase for an external audit, and the April milestone fixes what the audit finds.

Earlier this year ZCG held back an external audit of Zaino on my advice, because the codebase was still being restructured. That work is finished in 0.11.0. The audit is not part of this budget: I am asking ZCG to commission it, so that the auditor is chosen and paid independently of me, and I will help scope it and be available to the auditors throughout. If its report arrives after April, the fixes follow the report. The readiness document covers 0.11.x, so the Zakura backend, the read-only mode and the Nym transport are in the audit’s scope only if it starts after they land.

Docker Hub and crates.io publishing access is still being transferred. If that does not complete, images and crates will be published under new names.

Feedback

If you run Zaino, or stopped running it, I would like to hear what you need from it. Issues are open at Issues · umbriel-sys/zaino · GitHub, and I can answer questions about the application here.

Thanks,
Arlo Byrne (idky137)

2 Likes

Zaino 0.11.0 is released.

This is the rebuilt store and serving path, with NU7 and Zebra 7 support. On mainnet the default index set builds in under 25 minutes and serves recent blocks at 13,000 to 16,000 requests per second, level from 50 to 10,000 concurrent wallets.

Announcement and full benchmarks:

Release notes and upgrade steps:

2 Likes

Are you aware there’s a cryptocurrency with privacy features called Zano, which many people might pronounce exactly the same?

I am strongly in favor of this grant, my experience of working with @idky137 is he is very capable and organised with a strong work ethic. I would like to see zaino development continue to be supported going into the future and I expect this will be very good return on investment for the zcash community. Good luck @idky137!