dmihal / hardhat-interface-generator

MIT License
32 stars 2 forks source link

hardhat-interface-generator

Generate solidity interfaces

Hardhat plugin.

Installation

npm install hardhat-interface-generator

Import the plugin in your hardhat.config.js:

require("hardhat-interface-generator");

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

import "hardhat-interface-generator";

Tasks

This plugin adds the gen-interface task to Hardhat:

Usage

yarn hardhat gen-interface <contract name>