Skip to content

deploy.js #1186

@marwajameel

Description

@marwajameel

const hre = require("hardhat");

async function main() {
// کنٹریکٹ کو حاصل کرنا
const HelloWorld = await hre.ethers.getContractFactory("HelloWorld");

// کنٹریکٹ کو لائیو کرنا
const helloWorld = await HelloWorld.deploy();

await helloWorld.deployed();

console.log("HelloWorld contract deployed to:", helloWorld.address);
}

main().catch((error) => {
console.error(error);
process.exitCode = 1;
});

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions