A decentralized lottery function smart contract.
-
- You'll know you did it right if you can run git --version and you see a response like git version x.x.x
-
- You'll know you did it right if you can run forge --version and you see a response like forge 0.2.0 (816e00b 2023-03-16T00:05:26.396218Z)
git clone https://github.com/HeHanqing/lottery-contract-foundry.git
cd lottery-contract-foundry
make install
make deploy
make test
forge coverage