talwaserman / lottery-hardhat

lottery hardhat project that includes smart contract logic and tests

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Crypto Lottery

This project is used to enable eth holders to create and join lotteries. currently the lottery winning number is provided by the creator of the lottery and in a future upgrade adding random numbers will be supported too.

Available scripts:

npx hardhat help
npx hardhat test
REPORT_GAS=true npx hardhat test
npx hardhat node
npx hardhat run scripts/deploy.ts --network localhost
npx hardhat run scripts/deploy.ts --network sepolia
npx hardhat verify --network sepolia 0xD56b722262Ae87610B1E8E306351407e962b9037

for more information on verify

https://hardhat.org/hardhat-runner/plugins/nomicfoundation-hardhat-verify

About

lottery hardhat project that includes smart contract logic and tests


Languages

Language:TypeScript 87.8%Language:Solidity 11.3%Language:JavaScript 1.0%