Plugins are the backbone of Hardhat, and they're built using the same config DSL that you use in your Hardhat configuration. Read the Building plugins guide to learn how to create your own, and send a pull request to get it listed here.
Extend Hardhat's functionality with the plugins below.
Injects ethers.js into the Hardhat Runtime Environment
Adds a Waffle-compatible provider to the Hardhat Runtime Environment and automatically initializes the Waffle Chai matchers
Code coverage for Solidity
Gas usage per unit test. Average gas usage per method. A mocha reporter.
Hardhat plugin for Deployments
Automatically verify contracts on Etherscan
Zero-config TypeChain support for Hardhat.
A hardhat-deploy plugin for Ethers.js v5
Automatically run Hardhat actions on file changes.
Calculate compiled contract sizes
Hardhat plugin for deploying and managing upgradeable contracts.
Injects Web3 1.x into the Hardhat Runtime Environment
Integration with TruffleContract from Truffle 5
Automatically export Solidity contract ABIs on compilation
Easily run solhint to lint your Solidity code
Easily integrate your Hardhat project with Tenderly. Tenderly is an Ethereum monitoring, debugging and analytics platform.
Remove Hardhat console.log imports and calls from Solidity source files
An hardhat plugin to pre-process contract source code before compilation
See emitted events during your hardhat tests in the console
Automatically prepend local Solidity source files with an SPDX License Identifier
Hardhat plugin for managing Ganache
Automatically run the solpp preprocessor before each compilation
Generate a static documentation site from NatSpec comments
Compile Solidity sources directly from NPM dependencies
Automatically compiles your Solidity contracts with the OVM compiler.
Integrates Hardhat and ethers.js with Optimism's L2 network.
Exporting solidity contract storage layout
Buidler plugin for Aragon App development
A Hardhat plugin that generates a React hook component from your smart contracts. Hot reloaded into your React app. Deployed or not deployed. And everything typed and initialized.
Integrate your Hardhat project and Hardhat network with Ethernal. Ethernal is a block explorer for private chains.
Adds support to compile Vyper smart contracts
Allow loading network configs for Hardhat projects in home file
Automatically deploy the ERC-1820 registry contract to Hardhat EVM chains.
Provide tasks to integrate Circom and SnarkJS
Prepare the contract artifacts and the TypeChain bindings for registry deployment.
Automatically fetch contract ABI from Etherscan
Integration with TruffleContract from Truffle 4
Allows changing the current network in Hardhat.
Injects Web3 0.20.x into the Hardhat Runtime Environment
A Buidler plugin to generate a descriptor of your Solidity source code
Helper plugin to manipulate blocks timestamp and trigger mining. It can be used from the command line and in the tests.