Hardhat Plugins
Extend Hardhat's functionality with the plugins below.
To learn how to create your own, check out our plugin development documentation.
Official Plugins
Section titled “ Official Plugins ”Nomic Foundation's recommended bundle of Hardhat plugins (viem based)
Nomic Foundation's recommended bundle of Hardhat plugins (ethers based)
This plugin adds an encrypted keystore to Hardhat, to handle secret values (e.g. API keys and private keys) in your config securely.
Automatically verify contracts
A plugin that provides a set of utility functions to interact with locally simulated networks.
Integrates viem into a Hardhat project
Adds a set of viem-based testing assertions to Hardhat
Integrates Ethers.js into a Hardhat project
Adds a set of ethers-based matchers to chai
Generates TypeChain bindings for smart contracts
Hardhat's official deployment solution
Adds support for viem to Hardhat Ignition
Adds support for Ethers.js to Hardhat Ignition
Integrates Mocha into a Hardhat project
Integrates Node.js' builtin test runner into a Hardhat project
Community Plugins
Section titled “ Community Plugins ”
Community Plugins are developed and maintained by the Hardhat community.
They have not been written, reviewed, or endorsed by Nomic Foundation, so
please use them at your own risk.
If you believe a plugin in this list is malicious, please report it to security@nomic.foundation
.
Community plugins sorted by npm downloads
A Hardhat Plugin For Replicable Deployments And Easy Testing
Use the reown.com supported wallets with Hardhat
Export Ethereum smart contract bytecode
Git-rev-based HRE execution
Compare storage layouts between contracts and revisions
Output Solidity contract sizes with Hardhat
Export Ethereum smart contract ABIs
Verify contracts on Hashscan
Prepend local Solidity source files with an SPDX License Identifier
Display connected accounts and balances
Calculate Solidity contract inheritance order
Remove Hardhat console.log imports and calls from Solidity source files
Upload local function selectors to the Ethereum Selector Database