Skip to content

Talent-Index/Lottery-DAO

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

63 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŽฒ Lottery-DAO

License: MIT PRs Welcome Made with Love

๐ŸŒŸ Description

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.

โœจ Key Features

๐Ÿช™ Multi-Token Support

  • 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

๐ŸŽซ Smart Ticket System

  • Seamless ticket purchasing with your chosen tokens
  • Real-time tracking of your ticket holdings
  • Transparent pool management for each token type

๐Ÿ”’ Rock-Solid Security

  • Ironclad protection against reentrancy attacks
  • Secure administrative controls through ownership management
  • Battle-tested token transfer handling with comprehensive error checking

๐ŸŽฎ Lottery Mechanics

  • 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

๐Ÿ› ๏ธ Tech Stack

Languages & Frameworks

JavaScript Solidity React

Blockchain

Avalanche Web3.js

Development Tools

Hardhat OpenZeppelin npm

๐Ÿš€ Getting Started

Prerequisites

Node.js Git

  1. Clone the project
git clone <repo-url>
cd backend
  1. Set up dependencies
npm install
  1. Configure your Avalanche network settings Head to hardhat.config.js and configure your Avalanche network parameters.

  2. Deploy to Avalanche Fuji

npx hardhat ignition deploy ./ignition/modules/multiTokenLottery.js --network avalancheFuji
npx hardhat run scripts/initialize.js --network avalancheFuji
  1. Fire up the local environment
cd ..
npm install
npm run dev

๐Ÿ’ก Remember to update the contract address in your configuration!

๐Ÿ‘ฅ The Team

Core Contributors

Name Role Contact
Richard Kabi Developer GitHub Email
Collins Kamau Full Stack Dev GitHub Email
Aisha Barasa Developer GitHub Email
Alvin Kiprotich Backend Dev GitHub Email
Keith Kadima Full Stack Dev GitHub Email
Jude Kimathi Backend Dev GitHub Email

๐Ÿ† Project Milestones

Frontend & Wallet Integration

Status

Completed Deliverables

  1. ๐Ÿ’ซ Landing Page

    • Sleek, modern design with intuitive wallet connection
    • Clear project overview and value proposition
    • Landing Page
  2. ๐Ÿ‘› Wallet Integration

    • Smooth MetaMask/Core integration
  3. ๐ŸŽฎ Lottery Interface

    • Browse active lotteries and ticket options
    • User-friendly ticket purchasing system
    • Lottery Interface
    • Ticket Purchase
  4. โš™๏ธ Admin Dashboard

    • Comprehensive lottery management system
    • Token configuration and pricing controls
    • Real-time participation metrics
    • Admin Overview
    • Token Management
    • Analytics Dashboard

โ›ฐ๏ธ Avalanche Integration

Why Avalanche?

Network Status

  1. ๐Ÿš„ Speed & Performance

    • Lightning-fast transaction finality
    • Seamless user experience with minimal waiting times
  2. ๐Ÿ“ Smart Contract Deployment

    • Fully tested on Avalanche's Fuji testnet
    • Hardhat deployment pipeline for reliable updates
  3. ๐Ÿ’ฐ Cost Efficiency

    • Minimal transaction fees
    • Economical for both users and operators

๐Ÿ”ฎ Vision

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!

๐Ÿ“Š Project Status

Development Status Build Status Test Coverage

About

Team 22

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •