This project demonstrates a basic Hardhat use case.
It comes with a sample contract, a test for that contract, a sample script that deploys that contract, and an example of a task implementation, which simply lists the available accounts.
Clone, open in the terminal and run:
npm i
cp .env.sample .envnpx hardhat testIn a terminal, run:
npx hardhat nodeIn another terminal run:
npx hardhat run scripts/deploy.js --network localhost