Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error in plugin @nomiclabs/hardhat-etherscan: Error! Missing Or invalid Module name

I tried to verify my contract with constructor arguments but hardhat throwing that error everytime

npx hardhat verify --network rinkeby 0x50a45120252c2FeeD06915F46D8Fbabec1a008df "TestSmartContract" "TSC" "my_ipfs_link1" "my_ipfs_link2"

these arguments is same as my contract's arguments enter image description here

like image 540
questiontoansw Avatar asked May 18 '26 19:05

questiontoansw


1 Answers

Downgrade the plugin version to 3.0.1 like this solves the issue:

npm i -s @nomiclabs/[email protected]
like image 104
Tina Lee Avatar answered May 21 '26 12:05

Tina Lee



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!