Skip to content

rasta-dave/smart-contract-lottery

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Proveably Random Raffle Contract

Credit goes to Patrick Collins @ Cyfrin for making this code available on his Youtube channel where he teaches this incredible stuff

This project demonstrates a decentralized lottery system implemented using Solidity and tested with Foundry. It includes scripts for deploying the contract and interacting with it, and various unit and staging tests to ensure functionality.

This project is part of the Cyfrin Foundry course and serves as a practical example of how to build, deploy, and test a lottery smart contract using Foundry. The lottery allows users to enter by paying a fee, and a random winner is picked at regular intervals using Chainlink VRF.

Prerequisites

Quickstart

git clone https://github.com/rasta-dave/smart-contract-lottery
cd smart-contract-lottery
make

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published