Template for Hardhat project
contracts | ||
ignition/modules | ||
scripts | ||
test | ||
.gitattributes | ||
.gitignore | ||
eslint.config.mjs | ||
hardhat.config.ts | ||
package.json | ||
README.md | ||
tsconfig.json | ||
yarn.lock |
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