Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 880 Bytes

File metadata and controls

27 lines (19 loc) · 880 Bytes

Sample Hardhat Project

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

Try running some of the following tasks:

npx hardhat help
npx hardhat test
REPORT_GAS=true npx hardhat test
npx hardhat node
npx hardhat ignition deploy ./ignition/modules/Lock.ts

Contract verification

For contracts deployed on Filecoin mainnet or Filecoin testnet (calibration) using this repo you can verify them by executing this script:

npx hardhat verify-contract --network $networkName --contract-name $contractName

enviroment variables

VERIFY=true // Allows the deployment script to verify IGNORE_FILFOX=true // Ignores the verification in the filfox explorer IGNORE_BLOCKSCOUT=true // Ignores the verification on the Blockscout explorer