Created
July 19, 2022 08:43
-
-
Save blutarche/4a0e2ee2f290813499c7dd2a6cfdc5e4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { ethers } from "hardhat"; | |
async function main() { | |
const LoveLetter = await ethers.getContractFactory("LoveLetter"); | |
const loveLetter = await LoveLetter.deploy(); | |
await loveLetter.deployed(); | |
console.log("LoveLetter deployed to:", loveLetter.address); | |
} | |
main().catch((error) => { | |
console.error(error); | |
process.exitCode = 1; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment