require('dotenv').config(); import '@nomiclabs/hardhat-ethers'; import '@nomiclabs/hardhat-etherscan'; import 'hardhat-gas-reporter'; import 'solidity-coverage'; export default { default: 'mainnet', networks: { hardhat: { }, mainnet: { url: `https://mainnet.infura.io/v3/${process.env.INFURA_ID}`, accounts: [`0x${process.env.METAMASK_WALLET_SECRET}`] }, ropsten: { url: `https://ropsten.infura.io/v3/${process.env.INFURA_ID}`, accounts: [`0x${process.env.METAMASK_WALLET_SECRET}`] }, goerli: { url: `https://goerli.infura.io/v3/${process.env.INFURA_ID}`, accounts: [`0x${process.env.METAMASK_WALLET_SECRET}`] }, development: { url: "http://localhost:7545", accounts: [process.env.METAMASK_WALLET_SECRET] } }, solidity: { version: '0.8.0', settings: { optimizer: { enabled: true, runs: 200, }, }, }, paths: { sources: './contracts', tests: './test', cache: './build/cache', artifacts: './build/artifacts', }, gasReporter: { currency: 'USD', enabled: true, }, etherscan: { // Your API key for Etherscan // Obtain one at https://etherscan.io/ apiKey: process.env.ETHERSCAN_API_KEY }, };