dsa-governance/scripts/deployIGP8.js

23 lines
501 B
JavaScript
Raw Normal View History

2024-03-03 05:10:34 +00:00
const hre = require("hardhat");
const { ethers } = hre;
async function main() {
const PayloadIGP8 = await ethers.getContractFactory("PayloadIGP8")
const payloadIGP8 = await PayloadIGP8.deploy()
await payloadIGP8.deployed()
console.log("PayloadIGP8: ", payloadIGP8.address)
await hre.run("verify:verify", {
address: payloadIGP8.address,
constructorArguments: []
})
}
main()
.then(() => process.exit(0))
.catch(error => {
console.error(error);
process.exit(1);
});