Building an NFT raffle platform for users who want to raffle off their NFTs on Ethereum.
ROFL is a decentralized raffle system where anyone can create raffles. The system enables users to view all available raffles, view raffles they have entered, create new raffles, and purchase tickets for ongoing raffles. Additionally, users can receive notifications when raffles they have entered, hosted, won, or lost have completed.
The platform is designed to provide a secure and transparent way for users to participate in NFT raffles. Users can create new raffles by specifying the NFT prize, the number of tickets available, end date, and the ticket price. Once a raffle is created, users can purchase tickets using cryptocurrency.
The system ensures fairness by using a ChainLink VRF to select the winner(s) of each raffle. The winner(s) are automatically notified, and the NFT prize is transferred to their wallet.
Overall, the project is an innovative use of NFTs to create a decentralized raffle system that provides users with a fun and secure way to participate in raffles for valuable prizes
ROFL uses Next.js, React, TypeScript, Ethers.js, and Chakra UI. But thats the boring stuff. To improve this projects UI/UX and bring it a bit closer to what were used to on the traditional web, we utilized Push Protocols restful api and socket based sdks. With this, we were able to send users real-time alerts of raffles they were involved in, bringing a much more user friendly feel to our app. We are also using Push Protocol to send notifications for ending raffles.