Skip to content

Latest commit

 

History

History
43 lines (33 loc) · 996 Bytes

File metadata and controls

43 lines (33 loc) · 996 Bytes

Hardhat Smartcontract Lottery (Raffle) FCC

This is a fullstack project that simulates a lottery using blockchain.

Requirements

  • git
    • You'll know you did it right if you can run
      • git --version and you see a response like git version x.x.x
  • Nodejs
    • You'll know you've installed nodejs right if you can run:
      • node --version and get an output like: vx.x.x
  • Yarn instead of npm
    • You'll know you've installed yarn right if you can run:
      • yarn --version And get an output like: x.x.x
      • You might need to install it with npm

Quickstart

git clone https://github.com/sebaszeledon/hardhat-smartcontract-lottery-fcc
cd hardhat-smartcontract-lottery-fcc
yarn

Usage

Deploy:

yarn hardhat deploy

Testing

yarn hardhat test

Test Coverage

yarn hardhat coverage

Thank you!