hardhat
hardhat copied to clipboard
[hardhat-verify] Verify proxy
Etherscan has a new API feature for verifying proxies instead of contracts. I don't know if this is something enough people would want to merit working on it, though. On the other hand, while this can be done manually, it wouldn't be too hard for us to add it, at least as a subtask that can be called programmatically.
Related issue with workaround: #1166
+1! :)
Would also love to see this feature. 🙏
+1
This issue was marked as stale because it didn't have any activity in the last 30 days. If you think it's still relevant, please leave a comment indicating so. Otherwise, it will be closed in 7 days.
We just released a new version with support for this.
@alcuadrado this issue is about verifying proxies, not about using proxies for verifying :sweat_smile:
Looks like the mentioned fix indeed doesn't address this issue as intended
This should be the api endpoint to verify as proxy: https://docs.etherscan.io/api-endpoints/contracts#verify-proxy-contract
Maybe triggered with a simple flag --proxy ?
+1