hardhat-web-ui

Hardhat Web UI Plugin

Features

contract interaction wallet transaction

Installation

npm install hardhat-web-ui --save-dev

Usage

Import the plugin in your hardhat.config.js:

require("hardhat-web-ui");

Start the Web UI:

npx hardhat web-ui --network <network-name>
# e.g.
npx hardhat web-ui --network localhost

Then access http://localhost:3337 in your browser

Configuration

The plugin can be configured in hardhat.config.js:

module.exports = {
  webUI: {
    enabled: true,
    localChainIds: [31337, ...],
    port: 3337,
  }
};