Donate, Play, Win - Supports registered non-profit organizations dedicated to those in need, and win prizes with transparency on our platform, combining giving with gaming excitement.
Our Web3 Gamified Donation Platform offers several unique features:
-
Roulette Twist: When a donation is made, 25% of the contribution goes into a prize pool. The lucky donor who gets chosen by the roulette will win the prize, making giving more exciting.
-
Support for NPOs: The remaining 75% of the donation goes into the donation pool. Within this pool, 50% is evenly distributed among all registered NPOs to support their causes. The other 50% goes into a separate roulette for NPOs, where one lucky NPO will receive extra funds.
-
Smart Contract Powered: All fund management and the random selection of lucky winners are handled by a secure and transparent smart contract, ensuring fair and unbiased outcomes.
-
Ethereum: The core of our platform relies on Ethereum smart contracts to manage donations, prizes, and roulette selections.
-
Scaffold-eth: The scaffold-eth framework provides the foundation for our project, including contract functions, and more. We've extended and customized the platform to incorporate the gamified donation features.
-
Next.js: The frontend of the platform is built using React, offering a responsive and intuitive user interface.
-
Solidity: The smart contracts are written in Solidity to ensure security and transparency.
- Clone the project repository to your local machine:
git clone https://github.com/sirhcofe/ETHKL23-SpinForGood.git spinforgood
- Navigate to project repository:
cd spinforgood
- Install the necessary dependencies:
npm i
- You can start a local Ethereum network using Hardhat:
npm run chain
- On a second terminal, deploy the contract:
npm run deploy
- On a third terminal, start the Next.js app:
npm run start
Visit http://localhost:3000 in your web browser to access the application.
You can view more regarding the project here: https://devfolio.co/projects/spin-for-good-213b