17 lines
416 B
TypeScript
17 lines
416 B
TypeScript
import { ethers } from "hardhat";
|
|
|
|
async function main() {
|
|
const TENGRANS = await ethers.deployContract("TenGransEthToken");
|
|
|
|
await TENGRANS.waitForDeployment();
|
|
|
|
console.log(`Ethereum 10grans deployed to: ${TENGRANS.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;
|
|
});
|