Inspiration

Digital Scratch Card

What it does

A digital scratch card Dapp. Once per day, users can scratch their digital scratch card for a chance to win the prize pool. Digital scratch card contains 9 random images of advertisements (3 by 3 grid). If the user matches 3 images, they win a piece of the prize pool.

Companies or small businesses can upload their advertisement which will be stored on the digital scratch card and pay 1 MATIC token to keep their advertisement up for some time. MATIC tokens will go to the prize pool.

Contract Address: https://mumbai.polygonscan.com/address/0xb7041238e3f1985b0a6a2ac07d48335e262aaf3e

How we built it

I built the front end with react and use Tailwind CSS for styling. I built the contract with remix. I used Chainlink VRF for random images of advertisements. I deploy my contract on Polygon Testnet.

Challenges we ran into

I had some trouble using rainbowkit

Accomplishments that we're proud of

Building this Dapp from scrach

What we learned

I learned how to use rainbowkit

What's next for Digital Scratchcard

Add more features

Built With

Share this project:

Updates