require("@openzeppelin/hardhat-upgrades"); require("@nomicfoundation/hardhat-ignition-ethers"); // require("@nomiclabs/hardhat-ethers"); // require("@nomiclabs/hardhat-etherscan"); // require("hardhat-contract-sizer"); // require("dotenv").config(); // require("hardhat-gas-reporter"); require("@nomicfoundation/hardhat-verify"); const env = process.env; // This is a sample Hardhat task. To learn how to create your own go to // https://hardhat.org/guides/create-task.html module.exports = { solidity: { compilers: [ { version: "0.8.9", settings: { optimizer: { enabled: true, runs: 200, }, }, }, { version: "0.8.20", settings: { optimizer: { enabled: true, runs: 200, }, }, }, { version: "0.8.0", settings: { optimizer: { enabled: true, runs: 200, }, }, }, { version: "0.6.12", settings: { optimizer: { enabled: true, runs: 200, }, }, }, { version: "0.5.16", settings: { optimizer: { enabled: true, runs: 200, }, }, }, { version: "0.4.25", settings: { optimizer: { enabled: true, runs: 200, }, }, }, ], }, mocha: { timeout: 10000000, }, networks: { hardhat: { forking: { // MAINNET FORK url: `https://bsc-mainnet.nodereal.io/v1/f82aa3b8072a46ccadf3024a96f0cff4`, // blockNumber: 30488174, chainId: 56, // TESTNET FORK // url: `https://bsc-testnet.nodereal.io/v1/f82aa3b8072a46ccadf3024a96f0cff4`, // blockNumber: 31828689, // chainId: 97, }, }, local: { url: "http://127.0.0.1:8545", forking: { url: `https://bsc-mainnet.nodereal.io/v1/f82aa3b8072a46ccadf3024a96f0cff4`, chainId: 56, blockNumber: 30010000, }, }, sascha: { // url: `https://f743-2600-4040-4448-b000-378c-f5c-adea-e76f.ngrok-free.app`, url: `https://www.driplover69.info`, // chainId: 1337, chainId: 1337, // minGasPrice: 3e9, }, bb: { url: `https://rpc-beta.buildbear.io/submit/possible-jubilee-3eaaadf4`, chainId: 22201, timeout: 200000, // accounts: [env.pk], // gasPrice: "auto", // gas: 2e9, }, bbsc: { url: `https://rpc.buildbear.io/sascha`, timeout: 200000, // accounts: [env.pk], // gasPrice: "auto", // gas: 2e9, }, tenderly: { url: `https://virtual.binance.rpc.tenderly.co/bd4ca4c1-0512-47bf-9674-6f509e9ad7fc`, chainId: 56, timeout: 200000, // accounts: [env.pk], // gasPrice: "auto", // gas: 2e9, }, mainnet: { url: `https://bsc-dataseed1.binance.org`, chainId: 56, }, base: { url: `https://base-mainnet.public.blastapi.io`, chainId: 8453, }, sonic: { url: `https://rpc.soniclabs.com`, chainId: 146, }, }, etherscan: { enable: true, apiKey: { bbsc: "verifyContract", base: "GN555QYEWPDFZ47H1TR5ASK693D38A69GY", mainnet: "1I15826QJ4HHY2UTGK3EZEA4TNBT68FB83", sonic: "N6DMIQQNJ7634I1ETH527Z1WZQM2Q6GEW8" }, customChains: [ { network: "bbsc", chainId: 1337, urls: { apiURL: "https://rpc.buildbear.io/verify/sourcify/server/sascha", browserURL: "https://explorer.buildbear.io/zesty-drax-7d87eef9", }, }, { network: "base", chainId: 8453, // Mainnet chain ID for Base urls: { apiURL: "https://api.basescan.org/api", // BaseScan API URL browserURL: "https://basescan.org", // BaseScan browser URL }, }, { network: "mainnet", chainId: 56, // Mainnet chain ID for Base urls: { apiURL: "https://api.bscscan.com/api", browserURL: "https://bscscan.com", }, }, { network: "sonic", chainId: 146, // Mainnet chain ID for sonic urls: { apiURL: "https://api.sonicscan.org/api", browserURL: "https://sonicscan.org", }, }, ], }, sourcify: { enabled: false, apiUrl: "https://rpc.buildbear.io/verify/sourcify/server/sascha" } };