TheLottery

It's a cross chain lottery operated with LAyerZero, Dynamo, Ledger and ENS. Everybody from everywhere with everywallet can play

Repo
TheLottery banner

About

TheLottery is an innovative decentralized application that brings the excitement of lottery games to the blockchain world. Built with React and and Web3 technologies, this project offers a seamless and engaging user experience for participants across multiple blockchain networks.

Key Features:

  • Cross-chain Compatibility: Utilizing LayerZero technology, users can purchase tickets from any supported blockchain, expanding accessibility and liquidity across networks.
  • Flexible Wallet Integration: The app integrates Dynamic for wallet connections, allowing users to interact with their preferred wallet solution, including hardware wallets like Ledger for enhanced security.
  • Real-time Updates: The application provides live updates on the current jackpot size, time remaining until the next draw, and the number of tickets purchased, creating an engaging and dynamic user interface.
  • ENS Integration: Winners' addresses are displayed using Ethereum Name Service (ENS) when available, adding a personal touch to the lottery experience.
  • Animated UI: The interface features falling coin animations and smooth transitions, enhancing the visual appeal and user engagement.
  • Smart Contract Powered: The core lottery logic is implemented in a Solidity smart contract, ensuring fairness and transparency in ticket purchases and winner selection.
  • Chainlink VRF Integration: The lottery uses Chainlink's Verifiable Random Function (VRF) to guarantee truly random and tamper-proof winner selection.
  • Automated Lottery Cycles: The smart contract manages lottery cycles, including ticket sales, drawing winners, and distributing prizes, with minimal manual intervention required.

Technical Highlights:

  • React-based frontend with TypeScript for type safety
  • Tailwind CSS for responsive and customizable styling
  • Viem and ethers.js for blockchain interactions
  • Hardhat for smart contract development and testing
  • Integration with Chainlink VRF for secure randomness
  • Use of ENS for human-readable Ethereum addresses

TheLottery demonstrates the potential of blockchain technology to create fair, transparent, and exciting gaming experiences across multiple networks, setting a new standard for decentralized lottery applications.

How it's made

1. Cross-chain Compatibility: Utilizing LayerZero technology, users can purchase tickets from any supported blockchain, expanding accessibility and liquidity across networks.

  • Flexible Wallet Integration: The app integrates Dynamic for wallet connections, allowing users to interact with their preferred wallet solution, including hardware wallets like Ledger for enhanced security.
  • Real-time Updates: The application provides live updates on the current jackpot size, time remaining until the next draw, and the number of tickets purchased, creating an engaging and dynamic user interface.
  • ENS Integration: Winners' addresses are displayed using Ethereum Name Service (ENS) when available, adding a personal touch to the lottery experience.

From the public ETHGlobal showcase page. Votes, swipes and the judge score are hackfeed's own.

AI judge

Not judged yet. A free model reads this page, compares it with similar projects and this event's winners, then scores it and says what would make it win.

Still being built?

Not checked yet.

Swipe stats

0upvotes
0skips
0saves

Discussion 0

No comments yet. Ask the team something, or say what you'd use it for.

Posting as a guest. Plain text, 1,000 characters max.

Already built nearby

Closest projects by meaning and shared words. Similar isn't the same as copied: read them.

Chain-chat

Chain-chat: The decentralized SocialFi app on Celo! With WorldCoin ID, IPFS sharing, DAO governance, NFT marketplace, yield farming, and staking, it’s your gateway to social, DeFi, and business innovation. Experience the future today! 🚀🌐💬📈

LottoWin

LottoWin exemplifies how blockchain technology can revolutionize the lottery industry, setting a new standard for fairness and transparency while providing participants with an exciting and secure gaming experience.

GnomesAndKnights

**GnomesAndKnights** is a blockchain board game using NFC wallets and Apecoin for secure, immersive play. Convert Apecoin to in-game Aura, enjoy randomized items, dynamic duels, and team interactions. Encrypted smart contracts ensure fairness and transparency.