| 123456789101112131415161718 |
- import { ethers } from "hardhat";
- async function main() {
- const CalcTest = await ethers.getContractFactory("CalcTest");
- const calc = await CalcTest.deploy();
- await calc.deployed();
- console.log(`Lock deployed to ${calc.address}`);
- //0xA56768f700434321765a373B040c17BBB25eB803
- }
- // 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;
- });
|