Skip to content

๐ŸŽŸ A simple decentralized lottery application built with Next.js and thirdweb. Styled using TailwindCSS

Notifications You must be signed in to change notification settings

SanyamPunia/Lottery-Dapp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

5 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŽซ The Lottery DAPP

This Lottery Dapp is an implementation of basic lottery application where each individual can buy certain number of tickets, while the total amount of tickets purchased accumulate as the total prize pool for that time period

Hosted on Spheron - Lottery DAPP


๐Ÿ“น Preview

preview


๐Ÿ›  Tech Stack

๐Ÿ“ Local Setup and Usage

  • Make sure you have Metamask installed as the extension in your browser
  • Clone the repository
  • Install the required dependencies by using the following command in the project directory using your terminal
$ pnpm install
  • Create .env.local file in your project directory and add the following variable(s)
NEXT_PUBLIC_LOTTERY_CONTRACT_ADDRESS=

The above contract address is of the Smart Contract version (contract/Lottery.sol) that is currently deployed to thirdweb

  • Spin up the development server
$ npm run dev

About

๐ŸŽŸ A simple decentralized lottery application built with Next.js and thirdweb. Styled using TailwindCSS

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published