Lottery_Dapp
Lottery DApp is a blockchain-powered decentralized application designed to offer a transparent, fair, and secure lottery experience. With Lottery DApp, participants can enter lotteries with ease, whil
描述
# Lottery DApp - Decentralized Lottery Platform
Lottery DApp is a blockchain-powered decentralized application designed to offer a transparent, fair, and secure lottery experience. With Lottery DApp, participants can enter lotteries with ease, while the system ensures impartial winner selection powered by smart contracts.
---
## Features
- Enter lottery games securely using blockchain technology.
- Transparent winner selection process using smart contracts.
- Immutable records of all transactions for enhanced trust.
- User-friendly interface for seamless participation.
- Live updates on participants and winners.
---
## Contract Details
- Contract Address: 0xEA2b15596447A04537397CbaF0a171f728A031d3
- Network: Edu Chain
---
## Deployment
- Contract Address: [View on Block Explorer](https://edu-chain-testnet.blockscout.com/address/0xEA2b15596447A04537397CbaF0a171f728A031d3)
- Entry Fee: 1 EDU
- Coin Used: EDU
---
## How to Use
1. Connect Wallet: Use MetaMask or another Ethereum-compatible wallet to connect to the application.
2. Enter Lottery: Click the "Enter Lottery" button to participate by paying the entry fee (1 EDU).
3. Become Manager: Use the "Become Manager" option to manage the lottery contract if authorized.
4. Pick Winner: The manager can pick a winner at the end of the lottery cycle, ensuring a fair and randomized selection.
5. View Updates: Check the list of current participants and the most recent winner.
---
## Frontend
The frontend of Lottery DApp provides a visually appealing interface built using HTML, CSS, and JavaScript. It connects seamlessly with the Edu Chain blockchain using web3.js for real-time interaction with the smart contract.
Features include:
- Wallet connection
- Live participant updates
- Real-time contract interaction
- Scroll animations and clean UI/UX design
---
## Getting Started
1. Clone the Repository: Clone the project repository to your local machine.
2. Deploy the Contract: Deploy the smart contract on the Edu Chain testnet or mainnet.
3. Configure Frontend: Update the contract address and network details in the frontend JavaScript file.
4. Launch the App: Open the index.html
file in a browser to start using Lottery DApp.
5. Connect Wallet: Connect your wallet and begin exploring the platform.
---
## Future Enhancements
- Introduce customizable lottery ticket prices.
- Implement multiple lottery pools for increased participation.
- Add bonus rewards for frequent participants.
- Enable mobile-friendly features for broader accessibility.
- Integrate a live lottery countdown timer for enhanced user engagement.
---
Enjoy a secure and transparent lottery experience with Lottery DApp on Edu Chain! 🎉
技术栈
融资状态
None