chenc041 / contract-with-hardhat

A web3 scaffold with hardhat and react

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

contract-with-hardhat

ci workflow codecov

Author

Description

A smart contract and dapp template with Hardhat

This project demonstrates a basic Hardhat use case. It comes with a sample contract, a test for that contract, and a script that deploys that contract.

Try running some of the following tasks:

for contract

# for dev
npm run test
npm run coverage
npm run publish:local
npm run publish:prod
npm run publish:test
# for hardhat
npx hardhat help
npx hardhat test
REPORT_GAS=true npx hardhat test
npx hardhat node
npx hardhat run scripts/deploy.ts

for DApp

# cd DApp
npm run dev
npm run build
npm run analyzer
npm run prettier

About

A web3 scaffold with hardhat and react


Languages

Language:TypeScript 88.7%Language:Solidity 7.3%Language:HTML 2.2%Language:JavaScript 1.4%Language:SCSS 0.4%