hardhat-verify

hardhat-verify, is an hardhat plugin, that simplify the smart contract verification process on Etherscan. With the Etherscan Compatible Verify Contract API, you can use this tool to verify your smart contract on Routescan Explorer as well.
This is an example of hardhat.config.ts:
Deploy
Verify