Socket
Book a DemoInstallSign in
Socket

@parity/hardhat-polkadot-node

Package Overview
Dependencies
Maintainers
12
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@parity/hardhat-polkadot-node

Polkadot [Hardhat](https://hardhat.org/) plugin to run a mock in-memory node.

latest
Source
npmnpm
Version
0.2.5
Version published
Maintainers
12
Created
Source

hardhat-polkadot-node

Polkadot Hardhat plugin to run a mock in-memory node.

Compatibility

  • Widely compatible with hardhat-only helpers, with caveats such as loadFixture from @nomicfoundation/hardhat-toolbox/network-helpers

Installation

Using npm:

$ npm install -D @parity/hardhat-polkadot-node

Using yarn:

$ yarn add -D @parity/hardhat-polkadot-node

Using pnpm:

$ pnpm add -D @parity/hardhat-polkadot-node

Configuration

  • Import the package in the hardhat.config file:
...
import "@parity/hardhat-polkadot-node";
...
  • Configure a Polkadot-compatible node and eth-rpc in hardhat.config according to available options.

Usage

From hardhat.config

See Examples.

NOTE: When the forking field is used, the path to the eth-rpc must be provided, even if useAnvil is set to true, since anvil-polkadot has no forking functionality yet.

Happy building! 👷‍♀️👷‍♂️

FAQs

Package last updated on 06 Jan 2026

Did you know?

Socket

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.

Install

Related posts