← Back to home

Crypto Gift Cards

A crypto Gift card having the same UX as a Google play store gift card.

Screenshots

Crypto Gift Cards screenshot 1
Crypto Gift Cards screenshot 2
Crypto Gift Cards screenshot 3

Problem Statement

The idea is to have a gift card like experience for crypto currencies, similar to web2 gift cards like Amazon, Google Play, etc.Currently to send someone tokens one needs to know the recipient's wallet address(This Leads to a 2-step process. first collect address then transfer). This is not a great user experience. It would be much better if one could send tokens to a recipient's email address or phone number or through other channels like Twitter(X). This is what this project aims to achieve.

Solution

How it worksaIssuercreates a contract and fills it with tokens, then sends"Gift Cards"to recipientseach gift Card is a secret signature by the issuer. Now anyone with a valid signature can claim the tokens. But submitting on-chain azk-proofthat they have a valid signature by the issuer.the neat part is one can useany adressto redeem the Gift Card.a nullifier is used to prevent double spending.TeckstackFor zk, I have used circom to write circuits then used the groth16 prooving system. Used truffle to deploy contracts on the test chain(s). For front-end I am using svelte to create a simple static webpage.

Hackathon

Superhack

2024

Contributors