
Security News
AGENTS.md Gains Traction as an Open Format for AI Coding Agents
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
@parity/hardhat-polkadot-node
Advanced tools
Polkadot [Hardhat](https://hardhat.org/) plugin to run a mock in-memory node.
Polkadot Hardhat plugin to run a mock in-memory node.
time
and loadFixture
from @nomicfoundation/hardhat-toolbox/network-helpers
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
hardhat.config
file:...
import "@parity/hardhat-polkadot-node";
...
hardhat.config
according to available options.hardhat.config
See Examples.
Run a local Polkadot from a binary and initializes a JSON-RPC server.
$ npx hardhat node
\ --node-binary-path /path/to/node
\ --adapter-binary-path /path/to/adapter
Run a fork of a live Polkadot chain and initializes a JSON-RPC.
$ npx hardhat node --fork https://testnet-passet-hub.polkadot.io
\ --adapter-binary-path /path/to/adapter
🔧 Command | 📄 Description |
---|---|
--rpc-port | Port on which the server should listen. Defaults to 8000. It is also where the adapter will connect to when using the binaries. |
--node-binary-path | Path to the substrate node binary. |
--adapter-binary-path | Path to the eth-rpc-adapter binary. |
--adapter-port | Port on which the adapter will listen to. Defaults to 8545. |
--dev | Whether to run the fork in dev mode. Defaults to false. |
--build-block-mode | Build block mode for chopsticks. |
--fork | Endpoint of the chain to fork. |
--fork-block-number | Block hash or block number from where to fork. |
FAQs
Polkadot [Hardhat](https://hardhat.org/) plugin to run a mock in-memory node.
The npm package @parity/hardhat-polkadot-node receives a total of 1,457 weekly downloads. As such, @parity/hardhat-polkadot-node popularity was classified as popular.
We found that @parity/hardhat-polkadot-node demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 12 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.
Security News
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.