WARNING: This repository is highly experimental, and is under active development. Any code or binaries produced from this project should not be used in any production or critical workloads. The API is preliminary, the API will change.
Ignition is Hardhat's deployment solution. It is a Hardhat plugin that allows you to create declarative deployments that can be reproduced across different networks.
Built by the Nomic Foundation for the Ethereum community.
Join our Hardhat Support Discord server to stay up to date on new releases, plugins and tutorials.
npm install --save-dev @ignored/hardhat-ignition
And add the following statement to your hardhat.config.js
:
require("@ignored/hardhat-ignition");
Or, if you are using TypeScript, add this to your hardhat.config.ts
:
import "@ignored/hardhat-ignition";
See our Getting started guide for a worked example of Ignition usage.
- Getting started
- Explanation
- Creating Modules for Deployments
- Using Ignition in Hardhat tests
- Running a deployment
This repo contains example projects that show Ignition features in context (under ./examples
):
- Sample - the Hardhat starter project enhanced with Ignition
- ENS - deploy ENS and its registry for local testing
- Create2 - deploy contracts using a
create2
factory - Uniswap - deploy Uniswap and test swaps
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 Ignition's development environment.
Hardhat Support Discord server: for questions and feedback.