Hardhat is a development environment to compile, deploy, test, and debug your smart contract.
Installation
Hardhat is used through a local installation in your project.
To install it, you need to create an npm project by going to an empty folder, running npm init, and following its instructions. Once your project is ready, you should run
npm install --save-dev hardhat
To use your local installation of Hardhat, you need to use npx to run it (i.e. npx hardhat).
Hardhat will let you know how, but, in case you missed it, you can install them with npm install --save-dev @nomiclabs/hardhat-waffle ethereum-waffle chai @nomiclabs/hardhat-ethers ethers
Quick Start
To create your Hardhat project run npx hardhat in your project folder: