You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
429 B
TypeScript

import { ethers } from "hardhat";
async function main() {
const Git3 = await ethers.getContractFactory("Git3Hub");
const git3 = await Git3.deploy();
let receipt = await git3.deployed();
console.log(receipt);
console.log(git3.address);
}
// 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;
});