Skip to content

hardhat-ignition

This plugin integrates Hardhat Ignition into Hardhat.

Installation

This plugin is part of Viem Hardhat Toolbox and Ethers+Mocha Hardhat Toolbox. If you are using any of those toolboxes, there’s nothing else you need to do.

To install this plugin, run the following command:

Terminal window
npm install --save-dev @nomicfoundation/hardhat-ignition

In your hardhat.config.ts file, import the plugin and add it to the plugins array:

import hardhatIgnition from "@nomicfoundation/hardhat-ignition";
export default {
plugins: [hardhatIgnition],
};

Usage

To learn more about how to use Hardhat Ignition, check out the Hardhat Ignition documentation.