This is an example hardhat project including and example contract and deployment scripts along with some other necessary plugins like hardhat-deploy, @nomicfoundation/hardhat-toolbox and others.
- copy/fork this repository
yarn(make sure you have yarn installed)hardhat compile- to compile your contractshardhat deploy- to deploy the contracts (executes deployment scripts from from/deploydirectoryhardhat test- to executes hardhat unit tests from/test
For more information about hardhat CLI, please refer to Hardhat Documentation