/lucky-pool

Primary LanguageJavaScript

Lucky Pool

Lucky Pool is a lottery play to earn game. Anyone can join the current pool with USDC coin and try their luck to win the lottery. Currently it is declaring the winner by simple random function but I am building on it to choose random winner with Chainlink randomness. I am planning to build this as No Loss Lottery by depositing this amount at AAVE protocol.

Live at

https://lucky-pool.netlify.app/

Demo Video

https://youtu.be/wAIkP6VaoGU

Setup and run the app

  1. Clone this repo

  2. At root directory, Setup secrets.json file with InfuraUrl and privateKey

  3. Deploy Contracts using npx hardhat run scripts/lucky-pool.js --network rinkeby

  4. go to fronent directory and install required dependencies by cd luckypool-frontend && npm install

  5. run npm start .