import { HardhatUserConfig } from "hardhat/config";

import "@nomicfoundation/hardhat-toolbox"; // لو Toolbox مثبت، لو لم يكن مثبت يمكن تجاهل هذا السطر

import "hardhat-deploy";

import { ethers } from "ethers";

 

const PRIVATE_KEY = "هنا ضع مفتاح محفظتك الخاص";

const POLYGON_RPC = "هنا ضع رابط RPC لشبكة Polygon";

 

const config = {

  defaultNetwork: "polygon",

  networks: {

    polygon: {

      url: POLYGON_RPC,

      accounts: [PRIVATE_KEY],

    },

  },

  solidity: {

    version: "0.8.28",

    settings: {

      optimizer: {

        enabled: true,

        runs: 200,

      },

    },

  },

};

 

export default config;


masry500

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

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

ساحة النقاش

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

122,871