Skip to content

solidstate-network/hardhat-accounts

Repository files navigation

Hardhat Accounts

Output list of available accounts and balances.

Installation

npm install --save-dev @solidstate/hardhat-accounts
# or
yarn add --dev @solidstate/hardhat-accounts

Usage

Load plugin in Hardhat config:

require('@solidstate/hardhat-accounts');

Run the included Hardhat task to output available accounts:

npx hardhat accounts
# or
yarn run hardhat accounts

Development

Install dependencies via Yarn:

yarn install

Setup Husky to format code on commit:

yarn prepare