Skip to content

Enter this smart contract lottery with a $50 minimum spend in ETH. Price feeds and randomness generated from the Chainlink Oracle. Can deploy both locally and on testnet.

Notifications You must be signed in to change notification settings

Python-David/SC-Lottery

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

  1. Users can enter the lottery with ETH based on a USD fee.
  2. An admin will chose when the lottery is over
  3. Lotter will select a random winner

What will our main functions be?

  1. enter_lottery/fund/get_conversion_rate

  2. get_conversion_rate

  3. fund

  4. get_price (from chainlink)

  5. select_winner

  6. end_lottery

  7. enter

  8. getEntranceFee

  9. startLottery (only Admin)

  10. endLottery (only Admin)

How do we wanna test this?

About

Enter this smart contract lottery with a $50 minimum spend in ETH. Price feeds and randomness generated from the Chainlink Oracle. Can deploy both locally and on testnet.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published