This is a simple lottery contract with solidity. don't use this on production because it has a Vulnerability
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
- get a random number from chainlink
- add more test
- refactor test ✔️
- add another contract to start and end the lottery ✔️