1.1.11 • Published 2 months ago

ethernaut-util v1.1.11

Weekly downloads
-
License
ISC
Repository
-
Last release
2 months ago

ethernaut-util

Simple, everyday utilities for Ethereum devs

What

This plugin facilitates a collection of tools for everyday Ethereum development or hacking needs, such as converting between units, searching for logs, converting from and to bytes, etc.

Installation

npm install ethernaut-util

Import the plugin in your hardhat.config.js:

require('ethernaut-util')

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

import 'ethernaut-util'

Required plugins

This plugin does not require any other plugins.

Tasks

This plugin adds the tasks listed below.

  • bytes Converts strings to bytes32
  • checksum Computes or validates the checksum of an address
  • lookup Lookup the address of an ens name
  • resolve Resolves an ens name to an address
  • string Converts bytes32 to string
  • token Tries to find the address of a token, given its name or symbol in the current network
  • unit Converts between different units of Ether
  • gas Fetch gas info on the current network
  • chain Finds a network name from a chain ID, or vice versa

Environment extensions

This plugin doesn't add any fields to the hre.

Configuration

This plugin doesn't add any fields to the hardhat configuration file.

Usage

Just install it and all tasks will be available with npx hardhat <task> <params>

1.1.11

2 months ago

1.1.1

3 months ago

1.1.0

3 months ago

1.1.3

3 months ago

1.1.10

3 months ago

1.0.15

3 months ago

1.0.11

3 months ago

1.0.14

3 months ago

1.0.13

3 months ago

1.0.10

3 months ago

1.0.7

3 months ago

1.0.2

3 months ago

1.0.1

3 months ago

1.0.3

3 months ago

1.0.0-alpha.2

3 months ago

1.0.0-alpha.1

3 months ago