Skip to content

lssleo/game-of-chance

Repository files navigation

Game of Chance

This is smart contract that deploys on blockchain. This is the game. Winner is selected randomly.

Requirements:

  • Yarn
  • Node.js
  • HardHat

QuickStart:

git clone https://github.com/lssleo/game-of-chance
cd game-of-chance
yarn init -y
yarn add --dev hardhat

Usage:

Deploy at local network:

yarn hardhat deploy

Testing:

yarn hardhat test

Test Coverage:

yarn hardhat coverage

Powered with: