This is a new version of the buidler-etherscan plugin that both simplifies its usage and improves its capabilities.
Check the readme to learn more, but the new features include:
- You only need to provide the deployment address and constructor arguments, and the plugin will detect locally which contract to verify.
- If your contract uses Solidity libraries, the plugin will detect them and deal with them automatically. You don't need to do anything about them.
- A simulation of the verification process will run locally, allowing the plugin to detect and communicate any mistakes during the process.
- Once the simulation is successful the contract will be verified using the Etherscan API.
Big shout out to @canepat, who has improved the 1.x a lot, and submitted multiple PRs that inspired some of the features in 2.x.