1.1.11 • Published 24 days ago

ethernaut-interact v1.1.11

Weekly downloads
-
License
ISC
Repository
-
Last release
24 days ago

ethernaut-interact

Tasks for sending transactions and interacting with contracts

What

This plugin allows interacting with contracts, and sending transactions.

Note: Enquirer type navigation of ABIs is achieved with ui extensions in the ethernaut-interact-ui plugin.

Installation

npm install ethernaut-interact

Import the plugin in your hardhat.config.js:

require('ethernaut-interact')

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

import 'ethernaut-interact'

Required plugins

This plugin doesn't depend on any other plugins.

Tasks

This plugin adds the following tasks:

  • find-abi Prints out the absolute paths of the known ABIs
  • balance Queries the ETH or TOKEN balance of an address
  • contract Interacts with a contract
  • info Retrieves information about a contract address using Etherscan, such as the contract name, ABI, and source code
  • logs Finds logs emitted by a contract
  • send Sends ether to an address
  • token Interacts with any ERC20 token

Environment extensions

This plugin does not add any fields to the hre.

Configuration

This plugin does not add any fields to the hardhat configuration file.

Usage

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

1.1.11

24 days ago

1.1.0

1 month ago

1.1.4

1 month ago

1.1.3

1 month ago

1.1.10

1 month ago

1.0.15

2 months ago

1.0.11

2 months ago

1.0.14

2 months ago

1.0.13

2 months ago

1.0.10

2 months ago

1.0.9

2 months ago

1.0.8

2 months ago

1.0.7

2 months ago

1.0.2

2 months ago

1.0.1

2 months ago

1.0.3

2 months ago

1.0.0-alpha.2

2 months ago

1.0.0-alpha.1

2 months ago