This project is used to enable eth holders to create and join lotteries. currently the lottery winning number is provided by the creator of the lottery and in a future upgrade adding random numbers will be supported too.
Available scripts:
npx hardhat help
npx hardhat test
REPORT_GAS=true npx hardhat test
npx hardhat node
npx hardhat run scripts/deploy.ts --network localhost
npx hardhat run scripts/deploy.ts --network sepolia
npx hardhat verify --network sepolia 0xD56b722262Ae87610B1E8E306351407e962b9037
https://hardhat.org/hardhat-runner/plugins/nomicfoundation-hardhat-verify