0.0.22 • Published 2 months ago

wookashwackomytest-polkahat-network-helpers v0.0.22

Weekly downloads
-
License
MIT
Repository
github
Last release
2 months ago

npm

Hardhat Network Helpers

Hardhat Network Helpers is a library that provides a set of utility functions to interact with the Hardhat Network. You can read their full documentation here.

Installation

We recommend using npm 7 or later:

npm install --save-dev @nomicfoundation/hardhat-network-helpers

Usage

Import it and use it in any of your files. For example, this Hardhat script mines some blocks and then prints the block number.

const helpers = require("@nomicfoundation/hardhat-network-helpers");

async function main() {
  // mine 100 blocks
  await helpers.mine(100);

  console.log("The current block number is", await helpers.time.latestBlock());
}

main().catch((error) => {
  console.error(error);
  process.exitCode = 1;
});
0.0.22

2 months ago

0.0.21

2 months ago

0.0.20

2 months ago

0.0.10

2 months ago

0.0.11

2 months ago

0.0.12

2 months ago

0.0.13

2 months ago

0.0.14

2 months ago

0.0.15

2 months ago

0.0.9

2 months ago

0.0.16

2 months ago

0.0.17

2 months ago

0.0.19

2 months ago

0.0.8

2 months ago

0.0.7

2 months ago

0.0.6

2 months ago

0.0.5

2 months ago

0.0.3

2 months ago

0.0.4

2 months ago

0.0.2

2 months ago

0.0.1

3 months ago