0.0.4 • Published 1 year ago

hardhat-depver v0.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

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