
Research
/Security News
npm Author Qix Compromised via Phishing Email in Major Supply Chain Attack
npm author Qix’s account was compromised, with malicious versions of popular packages like chalk-template, color-convert, and strip-ansi published.
@nomicfoundation/hardhat-ignition-viem
Advanced tools
The Viem 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 the
This plugin integrates Hardhat Ignition with viem.
This plugin is part of the Viem 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-viem
In your hardhat.config.ts
file, import the plugin and add it to the plugins
array:
import hardhatIgnitionViem from "@nomicfoundation/hardhat-ignition-viem";
export default {
plugins: [hardhatIgnitionViem],
};
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.write.inc();
console.log(await counter.read.x());
The ignition
object has a deploy
method that can be used to deploy Ignition modules. This returns a type-safe viem contract instance for each contract returned by the module.
FAQs
The Viem 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 the
The npm package @nomicfoundation/hardhat-ignition-viem receives a total of 7,322 weekly downloads. As such, @nomicfoundation/hardhat-ignition-viem popularity was classified as popular.
We found that @nomicfoundation/hardhat-ignition-viem demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 7 open source maintainers 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.
Research
/Security News
npm author Qix’s account was compromised, with malicious versions of popular packages like chalk-template, color-convert, and strip-ansi published.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.