Skip to content

Latest commit

 

History

History
55 lines (34 loc) · 1.23 KB

File metadata and controls

55 lines (34 loc) · 1.23 KB

ethernaut-wallet

Tasks for interacting from different Ethereum accounts

What

In a similar way to the network plugin, this plugin allows to set the wallet to be used to sign messages, send transactions, and interact with contracts in a way that persists between CLI calls.

The tasks in this plugin basically allow you to manage this wallet setting.

Installation

npm install ethernaut-wallet

Import the plugin in your hardhat.config.js:

require('ethernaut-wallet')

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

import 'ethernaut-wallet'

Required plugins

Tasks

This plugins adds the following tasks to hardhat:

  • set Sets the active wallet
  • add Adds a new wallet
  • current Shows which wallet is active
  • info Shows information about a wallet
  • list Lists all wallets
  • remove Removes a wallet
  • sign Signs a message with the active wallet

Environment extensions

This plugin doesn't extend the hre.

Configuration

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

Usage

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