Three months ago, we wrote about why we were rebuilding the Zcash indexer around its own protocol. Here is what that decision has made possible. Today, you can point your wallet at Zinder on Mainnet, where it handles 8 times as many wallets per second as Go lightwalletd, the server most wallets use today, and serves explorers from that same index.
The server you never see
Every time you open a Zcash wallet, it asks a server called an indexer for the blocks it has missed, then checks them privately on your device. If you have ever opened your wallet after a week away and watched the app spin, you know what waiting on the indexer feels like. A slow indexer can leave you waiting minutes for a restore or staring at a balance that will not update, while a fast one makes Zcash itself feel fast.
We set out to build the fastest and most dependable indexer we could, in a way that would not limit future development.
A core, and everything that plugs into it
Zinder’s core reads the chain from a node once and builds the index. Its primary responsibility from then on is to keep that index correct as new blocks arrive, including when the network replaces blocks in a reorg. Everything that talks to a wallet, an explorer, or another application is a plugin.
The lightwalletd plugin speaks the lightwallet protocol, so changing the server address is enough to get a wallet running on Zinder. The Cipherscan plugin (alpha) lets explorers built for Cipherscan’s API run on Zinder without a rewrite, and Zinder’s own API lets new wallets and applications access capabilities that older protocols do not offer.
Any number of plugins can share that one index, so a wallet never pays for the work an explorer needs and an explorer never slows a wallet down.
That is what we meant in our first post when we insisted that compatibility should be a module, not the foundation. If lightwalletd is a plugin, so is whatever protocol comes next.
Who it is for
- Light wallets keep working as they are, pointed at a new server address.
- Browser wallets connect directly from the browser, with no proxy in between.
- Server-side wallets can use Zinder’s own API and Rust client, which answer every call from the same view of the chain.
- Explorers get search, aggregate views, and a Cipherscan-compatible API from the index that serves wallets.
- Operators run one binary with three presets and configure it entirely through environment variables.
Fast where wallets feel it
We ran Zinder alongside four other wallet servers on identical machines, using the same copy of Zcash Mainnet and 86 workloads modeled on what real wallets do. Zinder passed all 86, and when we substantially reduced the available memory, it still passed more workloads than any other server.
With 16 wallets restoring at once, Zinder handled 11% more restores per second than the next fastest server and 8 times as many as Go lightwalletd. Full sessions, where a wallet syncs and looks up its own transactions, are the most demanding wallet workloads we tested, and they ran 20% faster on Zinder than on the next fastest server.
Every shielded sync starts with a tree-state request, and Zinder answered twice as many of those as any other server. With nothing cached, it streamed blocks straight from disk 38% faster than the next fastest server.
For an operator starting from scratch, Zinder built its index and was ready to serve in 42 minutes. No other server in our tests built its index faster, and Go lightwalletd took 6 times as long.
Zinder does not lead every chart, and we publish those results as well. You can find every number for every server at perf.zinder.zfnd.org.
Real wallets, not only benchmarks
Partway through restoring a wallet, we cut the connection between ZODL and Zinder. When the connection was restored, the app asked for the same blocks again, Zinder sent them, and the restore finished as if nothing had happened.
With ZODL we also restored wallets, received and sent payments, and restarted the app, all against Zinder.
We also went request by request through what ZODL on iOS, Zingo, Edge, Zkool, Vizor, and Slipstream ask of an indexer, and built Zinder to serve each of them well. Zinder supports NU7, and we certify every release against both Zebra and Zakura.
Only on Zinder
Being fast is one thing, but Zinder also solves problems that no other Zcash wallet server does.
Your balance always adds up, because a wallet can maintain a consistent view about the same moment in the chain, and a new block arriving halfway through never gives it answers that disagree. A first sync survives a bad connection, because the wallet asks for its history once and carries on from the block where it stopped.
An app that goes offline can catch up. When it reconnects, it receives everything that happened while it was away, in order, including which blocks the network replaced. Zinder tells apps up front what the server supports, and every error explains what went wrong and whether to try again.
Explorers can get fees and pool flows from the same index that serves wallets, through Zinder’s API or Cipherscan’s, without running a second database. And if your node deletes old transactions, Zinder can keep its own copy and continue serving the full history.
Run it your way
Today, Zinder is one binary with three presets: light-wallet, wallet, and explorer. It runs on a VM, in Docker, on Kubernetes, or on a single-volume platform, and you configure it with environment variables, with no config file required.
If the node goes down, Zinder keeps serving wallets and can fail over to a backup node. It verifies data throughout, from the index on disk to the transactions it fetches from the node, and rejects data that does not match.
The design that makes plugins possible also allows for different storage backends, and we are working on two more deployment options. PostgreSQL will let you run Zinder on a managed database and scale reads with replicas, the way you already scale everything else. Stateless serving will run Zinder processes with no local disk, on platforms that start and stop containers on demand, so you can add capacity when wallets show up and remove it when they leave.
Whichever deployment fits your operation, the index, the plugins, and the APIs stay the same.
Where we want to take this: community plugins
We built the lightwalletd and Cipherscan plugins ourselves, and we want anyone to be able to build the next one. If your product needs the index to speak a protocol we do not support, or to answer a question we never thought of, you should be able to write that plugin without touching the core and share it with everyone else, so that the whole ecosystem can extend one index.
Try it
The Zcash Foundation runs public endpoints you can use without deploying anything.
| What you are building | Mainnet | Testnet |
|---|---|---|
| A wallet that speaks lightwalletd | https://lwd.zfnd.org:443 |
https://testnet.lwd.zfnd.org:443 |
| An application on Zinder’s own API | https://zinder.zfnd.org:443 |
https://testnet.zinder.zfnd.org:443 |
If your wallet lets you choose a server, enter https://lwd.zfnd.org:443 and use it the way you always do. To run your own instance, start from the README.
Tell us what you would build
If you try Zinder with your wallet, tell us which wallet you used and how it performed. We would also like to hear from wallet developers about which requests matter most to them and what they would build with Zinder’s own API.
Explorer and application builders, what do you compute yourself today that the indexer should serve? If you operate Zinder or plan to, tell us whether you would run it the way it ships today, on PostgreSQL, or in a stateless configuration.
Whatever you are working on, tell us about the plugin you would write, especially if it serves a use case we have not heard about yet. Reply here or open an issue at github.com/ZcashFoundation/zinder.
Alpha notice: Zinder is still in alpha. Pin exact versions and expect breaking upgrades.




