This Contract is for Creating a Sample Raffle. Every User Buy a raffle and get a random number and winner is announced at the end of Lottery.
git You'll know you did it right if you can run git --version and you see a response like git version x.x.x
foundry You'll know you did it right if you can run forge --version and you see a response like forge 0.2.0
$ git clone https://github.com/HackerBadal/Lottery
$ cd Lottery
$ forge build
$ forge script script/DeployRaffle.s.sol --rpc-url $SEPOLIA_RPC_URL --private-key $PRIVATE_KEY --broadcast --verify --etherscan-api-key $ETHERSCAN_API_KEY
To run tests, run the following command
$ forge test
👾👾I'm a web3 auditor