Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Template for using Hardhat+Waffle+Ethers template to compile and test a Solidity Smart Contracts. UI with ReactJS

License

Notifications You must be signed in to change notification settings

miquelcabot/hardhat-react-template

Repository files navigation

hardhat-waffle-ethers-ts-template

Hardhat+Waffle+Ethers+Typescript template to compile and test a Solidity Smart Contract

Prerequisites

Installation

Update env variables:

vi .env.example
mv .env.example .env

Install:

yarn install

Commands

Compile:

yarn compile

Run Hardhat Network:

yarn hnode

Open a hardhat console:

yarn console

Test:

yarn test

Test on Rinkeby test network:

yarn test:rinkeby

Test including gas-report:

yarn test:gas

Deploy:

yarn deploy

Deploy to Rinkeby test network:

yarn deploy:rinkeby

Run the ReactJS app in the development mode (open http://localhost:3000 to view it in the browser):

yarn start

Build the ReactJS app for production to the build folder:

yarn build

About

Template for using Hardhat+Waffle+Ethers template to compile and test a Solidity Smart Contracts. UI with ReactJS

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published