dsa-governance/scripts/deployIGP13.js

23 lines
509 B
JavaScript
Raw Permalink Normal View History

2024-03-19 20:12:01 +00:00
const hre = require("hardhat");
const { ethers } = hre;
async function main() {
const PayloadIGP13 = await ethers.getContractFactory("PayloadIGP13")
const payloadIGP13 = await PayloadIGP13.deploy()
await payloadIGP13.deployed()
console.log("PayloadIGP13: ", payloadIGP13.address)
await hre.run("verify:verify", {
address: payloadIGP13.address,
constructorArguments: []
})
}
main()
.then(() => process.exit(0))
.catch(error => {
console.error(error);
process.exit(1);
});