Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dennis-mureti/smartcontract_lottery
Smart contract that allows for entry into a lottery and a winner is selected randomly there after closed and the restarts.
https://github.com/dennis-mureti/smartcontract_lottery
blockchain brownie chainlink etherium python smart-contracts vrfcoordinator
Last synced: 11 days ago
JSON representation
Smart contract that allows for entry into a lottery and a winner is selected randomly there after closed and the restarts.
- Host: GitHub
- URL: https://github.com/dennis-mureti/smartcontract_lottery
- Owner: dennis-mureti
- Created: 2022-09-08T17:37:43.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-10-13T06:44:09.000Z (about 2 years ago)
- Last Synced: 2024-11-05T18:41:22.067Z (about 2 months ago)
- Topics: blockchain, brownie, chainlink, etherium, python, smart-contracts, vrfcoordinator
- Language: Solidity
- Homepage:
- Size: 18.6 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
1. Users can enter the lottery with ETH based on a USD fee(thus have to get that conversion rate)
2. An admin will choose when the lottery is over.
3. Loterry will select the winner.how to test this?
1. `mainnet-fork` because we are working with some some on chain contracts and math
2. `development` with mocks
3. `testnet`