PrizeFi is designed as an educational blockchain project for learning how decentralized lotteries work.
Participants can join by paying a small entry fee, and the contract randomly picks a winner who receives the entire prize pool.
⚠️ Note:
The randomness in this demo uses block data and is not secure for real-world use.
For true randomness, use Chainlink VRF or another oracle service.
Github link : https://github.com/drishyam27/PrizeFi1.sol
The mission of PrizeFi is to help beginners learn and understand blockchain concepts by offering a clean, easy-to-follow smart contract project.
PrizeFi aims to:
Teach the fundamentals of decentralized lotteries
Show secure coding practices (while pointing out limitations)
Promote hands-on learning with a real deployed contract
Encourage experimentation on test networks
Help new developers build their confidence in Web3
PrizeFi is not designed to be a production-grade lottery, but rather an open, approachable gateway into decentralized application development.
Traditional lotteries are often centralized, opaque, and lack trust.
Users cannot verify how winners are chosen, whether funds are handled properly, or if the system is fair.
For beginners in blockchain, understanding how decentralized lotteries work—especially those involving smart contracts, randomness, and prize distribution—can be confusing and difficult.
PrizeFi provides a simple and transparent decentralized lottery built using Solidity.
It serves as an educational example that demonstrates:
How users can enter a lottery using cryptocurrency (0.01 CELO).
How funds are securely stored inside a smart contract.
How a winner is selected using on-chain pseudo-randomness (with notes on why it’s not secure for production).
How contract managers control game rounds.
Everything is recorded on the blockchain, allowing full transparency through Celo Blockscout.
India