Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 622 Bytes

README.md

File metadata and controls

24 lines (17 loc) · 622 Bytes

Proveably Random Raffle Contract

About

This code is to create a proveably random smart contract lottery

What do we want it to do?

  1. Users can enter by paying a ticket price
    1. The ticket fees are going to go to the winner during a draw
  2. After X period of time, the lottery will automatically draw a winner
    1. And, this will be done programmatically
  3. Using Chainlink VRF and Chainlink Automation
    1. Chainlink VRF -> Randomness
    2. Chainlink Automation -> Time based trigger

Test

  1. Write some deploy scripts
  2. Write our tests
    1. Local chain
    2. Forked testnet
    3. Forked mainnet