Skip to content

Ubaid-ch/Smart_Contract_Lottery

Repository files navigation

Proveably Random Raffle Contracts

About

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

What we want it to do?

  1. Users should be able to enter the raffle by paying for a ticket. The ticket fees are going to be the prize the winner receives.

  2. The lottery should automatically and programmatically draw a winner after a certain period.

  3. Chainlink VRF should generate a provably random number.

  4. Chainlink Automation should trigger the lottery draw regularly.

To deploy the source code

ETHERSCAN_API_key NETWORK=sepolia forge script script/DeployLottery.s.sol --rpc-url $SEPOLIA_RPC_URL --broadcast --verify -vvvv

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published