Welcome to the XP Lottery decentralized application (DApp)! This DApp allows users to participate in a lottery by purchasing tickets using Ethereum. The lottery winner is chosen randomly among the participants.
To get started with the XP Lottery DApp, follow these steps:
-
Clone the repository:
git clone https://github.com/your-username/xp-lottery.git
-
Navigate to the project directory:
cd xp-lottery
-
Open the
index.html
file in your preferred web browser. -
Connect MetaMask to the Ethereum network.
-
Interact with the DApp by entering the lottery, setting the ticket price, and picking a winner.
- Enter Lottery: Participate in the lottery by purchasing a ticket.
- Set Price: Set the price of a lottery ticket.
- Pick Winner: Select a winner among the participants.
- Connect to MetaMask: Connect MetaMask to enable interaction with the Ethereum network.
- Contract Address:
0xD4bC0f108002a1833C8CF65209C04626564C8eb4
- Solidity Version: ^0.8.0
- ABI: [Contract ABI]
[Link to Demo Video]
Contributions are welcome! If you'd like to contribute to this project, please follow the contribution guidelines.
This project is licensed under the MIT License.