Skip to content

z-institute/Hardhat-Example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hardhat Common Commands

Command

  1. Compile the contract
npx hardhat compile
  1. Run a local blockchain network
npx hardhat node

npx hardhat node --fork https://mainnet.infura.io/v3/edb3ab1be8ee46eca1b5ee5e72ea139a --fork-block-number 18484706
  1. Run test on local network
npx hardhat test --network local
  1. Run test on other network

Set the network configuration in hardhat.config.js file first. Then run the following command.

npx hardhat test --network networkName

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published