Lottery is a smart contract enabling players to participate in a trustless, decentralized lottery. Created using random generator and automation oracles.
Frontend for this smart contract: https://github.com/AnkushinDaniil/lottery-frontend
git clone https://github.com/AnkushinDaniil/hardhat-smartcontract-lottery.git
yarn install
localhost:
hh test
sepolia:
hh test --network sepolia
localhost:
hh node
to pick a winner in localhost:
yarn win:localhost
Pull requests are welcome. For significant changes, please open an issue initially to discuss what alterations you plan to make.
Kindly ensure to update tests as needed.