Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 523 Bytes

README.md

File metadata and controls

23 lines (16 loc) · 523 Bytes

This is a simple lottery contract with solidity. don't use this on production because it has a Vulnerability

Sample Hardhat Project

Try running some of the following tasks:

npx hardhat compile
npx hardhat test
REPORT_GAS=true npx hardhat test
npx hardhat node
npx hardhat run --network localhost scripts/deploy.ts

to do

  • get a random number from chainlink
  • add more test

done

  • refactor test ✔️
  • add another contract to start and end the lottery ✔️