From 2747fa89c21c367fce81df9f39ed71b72a8d55e4 Mon Sep 17 00:00:00 2001 From: Thrilok kumar Date: Fri, 12 Apr 2024 21:30:31 +0530 Subject: [PATCH] deployment script --- scripts/deployIGP17.js | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 scripts/deployIGP17.js diff --git a/scripts/deployIGP17.js b/scripts/deployIGP17.js new file mode 100644 index 0000000..667e263 --- /dev/null +++ b/scripts/deployIGP17.js @@ -0,0 +1,22 @@ +const hre = require("hardhat"); +const { ethers } = hre; + +async function main() { + const PayloadIGP17 = await ethers.getContractFactory("PayloadIGP17") + const payloadIGP17 = await PayloadIGP17.deploy() + await payloadIGP17.deployed() + + console.log("PayloadIGP17: ", payloadIGP17.address) + + await hre.run("verify:verify", { + address: payloadIGP17.address, + constructorArguments: [] + }) +} + +main() + .then(() => process.exit(0)) + .catch(error => { + console.error(error); + process.exit(1); + });