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.
You need in local add .env file
PRIVATE_KEY=YOU_TEST_ACCOUNT_PRIVATE_KEY
SEPOLIA_RPC_URL=YOU_SEPOLIA_TEST_URL
AMOY_RPC_URL=YOU_AMOY_TEST_URL
Try running some of the following tasks:
npx hardhat help
npx hardhat test
REPORT_GAS=true npx hardhat test