
RafflChain
Decentralized Raffle where half of prize pool is given to a charity
Demo
About
This is RafflChain, a DeFi Raffle where users can buy tickets and increase the prize pool. At the end of the month, the prize pool is distributed between the winner and a charity! It is fully decentralized, and automatic, prizes are given to the winner without needing them to do anything!
How it's made
The contract area was developed using Solidity and Hardhat. For the front end I used https://shipyour.software as the template. It is built using Svelte, Wagmi and Ethers. The `/app` section is where most of the work was done. I spent a big bunch of my development time doing the UX as lean as possible. The contract is verified automatically, through a set of CI tools that I applied.