Skip to content

This project is a full-stack lottery application built with React and the Ethereum blockchain allowing users to participate in a lottery by purchasing tickets with Ether.

Notifications You must be signed in to change notification settings

sounxk/Lottaree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Lottaree

This project is a full-stack lottery application built with React and the Ethereum blockchain. The application allows users to participate in a lottery by purchasing tickets with Ether. The lottery contract is deployed on the Ethereum network and uses smart contracts to manage the lottery.

Technologies Used

  • React: A popular JavaScript library for building user interfaces.
  • Ethereum: A decentralized blockchain platform for building decentralized applications.
  • Ganache-cli: A command-line tool for creating a local blockchain network for testing purposes.
  • Truffle: A development framework for building Ethereum-based applications.
  • Mocha test framework: A JavaScript testing framework for Node.js applications.
  • Node.js: A JavaScript runtime for building server-side applications.
  • MetaMask: A browser extension that allows users to interact with Ethereum-based applications.
  • Wallets: A digital wallet for storing and managing cryptocurrencies.
  • Providers: A tool for connecting to the Ethereum network and interacting with smart contracts.

Getting Started

Prerequisites

  • Node.js: You can download Node.js from the official website: https://nodejs.org/en/
  • Ganache-cli: You can install Ganache-cli by running the following command: npm install -g ganache-cli
  • Truffle: You can install Truffle by running the following command: npm install -g truffle

Installing

  1. Clone the repository:

git clone https://github.com/sounxk/Decentralized-Lottery.git

  1. Change into the project directory:

cd Decentralized-Lottery

  1. Install the dependencies:

npm install

Running the Application

  1. Start Ganache-cli:

ganache-cli

  1. Compile and deploy the smart contracts:

truffle migrate --reset

  1. Start the application:

npm start

Feel free to contribute

About

This project is a full-stack lottery application built with React and the Ethereum blockchain allowing users to participate in a lottery by purchasing tickets with Ether.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published