An ERC721 project that lets you mint your NZ COVID vaccination status.

NZ COVID Badge

How does it work? 🔗

NZ COVID Badge takes your NZ COVID Pass, deconstructs it, passes it through a custom ZK-SNARK and sends it off to the smart contract for minting.

Does my NZ COVID Pass get saved in the calldata? 🔗

No. NZ COVID Badge only takes a few key parts of your NZ COVID Pass, passes them through a custom ZK-SNARK, then verifies the zero knowledge proof of you holding the said pass in the smart contract. An attacker can’t reconstruct your NZ COVID Pass based on blockchain logs.

Does my name get saved in the calldata? 🔗

No. NZ COVID Badge sends an anonymized identity of your NZ COVID Pass to the smart contract. To be precise, NZ COVID Badge sends 2256 hashes of random identities, one of which is yours. An attacker can’t figure out your name without reversing the hash function.

Do you save my NZ COVID Pass on the backend? 🔗

No. NZ COVID Badge is a stateless decentralized application (Dapp) and doesn’t have a backend.

Does this website send analytics or telemetry? 🔗

No. This website collects no analytics, telemetry or any other data derived from user actions. The website only communicates with an EVM node via an RPC endpoint to send and receive information from the blockchain.

How many badges can I mint? 🔗

You can only mint 1 badge per person. Even if you request a new NZ COVID Pass from mycovidrecord.nz ⧉, your anonymized identity will match against the list of spent anonymized identities and prevent you from minting again.

Can I sell my NZ COVID Badge? 🔗

Yes. Although the chance that anyone will buy is infinite small. Don’t expect to recoup the funds you spent.

What’s the mint price? 🔗

Mint is free, it only costs gas to mint. Although the gas price itself is on the higher side, due to the Elliptic Curve signature and ZK-SNARK verification that happens in the smart contract.

What’s the roadmap? 🔗

There’s no roadmap, the project is finished once the contract has been deployed on mainnet.

How this project will be promoted? 🔗

This project will not be promoted.

How many badges can ever be minted? 🔗

The contract’s total supply does not have a hard limit but since there’s only 1 badge per person, the total supply is effectively limited by the New Zealand total population of about 5 million.

What do I get after mint? 🔗

You get an ERC721 NZ COVID Badge, nothing more.

How is this project licensed? 🔗

The badge asset is released as CC0 (public domain) while the code is licensed under MIT unless specified otherwise.

Has there been an audit done on the contract? 🔗

No.

What browser should I use? 🔗

NZ COVID Badge only works in Mozilla Firefox.

Is NZ COVID Badge vulnerable to The Frozen Heart? 🔗

No, NZ COVID Badge is not vulnerable to The Frozen Heart ⧉.

How long it takes to compute a proof? 🔗

It takes somewhere in between 14 and 43 minutes to compute a proof of holding a pass on a modern CPU.

Can I read more about the technical implementation? 🔗

See NZ COVID Badge - Tech Spec ⧉