nfl0 / namada-shielded-airdrop

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Namada Shielded Zcash Airdrop Prototype

This GitHub repo shows a proof-of-concept transaction validity check for the Namada shielded ZEC airdrop.

Please see this blog post for historical context and PROTOCOL.md for details on the protocol.


To run the demo, simply execute in the root of this repository:

cargo test

This runs two tests:

  • one where there is a valid signature for the airdrop transaction (the amount of ZEC and NAM match)
  • one where the transaction is not balanced and should be rejected

About


Languages

Language:Rust 100.0%