hardhat.config.js 493 Bytes
Newer Older
timothe 2004's avatar
timothe 2004 committed
1 2 3
/**
 * @type import('hardhat/config').HardhatUserConfig
 */
Quentin Hamitouche's avatar
Quentin Hamitouche committed
4
require("@nomicfoundation/hardhat-toolbox")
timothe 2004's avatar
timothe 2004 committed
5

timothe 2004's avatar
timothe 2004 committed
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
module.exports = {
  solidity: {
    version: "0.8.20",
    settings: {
      optimizer: {
        enabled: true,
        runs: 200
      }
    }
  },
  paths: {
    sources: "./contracts",
    tests: "./test",
    cache: "./cache",
    artifacts: "./artifacts"
  },
  networks: {
    hardhat: {
      chainId: 1337
    },
    localhost: {
      url: "http://127.0.0.1:8545"
    }
  }
};