🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

@nomiclabs/hardhat-etherscan

Package Overview
Dependencies
Maintainers
4
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nomiclabs/hardhat-etherscan

Hardhat plugin for verifying contracts on etherscan

3.1.8
latest
Source
npm
Version published
Weekly downloads
236K
-46.05%
Maintainers
4
Weekly downloads
 
Created

What is @nomiclabs/hardhat-etherscan?

@nomiclabs/hardhat-etherscan is a plugin for Hardhat that allows developers to verify their smart contracts on Etherscan, a popular Ethereum block explorer and analytics platform. This plugin simplifies the process of contract verification by automating the interaction with Etherscan's API.

What are @nomiclabs/hardhat-etherscan's main functionalities?

Contract Verification

This feature allows you to verify your smart contracts on Etherscan. By configuring your Hardhat project with the necessary network and Etherscan API key, you can use the `hardhat verify` command to automatically verify your contracts.

module.exports = { solidity: '0.8.0', networks: { mainnet: { url: 'https://mainnet.infura.io/v3/YOUR_INFURA_PROJECT_ID', accounts: ['YOUR_PRIVATE_KEY'] } }, etherscan: { apiKey: 'YOUR_ETHERSCAN_API_KEY' } };

Other packages similar to @nomiclabs/hardhat-etherscan

Keywords

ethereum

FAQs

Package last updated on 05 Dec 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts