Skip to content

Latest commit

 

History

History
40 lines (31 loc) · 876 Bytes

README.md

File metadata and controls

40 lines (31 loc) · 876 Bytes

Lottery

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

Installation

git clone https://github.com/AnkushinDaniil/hardhat-smartcontract-lottery.git
yarn install

Testing

localhost:

hh test

sepolia:

hh test --network sepolia

Node

localhost:

hh node

to pick a winner in localhost:

yarn win:localhost

Contributing

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.

License

MIT