GitHub Issue: ZAP1 Protocol Hardening and Zaino Integration · Issue #258 · ZcashCommunityGrants/zcashcommunitygrants · GitHub
Applicant: Frontier Compute / LiquidLV DAO LLC (Wyoming)
Project Lead: zk_nd3r
Requested Amount: $18,000 USD over 3 months
Category: Infrastructure
Repository: GitHub - Frontier-Compute/zap1: On-chain attestation protocol for Zcash. BLAKE2b Merkle tree anchored to Orchard transactions. 21 event types. Verified on 5 chains. · GitHub (MIT)
The problem
Zcash has no standard for structured data in shielded memos. If you need private payments with public verifiability, you invent a custom binary format or write plaintext. Wallets and explorers cannot parse either without application-specific code. ZIP 302 defines the container but not application-layer payload types.
The solution
ZAP1 is a production-tested attestation protocol for Zcash. Open-source, MIT-licensed. Structured memo envelope, deterministic BLAKE2b hash construction with operator-configurable domain separation, Merkle tree commitment, on-chain anchoring. Application-agnostic. Operators register their own event types and personalization strings. Verification needs only the proof bundle and chain access.
Verify the claims
git clone GitHub - Frontier-Compute/zap1: On-chain attestation protocol for Zcash. BLAKE2b Merkle tree anchored to Orchard transactions. 21 event types. Verified on 5 chains. · GitHub && cd zap1 && bash scripts/evaluate.sh
14 end-to-end checks against live mainnet. Or run python3 conformance/check.py (14 protocol checks) and python3 conformance/check_api.py (21 API schema checks).
Full walkthrough: zap1/EVALUATOR_QUICKSTART.md at main · Frontier-Compute/zap1 · GitHub
What already exists
All shipped before this application:
- Reference implementation on GitHub - Frontier-Compute/zap1: On-chain attestation protocol for Zcash. BLAKE2b Merkle tree anchored to Orchard transactions. 21 event types. Verified on 5 chains. · GitHub (MIT)
- Verification SDK on crates.io: Rust Package Registry (Rust + WASM, 22 tests, 1 dep)
- GitHub - Frontier-Compute/zap1-js: ZAP1 Merkle proof verification SDK for JavaScript - WASM backend · GitHub (19 tests)
- Universal memo decoder on crates.io: Rust Package Registry (23 tests, zero deps)
- 3 mainnet anchors, 12 leaves, 0 unanchored
- ZIP: Structured Attestation Protocol for Application-Layer Lifecycle Events (ZAP1) by Zk-nd3r · Pull Request #1243 · zcash/zips · GitHub
- Test vectors for all 9 deployed event types
- Browser verifier, attestation explorer, interactive simulator
- Zaino gRPC validated on mainnet
- FROST 2-of-3 threat model
- ZIP 302 TVLV reference encoder/decoder
- zap1/conformance at main · Frontier-Compute/zap1 · GitHub ) - 14
- protocol checks, 21 API schema checks, hash vectors, valid/invalid fixtures
- zap1/conformance/openapi.yaml at main · Frontier-Compute/zap1 · GitHub for read-only surfaces
- Reference clients:
zap1/conformance/clients/zap1_client.py at main · Frontier-Compute/zap1 · GitHub ,
zap1/conformance/clients/zap1_client.ts at main · Frontier-Compute/zap1 · GitHub - Consumer contracts for
zap1/conformance/contracts/wallet.md at main · Frontier-Compute/zap1 · GitHub ,
zap1/conformance/contracts/explorer.md at main · Frontier-Compute/zap1 · GitHub ,
zap1/conformance/contracts/indexer.md at main · Frontier-Compute/zap1 · GitHub ,
zap1/conformance/contracts/operator.md at main · Frontier-Compute/zap1 · GitHub - zap1/conformance/VERSIONING.md at main · Frontier-Compute/zap1 · GitHub with stability guarantees
- ZAP1 API
- CI green on all 7 repos. 124 tests + 55 automated checks.
One production deployment is live on mainnet. The grant funds the protocol layer, not the
deployment.
What the grant funds
Milestone 1: Protocol hardening + FROST design - 4 weeks, $6,000
Acceptance: in a clean-room reproduction using only the published spec and vectors (no reference implementation code). FROST migration doc published. spec v3.0 finalized.
Milestone 2: Anchor hardening + operator tooling - 4 weeks, $5,000
Acceptance: retry/alerting working, operator runbook tested against fresh deployment.
Milestone 3: Zaino scanner integration - 4 weeks, $7,000
Acceptance: Zaino-backed scanner validated, or working adapter plus integration guide published and tested against recorded compact-block data.
Total: $18,000 / 3 months. Tranche-based. Each milestone evaluated before payment.
Who benefits
Any Zcash application that needs structured on-chain commitments: mining operators, staking services, merchant platforms, DAO governance, Crosslink validators. The verification SDK, memo decoder, and scanner pattern are reusable.
Related
- Live on-chain proof on Zcash mainnet:
https://pay.frontiercompute.io/anchor/history - ZIP: Structured Attestation Protocol for Application-Layer Lifecycle Events (ZAP1) by Zk-nd3r · Pull Request #1243 · zcash/zips · GitHub
Full details in the GitHub issue linked above.