You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
772 B
TypeScript

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