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;



ساحة النقاش