Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 622 Bytes

File metadata and controls

23 lines (17 loc) · 622 Bytes

Provably Random Raffle Contracts

About

This code is to create a provable random smart contract library.

What do we want to do?

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

Tests

  1. Write some deploy scripts
  2. Write our tests
    1. Works on a local chain
    2. Forked Testnet
    3. Forked Mainnet