Lottery-DAO is a cutting-edge decentralized lottery system built on the Avalanche blockchain. We've created a seamless platform where users can participate in token-based lotteries using various ERC20 tokens. By leveraging Avalanche's lightning-fast transactions and minimal fees, we deliver an exceptional user experience that's both secure and efficient.
- Buy tickets using your favorite ERC20 tokens
- Each token maintains its own prize pool with unique ticket pricing
- Flexible token management system for future expansion
- Seamless ticket purchasing with your chosen tokens
- Real-time tracking of your ticket holdings
- Transparent pool management for each token type
- Ironclad protection against reentrancy attacks
- Secure administrative controls through ownership management
- Battle-tested token transfer handling with comprehensive error checking
- Customizable lottery duration to suit different game styles
- Tamper-proof winner selection powered by blockchain randomness
- Independent prize pools for each supported token
- Hassle-free automated prize distribution
- Clone the project
git clone <repo-url>
cd backend- Set up dependencies
npm install-
Configure your Avalanche network settings Head to hardhat.config.js and configure your Avalanche network parameters.
-
Deploy to Avalanche Fuji
npx hardhat ignition deploy ./ignition/modules/multiTokenLottery.js --network avalancheFuji
npx hardhat run scripts/initialize.js --network avalancheFuji- Fire up the local environment
cd ..
npm install
npm run dev๐ก Remember to update the contract address in your configuration!
| Name | Role | Contact |
|---|---|---|
| Richard Kabi | Developer | |
| Collins Kamau | Full Stack Dev | |
| Aisha Barasa | Developer | |
| Alvin Kiprotich | Backend Dev | |
| Keith Kadima | Full Stack Dev | |
| Jude Kimathi | Backend Dev |
-
๐ซ Landing Page
-
๐ Wallet Integration
- Smooth MetaMask/Core integration
-
๐ฎ Lottery Interface
-
โ๏ธ Admin Dashboard
-
๐ Speed & Performance
- Lightning-fast transaction finality
- Seamless user experience with minimal waiting times
-
๐ Smart Contract Deployment
- Fully tested on Avalanche's Fuji testnet
- Hardhat deployment pipeline for reliable updates
-
๐ฐ Cost Efficiency
- Minimal transaction fees
- Economical for both users and operators
Lottery-DAO represents the future of decentralized lottery. By combining blockchain transparency with user-friendly design, we're creating an inclusive platform that appeals to both crypto veterans and newcomers. Stay tuned for exciting new features and community initiatives!





