deployment

This commit is contained in:
Thrilok kumar 2024-03-21 18:31:22 -04:00
parent 9584c8148a
commit 2ac4e3ec71
4 changed files with 26 additions and 3 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

22
scripts/deployIGP14.js Normal file
View File

@ -0,0 +1,22 @@
const hre = require("hardhat");
const { ethers } = hre;
async function main() {
// const PayloadIGP14 = await ethers.getContractFactory("PayloadIGP14")
// const payloadIGP14 = await PayloadIGP14.deploy()
// await payloadIGP14.deployed()
// console.log("PayloadIGP14: ", payloadIGP14.address)
await hre.run("verify:verify", {
address: "0x9C5F9e5987EBc5cb589215d6cE9Af8FE72560AE8",
constructorArguments: []
})
}
main()
.then(() => process.exit(0))
.catch(error => {
console.error(error);
process.exit(1);
});

View File

@ -2,10 +2,10 @@ const hre = require("hardhat");
const { ethers } = hre; const { ethers } = hre;
async function main() { async function main() {
const payload = await ethers.deployContract("PayloadIGP13", []) const payload = await ethers.deployContract("PayloadIGP14", [])
await payload.waitForDeployment() await payload.waitForDeployment()
console.log("PayloadIGP13: ", payload.target) console.log("PayloadIGP14: ", payload.target)
console.log() console.log()
} }