-
Notifications
You must be signed in to change notification settings - Fork 0
/
hardhat.config.ts
47 lines (45 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
import { HardhatUserConfig } from "hardhat/config";
import "dotenv/config";
import "@nomicfoundation/hardhat-toolbox";
const config: HardhatUserConfig = {
solidity: {
version: "0.8.18",
settings: {
optimizer: {
enabled: true,
runs: 4294967,
},
},
},
networks: {
hardhat: {
forking: {
url: "https://eth.llamarpc.com",
blockNumber: 17589468
}
},
fuji: {
url: 'https://rpc.ankr.com/avalanche_fuji',
accounts: [process.env.PRIVATEKEY!],
gasMultiplier: 1.5,
},
mainnet: {
url: "https://eth.llamarpc.com",
accounts: [process.env.PRIVATEKEY!],
gasMultiplier: 1.1,
},
base: {
url: "https://base.llamarpc.com",
accounts: [process.env.PRIVATEKEY!],
gasMultiplier: 1.1,
}
},
etherscan: {
apiKey: {
mainnet: process.env.ETHERSCAN_API_KEY ?? '',
avalancheFujiTestnet: process.env.ETHERSCAN_API_KEY ?? '',
base: process.env.ETHERSCAN_API_KEY ?? ''
}
}
};
export default config;