Skip to content

codearmo/foundry-lottery

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Proveably random raffle contracts

https://www.youtube.com/watch?v=sas02qSFZ74

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 for a ticker
    1. The ticket fees are going to go to the winner during the draw
  2. After X period of time, the lottery closes and winner is drawn automatically
    1. This is done programmatically
  3. Using Chainlink VRF -> Randomness
    1. Chainlink VRF for randomness
    2. Chainlink Automation -> timebased trigger

Tests

  1. Write some deploy scripts
  2. Write tests

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published