project screenshot 1
project screenshot 2
project screenshot 3
project screenshot 4
project screenshot 5

Redeemable Gift Cards on Polygon

Onboarding mechanism for the next generation of web3 users. Gift cards make it easy for anyone to receive crypto without having a wallet ahead of time. Polygon enables free and decentralized gift cards which are easy for anyone!

Redeemable Gift Cards on Polygon

Created At

ETHSanFrancisco 2022

Project Description

Simply scan and click "Redeem" and the MATIC gift will be sent to your account. Don't have an account? Our app will gently walk you through the process of making a new wallet so you can receive your gift there. Each gift card contains a secret key which is used to unlock assets from the RedeemableNative smart contract. Users deposit their native currency into the fully decentralized and trustless smart contract platform to generate their secret link. They can then share these links to anyone on the internet no trust or wallet required. Have an event where you want to give out physical gift cards? Print your redeemable gift cards with an easily-scannable QR code that anyone can claim with their phone! This is especially helpful at large gatherings like ETHGlobal!

How it's Made

Any good web3 project starts with well designed and tested smart contracts. We used Solidity and Openzeppelin to write and deploy our RedeemableNative smart contract. We deployed on Polygon because its the most stable and cheap blockchain which doesn't sacrifice security for scalability. We ran simulated tests using Tenderly to make sure user funds would remain safe from everyone especially including us. We wrote our front end in react with our account system using web3React allowing us to quickly support many wallets. We wrote our own custom transaction display tech which makes it easier for users to understand the status of their deposits. We used Openzeppelin Defender to enable our Metatransaction tech developed on Polygon allowing our users to pay ZERO gas when redeeming their gift cards. The high speed and low fees of the polygon blockchain really enable use to provide this completely free public good. Users receiving Redeemable gift cards pay ZERO gas making the experience easy and stress free. Our project uses NO databases since the blockchain stores all the necessary data for the application to work. We wrote our backend in golang for its high speed and concurrency. Our server supports OpenGraph metatags to make links which can display the gift card amount. Lastly we containerized the whole project in a docker container so we can deploy it to a kubernetes cluster. Our deployment system allows for automatic cloud scaling through google cloud Platform. All this technology leads to a seamless onboarding experience which brings virtual currency into the physical world without a trusted third party!

background image mobile

Join the mailing list

Get the latest news and updates