Skip to content

nifeesleman/foundry-smart-contract-lottery

Repository files navigation

Provably Random Raffle Contract

About

This code is to create a provably random smart contract lottery

What we want it to do

  1. User can enter by paying for 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 programmatically
  3. Using Chainlink VRF & Chainlink Automation
    1. Chainlink VRF -> Randomness
    2. Chainlink Automation -> Time based trigger

Tests!

  1. Writing deploy scripts
    1. Note, these will not work on zkSync
  2. Write tests
    1. Local chain
    2. Forked testnet
    3. Forked mainnet

About

No description or website provided.

Topics

Resources

License

Stars

1 star

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors