base / base/docs

deploy.js

Open
#1,186 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
337
Forks
792
Avg merge
17h 23m
Merged PRs (30d)
49

Description

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;
});

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.