Note: This package includes support for Viem. To use Hardhat Ignition with Ethers instead, see the Hardhat Ignition plugin.
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.
Built by the Nomic Foundation for the Ethereum community.
Join the Hardhat Ignition channel of our Hardhat Community Discord server to stay up to date on new releases and tutorials.
npm install --save-dev @nomicfoundation/hardhat-ignition-viem
Import the plugin in your `hardhat.config.js``:
require("@nomicfoundation/hardhat-ignition-viem");
Or if you are using TypeScript, in your `hardhat.config.ts``:
import "@nomicfoundation/hardhat-ignition-viem";
On Hardhat Ignition's website you will find guides for:
- Getting started
- Creating Modules
- Deploying a module
- Visualizing your module
- Handling errors
- Modifying an existing module
- Using Hardhat Ignition in your tests
Contributions are always welcome! Feel free to open any issue or send a pull request.
Go to CONTRIBUTING.md to learn about how to set up Hardhat Ignition's development environment.
Hardhat Ignition on Discord: for questions and feedback.
Follow Hardhat and Nomic Foundation on Twitter.