Skip to content

xinbenlv/hardhat-depver

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published