Select Git revision
hardhat.config.ts
hardhat.config.ts 755 B
import "hardhat-deploy";
import "@typechain/hardhat";
import "@nomiclabs/hardhat-ethers";
import { HardhatUserConfig } from "hardhat/config"
const config: HardhatUserConfig = {
defaultNetwork: "hardhat",
networks: {
hardhat: {
chainId: 31337,
allowUnlimitedContractSize: true
},
localhost: {
chainId: 31337,
allowUnlimitedContractSize: true
},
},
solidity: {
version: "0.8.8",
settings: {
optimizer: {
enabled: true,
runs: 200,
},
},
},
namedAccounts: {
deployer: {
default: 0, // The deployer will be the first account
1: 0,
},
},
// mocha: {
// timeout: 200000, // 200 seconds max for running tests
// },
}
export default config