Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 663 Bytes

README.md

File metadata and controls

23 lines (17 loc) · 663 Bytes

Provebly random raffle contracts

about

this code is to create a proveably random smart contract lottery.

how it works

  1. User can enter by åaying for a ticket.
    1. The ticket fees are going to go to the winner during the draw.
  2. After X amount of time, the lottery will be closed. and a winner will be automatically selected.
    1. And this will be done programatically.
  3. Using chainlink VRF & chainlink automation
    1. chainling VRF --> randomness
    2. chainlink automation --> time based trigger

Tests!

  1. Write some deploy scripts
  2. write our test
    1. Work on a local chain
    2. Forket Testnet
    3. Forked Mainnet# foundry-Raffle