Skip to content

Latest commit

 

History

History
64 lines (39 loc) · 1.06 KB

README.md

File metadata and controls

64 lines (39 loc) · 1.06 KB

hardhat-depver Plugin

A handy hardhat plugin to deploy and verify source code via command-line

Installation

npm install hardhat-depver

Import the plugin in your hardhat.config.js:

require("hardhat-depver");

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

import "hardhat-depver";

Required plugins

  • @nomiclabs/hardhat-ethers

Tasks

This plugin adds the depver task to Hardhat:

output of `npx hardhat help depver`

Usage:

npx hardhat depver --network goerli --signer-index 2 --contract-name <ContractName>

Configuration

See configurating hardhat-etherscan

Usage

npx hardhat depver --network goerli --signer-index 2 --contract-name <ContractName>

Examples

See a few examples in ERCRef

Contributing

Publish

We use np for publishing. You shall be able to run the following

npx np