This plugin adds the sourcify task to Hardhat. First create the deployment scripts in the deploy directory which is in the same level as of contracts directory. I found out that you can actually create an arguments.js script that basically allows you to plugin the same arguments as you do in your deploy script. An example repo that show case a multi-network setup with optimism can be found here: https://github.com/wighawag/template-ethereum-contracts/tree/examples/optimism. In this example, youll deploy your smart contract in your local Testnet and the Rinkeby Testnet. There was a problem preparing your codespace, please try again. OpenZeppelin Contract Verification. The runAtTheEnd is a boolean that if set to true, will queue that script to be executed after all other scripts are executed. Furthermore hardhat-deploy can also support a multi-chain settings like L1, L2 with multiple deploy folder specific to each network. Alex Baidan - Software Engineering Manager - Microsoft | LinkedIn A complete dev template using hardhat-deploy is available here: https://github.com/wighawag/template-ethereum-contracts The first one is exported via the --export
?>