Skip to content

feat(zinder): add chain backend [WIP]#591

Draft
gustavovalverde wants to merge 3 commits into
mainfrom
feat/zinder-chain-backend
Draft

feat(zinder): add chain backend [WIP]#591
gustavovalverde wants to merge 3 commits into
mainfrom
feat/zinder-chain-backend

Conversation

@gustavovalverde

Copy link
Copy Markdown
Contributor

Zallet currently requires either Zebra state access or Zaino for chain data. This adds a native Zinder backend behind the existing Chain and ChainView boundaries, so Zallet can sync and operate directly against zinder-query without changing the wallet core.

The backend vendors Zinder's WalletQuery contract and uses epoch-pinned full-block reads, subtree roots, per-outpoint transparent spend detection, chain and mempool event streams, and transaction broadcasting. Startup checks the configured network, contract revision, required capabilities, and ingest-control availability before opening the wallet database.

zallet-zinder is included in CI, dependency audits, lockstep tooling, Docker and Nix builds, release artifacts, Debian packaging, launcher assets, and operator documentation. Deployments must retain full block and transaction bytes with raw_blob_policy = "all" and connect zinder-query to the writer's ingest-control endpoint.

The shared librustzcash pin moves to d4f4095de03e1aab3bd72b4c3f83459072ed584e, which is sufficient for this backend and does not require zcash/librustzcash#2609. The Zinder backend's 25 unit tests pass, as do the strict clippy and 4-lockfile consistency gates. The existing Zebra acceptance assertion for info-level startup logs also fails unchanged on upstream main, so it is outside this PR's scope.

gustavovalverde and others added 3 commits July 12, 2026 17:39
Align the three existing wallet resolution graphs with librustzcash main so they share the dependency APIs required by the Zinder backend work.

Co-Authored-By: OpenAI Codex <noreply@openai.com>
Let Zallet consume Zinder native wallet data without routing through Zaino. The backend vendors the wire contract, validates deployment capabilities at startup, pins reads to chain epochs, follows chain and mempool events, detects transparent spends, and broadcasts transactions.

Co-Authored-By: OpenAI Codex <noreply@openai.com>
Integrate zallet-zinder into CI, dependency audits, lockstep tooling, Docker and Nix builds, release artifacts, Debian packaging, launcher assets, and operator documentation so the backend ships alongside the existing implementations.

Co-Authored-By: OpenAI Codex <noreply@openai.com>
@gustavovalverde gustavovalverde changed the title feat(zinder): add chain backend feat(zinder): add chain backend [WIP] Jul 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant