JSPM

  • Created
  • Published
  • Downloads 103034
  • Score
    100M100P100Q178681F
  • License MIT

Hardhat Ignition is a declarative system for deploying smart contracts on Ethereum. It enables you to define smart contract instances you want to deploy, and any operation you want to run on them. By taking over the deployment and execution, Hardhat Ignition lets you focus on your project instead of getting caught up in the deployment details.

Package Exports

  • @nomicfoundation/hardhat-ignition
  • @nomicfoundation/hardhat-ignition/helpers
  • @nomicfoundation/hardhat-ignition/modules

Readme

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:

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.