-
Notifications
You must be signed in to change notification settings - Fork 12
/
hardhat.config.ts
executable file
·55 lines (42 loc) · 1.03 KB
/
hardhat.config.ts
1
2
3
4
5
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
import "@nomiclabs/hardhat-ethers";
import "@nomiclabs/hardhat-waffle";
import "@nomiclabs/hardhat-etherscan";
import "@typechain/hardhat";
//import "hardhat-gas-reporter";
//import "solidity-coverage";
//import "@tenderly/hardhat-tenderly";
import { HardhatUserConfig } from "hardhat/config";
//import "./tasks/clean";
const _Ethereum : string = "https://mainnet.infura.io/v3/9aa3d95b3bc440fa88ea12eaa4456161";
const config: HardhatUserConfig = {
defaultNetwork: "hardhat",
networks: {
hardhat: {
//forking: {
// url: ALCHEMY_ETH_MAINNET,
// blockNumber: 20763852//19956647//polyBlockNumber19.956647
// },
chainId: 1337,
},
Ethereum : {
url : _Ethereum
},
},
solidity: {
version: "0.8.7",
settings: {
optimizer: {
enabled: true,
runs: 2000,
},
},
},
mocha: {
timeout: 600000,
},
typechain: {
outDir: "typechain",
target: "ethers-v5",
},
};
export default config;