@ignored/hardhat-vnext-network-helpers

3.0.0-next.0 • Public • Published

Hardhat Network Helpers

Hardhat Network Helpers is a library that provides a set of utility functions to interact with the Hardhat Network.

Usage

const { networkHelpers } = await hre.network.connect();

// Network helpers methods exposed via `networkHelpers`
await networkHelpers.mine();

// Time methods exposed via `time`
await networkHelpers.time.increase(1);

// Duration methods exposed via `duration`
networkHelpers.time.duration.days(1);

Tests

Temporary solution to run manual tests until the V3 node is ready.

  1. Start a node in Hardhat V2: npx hardhat node
  2. Run the tests: pnpm test:tmp

Package Sidebar

Install

npm i @ignored/hardhat-vnext-network-helpers

Weekly Downloads

41

Version

3.0.0-next.0

License

MIT

Unpacked Size

136 kB

Total Files

163

Last publish

Collaborators

  • omartawfik
  • nomic-foundation-publisher
  • zoeytm
  • antico5
  • kanej
  • fvictorio
  • alcuadrado