@keep-network/hardhat-helpers
TypeScript icon, indicating that this package has built-in type declarations

0.7.1 • Public • Published

hardhat-plugin

Hardhat plugin from Keep Network.

What

This plugin contains helpers for Hardhat.

Installation

yarn add --dev @keep-network/hardhat-helpers ethers@^5.0.32 hardhat-deploy@^0.8.11

Import the plugin in your hardhat.config.js:

require("@keep-network/hardhat-helpers")

Or if you are using TypeScript, in your hardhat.config.ts:

import "@keep-network/hardhat-helpers"

Environment extensions

This plugin extends the Hardhat Runtime Environment by adding an helpers field whose type is HardhatHelpers.

Usage

There are no additional steps you need to take for this plugin to work.

Install it and access helpers through the Hardhat Runtime Environment anywhere you need it (tasks, scripts, tests, etc).

Example:

hre.helpers.address.isValid(KeepToken.address)

Dependencies (0)

    Dev Dependencies (25)

    Package Sidebar

    Install

    npm i @keep-network/hardhat-helpers

    Weekly Downloads

    248

    Version

    0.7.1

    License

    MIT

    Unpacked Size

    93.2 kB

    Total Files

    76

    Last publish

    Collaborators

    • michalinacienciala
    • dimpar
    • lukasz-zimnoch
    • shadowfiend
    • nkuba8
    • thesis-heimdall
    • pdyraga