Skip to content

AnkushinDaniil/hardhat-smartcontract-lottery

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published