import { HardhatUserConfig } from "hardhat/config";

import "@nomicfoundation/hardhat-ethers";

 

const PRIVATE_KEY = "ضع_المفتاح_الخاص_هنا_بدون_0x";

 

const config: HardhatUserConfig = {

  solidity: "0.8.20",

  networks: {

    polygon: {

      url: "https://polygon-rpc.com",

      accounts: [PRIVATE_KEY],

    },

  },

};

 

export default config;


Xxxxxxxxx Deploy
import { ethers } from "hardhat";
async function main() {  const HighestCoin = await ethers.getContractFactory("HighestCoin");  const contract = await HighestCoin.deploy();
  await contract.waitForDeployment();
  console.log("HighestCoin deployed to:", await contract.getAddress());}
main().catch((error) => {  console.error(error);  process.exitCode = 1;});
masry500

طابت أوقاتكم وبالله التوفيق

  • Currently 0/5 Stars.
  • 1 2 3 4 5
0 تصويتات / 2 مشاهدة
نشرت فى 15 يناير 2026 بواسطة masry500

ساحة النقاش

عدد زيارات الموقع

122,864