
Product
Announcing Bun and vlt Support in Socket
Bringing supply chain security to the next generation of JavaScript package managers
@nomicfoundation/hardhat-ignition-ethers
Advanced tools
The Ethers extension to Hardhat Ignition. 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 t
This plugin integrates Hardhat Ignition with ethers.js.
This plugin is part of the Ethers+Mocha Hardhat Toolbox. If you are using that toolbox, there's nothing else you need to do.
To install this plugin, run the following command:
npm install --save-dev @nomicfoundation/hardhat-ignition-ethers
In your hardhat.config.ts file, import the plugin and add it to the plugins array:
import hardhatIgnitionEthers from "@nomicfoundation/hardhat-ignition-ethers";
export default {
plugins: [hardhatIgnitionEthers],
};
This plugin adds an ignition property to each network connection:
import { network } from "hardhat";
import Counter from "../ignition/modules/Counter.js";
const { ignition } = await network.connect();
const { counter } = await ignition.deploy(Counter);
await counter.inc();
console.log(await counter.x());
The ignition object has a deploy method that can be used to deploy Ignition modules. This returns an ethers contract instance for each contract returned by the module.
FAQs
The Ethers extension to Hardhat Ignition. 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 t
The npm package @nomicfoundation/hardhat-ignition-ethers receives a total of 36,083 weekly downloads. As such, @nomicfoundation/hardhat-ignition-ethers popularity was classified as popular.
We found that @nomicfoundation/hardhat-ignition-ethers demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Bringing supply chain security to the next generation of JavaScript package managers

Product
A safer, faster way to eliminate vulnerabilities without updating dependencies

Product
Reachability analysis for Ruby is now in beta, helping teams identify which vulnerabilities are truly exploitable in their applications.