Simple boilerplate for getting started quickly developing Hardhat projects.
- Clone this repository to your local machine:
git clone https://github.com/gabrielstoica/hardhat-boilerplate
- Change directory to the cloned project:
cd hardhat-boilerplate
- Install dependencies:
yarn install
- Update the
hardhat.config.js
file and.env
with your deployment configurations and network settings, such asPRIVATE_KEY
,INFURA_API_KEY
orPOLYGONSCAN_API_KEY
. - Compile the contracts:
yarn hardhat compile
- Deploy the Box contract to the localhost or a live network by using the hardhat-deploy plugin:
yarn hardhat deploy
Contributions to this Hardhat boilerplate template are welcome! If you find any issues or have suggestions for improvement, please open an issue or submit a pull request.