Files
ragnar/scripts/deploy-et.ts
2023-09-19 06:38:09 -04:00

15 lines
358 B
TypeScript

import { ethers } from "hardhat";
async function main() {
const et = await ethers.deployContract("EventTest", []);
await et.waitForDeployment();
console.log(et.target);
}
// We recommend this pattern to be able to use async/await everywhere
// and properly handle errors.
main().catch((error) => {
console.error(error);
process.exitCode = 1;
});