Skip to content

Play to earn trivia Quizz smartcontracts

Notifications You must be signed in to change notification settings

hatemua/play-to-earn

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Basic Sample Hardhat Project

This project demonstrates a basic Hardhat use case. It comes with a sample contract, a test for that contract, a sample script that deploys that contract, and an example of a task implementation, which simply lists the available accounts.

Try running some of the following tasks:

Install dependencies

npm install --save

npx hardhat accounts
npx hardhat compile
npx hardhat clean
npx hardhat test
npx hardhat node
node scripts/sample-script.js
npx hardhat help

ENV file creation

create .env file 
PRIVATE_KEY= 
RINKEBY_URI= 
TOTAL_SUPPLY= 
ETHERSCAN_API_KEy=

to deploy on Rinkeby :

npx hardhat run scrips/depooy.js --network rinkeby

export ABI to be used on other projects

npx hardhat export-abi

all smartcontracts documentation is in docs directory index.html

npx hardhat docgen

About

Play to earn trivia Quizz smartcontracts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Solidity 86.0%
  • JavaScript 14.0%