maushish / lottery-foundry

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Proveably Random Raffle Contracts

About

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

What we want it to do?

  1. Users can entery by paying for a ticket
    1. The ticket fees will be going 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. Write some deploy scripts
  2. Write our tests
    1. Work on local chain.
    2. Work on Testnet.
    3. Work on Mainnet.

About


Languages

Language:Solidity 100.0%