Skip to content

sg-milad/lottery-contract-hardhat

Repository files navigation

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 ✔️

About

simple lottery contract with solidity and hardhat

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published