@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

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
3.0.0-next.00latest
3.0.0-next.125next

Version History

VersionDownloads (Last 7 Days)Published
3.0.0-next.125
3.0.0-next.110
3.0.0-next.90
3.0.0-next.80
3.0.0-next.70
3.0.0-next.60
3.0.0-next.50
3.0.0-next.40
3.0.0-next.30
3.0.0-next.20
3.0.0-next.11
3.0.0-next.00

Package Sidebar

Install

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

Weekly Downloads

6

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