Skip to content

Latest commit

 

History

History
50 lines (31 loc) · 1.41 KB

README.md

File metadata and controls

50 lines (31 loc) · 1.41 KB

XP Lottery DApp

XP Lottery Logo

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.

Getting Started

To get started with the XP Lottery DApp, follow these steps:

  1. Clone the repository:

    git clone https://github.com/your-username/xp-lottery.git
  2. Navigate to the project directory:

    cd xp-lottery
  3. Open the index.html file in your preferred web browser.

  4. Connect MetaMask to the Ethereum network.

  5. Interact with the DApp by entering the lottery, setting the ticket price, and picking a winner.

Features

  • 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.

Smart Contract Details

  • Contract Address: 0xD4bC0f108002a1833C8CF65209C04626564C8eb4
  • Solidity Version: ^0.8.0
  • ABI: [Contract ABI]

Demo

[Link to Demo Video]

Contributing

Contributions are welcome! If you'd like to contribute to this project, please follow the contribution guidelines.

License

This project is licensed under the MIT License.