Dear Zcash Community,
We report on the completion of milestone 2 for the ZEC-NAM shielded airdrop protocol. In this second of four milestones, the focus has been on concluding the Zcash side, in particular the central zero-knowledge proof for ownership of eligible notes. Our construction is described in more detail in the published documentation [0] and repository [1], and we welcome and appreciate testing and feedback! We note that this phase has focused on completeness and not soundness.
The presented system consists of a zair tool for shielded Zcash airdrops, supporting both Sapling (Groth16) and Orchard (Halo2) proofs. This tooling, among other things, supports the main airdrop flow:
- Generating an airdrop snapshot
- Proving ownership of eligible notes
- Verifying ownership of eligible notes
This is designed to keep the note value, position and the Zcash nullifier private, where-as double-claims are prevented by deduplicating domain-separated airdrop nullifiers.
As described in the documentation, this involves design-choices for snapshots, domain separation, non-membership Merkle-proofs and a custom SHA256 commitment scheme for interoperability. Further, we bind the proofs of eligible notes to an intent message via a pool-specific signature (Sapling/Orchard), that will be used to bind the proof-of-ownership to the airdropped amount.
Going forward, we focus on the next phase and milestone 3, where we will showcase the zair tooling by integrating an airdrop for Namada.
Best regards,
Eiger Co
[0] Introduction - ZAIR documentation
[1] GitHub - eigerco/zair: Zcash airdrop utility