require('dotenv').config() require('@nomiclabs/hardhat-waffle') require('@nomiclabs/hardhat-etherscan') require('hardhat-log-remover') require('solidity-coverage') /** * @type import('hardhat/config').HardhatUserConfig */ module.exports = { solidity: { compilers: [ { version: '0.6.12', settings: { optimizer: { enabled: true, runs: 200, }, }, }, { version: '0.7.6', settings: { optimizer: { enabled: true, runs: 200, }, }, }, ], }, networks: { hardhat: { forking: { url: `https://eth-mainnet.alchemyapi.io/v2/${process.env.ALCHEMY_KEY}`, blockNumber: 14250000, }, chainId: 1, initialBaseFeePerGas: 5, loggingEnabled: false, allowUnlimitedContractSize: false, blockGasLimit: 50000000, }, mainnet: { url: `https://eth-mainnet.alchemyapi.io/v2/${process.env.ALCHEMY_KEY}`, accounts: [process.env.PRIVATE_KEY], timeout: 2147483647, }, }, mocha: { timeout: 9999999999 }, spdxLicenseIdentifier: { overwrite: true, runOnCompile: true, }, etherscan: { apiKey: `${process.env.ETHERSCAN_KEY}`, }, }