NomicFoundation / hardhat

Hardhat is a development environment to compile, deploy, test, and debug your Ethereum software.
https://hardhat.org
Other
7.22k stars 1.38k forks source link

feat: added etherlink and etherlink testnet #5464

Closed devon-n closed 2 months ago

devon-n commented 3 months ago

I wanted to add a network that I use to hardhat verify.

PR adds following changes

vercel[bot] commented 3 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
hardhat ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 1, 2024 11:07am
changeset-bot[bot] commented 3 months ago

⚠️ No Changeset found

Latest commit: 969e01f8a322ef15281d578137f41e108d50b7d4

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

devon-n commented 2 months ago

Hi Guys, Is this possible to merge?

schaable commented 2 months ago

Hi @devon-n! As stated here, we're not expanding the list of networks supported by hardhat-verify. The main reason behind this decision is the difficulty in maintaining an ever-growing list of networks.

However, there's a workaround for users looking to add custom networks. You can do this by configuring them in the etherscan custom network section of your hardhat configuration.

For a better user experience, consider abstracting this into a plugin. Here's an example plugin on how to do that. Once set up, you can simply import this plugin into your hardhat configuration, removing the need to manually add networks to the config.