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.
rm tests/*
rm scripts/*
rm contracts/*
yarn hardhat clean
Some Commands to test
yarn hardhat help
yarn hardhat test
REPORT_GAS=true npx hardhat test
yarn hardhat node
yarn hardhat run scripts/deploy.ts
yarn hardhat run scripts/deploy.ts --network mantle-testnet # deploy
yarn hardhat verify --network mantle-testnet <contract addr> # verify on etherscan