mirror of
https://github.com/gitgig-io/ragnar.git
synced 2026-01-12 04:47:58 -05:00
15 lines
358 B
TypeScript
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;
|
|
});
|