← Back to home

RafflChain

Decentralized Raffle where half of prize pool is given to a charity

Screenshots

RafflChain screenshot 1
RafflChain screenshot 2
RafflChain screenshot 3
RafflChain screenshot 4
RafflChain screenshot 5

Problem Statement

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!

Solution

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/appsection 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.

Hackathon

ETHOnline 2024

2024

Contributors