Skip to content

Lottery Game Smart Contract with Test Cases in Foundry.

Notifications You must be signed in to change notification settings

megabyte0x/raffle-game

Repository files navigation

Raffle Game

About the Project

This repo contains basic smart contract for the raffle game. The game is simple, you buy a ticket and wait for the raffle to end. If you are the winner, you get the prize.

The winner is selected by the random number generated using Chainlink VRF and the function to pick function is called using Chainlink Automation.

Tests

Tests

This projects have all testcases written in Solidty using Foundry.

Contracts

  • The Raffle contract is deployed on Sepolia