require("dotenv").config(); import { HardhatUserConfig } from "hardhat/config"; import "@nomicfoundation/hardhat-toolbox"; import "@nomiclabs/hardhat-web3"; import "@nomiclabs/hardhat-ethers"; import { NetworkDefinition, EtherscanConfig } from "./local.config"; const config: HardhatUserConfig = { solidity: { compilers: [ { version: "0.8.17", settings: { optimizer: { enabled: true, runs: 1000, }, }, }, ], }, networks: { w3qGalileo: { url: "https://galileo.web3q.io:8545", accounts: process.env.PRIVATE_KEY !== undefined ? [process.env.PRIVATE_KEY] : [], }, ...NetworkDefinition, }, etherscan: EtherscanConfig, }; export default config;