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.
33 lines
702 B
TypeScript
33 lines
702 B
TypeScript
require("dotenv").config();
|
|
|
|
import { HardhatUserConfig } from "hardhat/config";
|
|
import "@nomicfoundation/hardhat-toolbox";
|
|
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;
|