-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathhardhat.config.js
73 lines (71 loc) · 1.85 KB
/
hardhat.config.js
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
require("@nomicfoundation/hardhat-toolbox");
require('@openzeppelin/hardhat-upgrades');
require("hardhat-gas-reporter");
require("dotenv").config();
/** @type import('hardhat/config').HardhatUserConfig */
module.exports = {
solidity: {
version: "0.8.20",
settings: {
optimizer: {
enabled: true,
runs: 200,
},
},
gasReporter: {
enabled: true,
},
},
networks: {
opbnb_testnet: {
url: process.env.API_KEY_URL_OPBNB_TESTNET,
accounts: [process.env.TEST_PRIVATE_KEY],
gasPrice: 1000000,
},
opbnb: {
url: process.env.API_KEY_URL_OPBNB,
accounts: [process.env.TEST_PRIVATE_KEY],
gasPrice: 1000000,
},
arb_testnet: {
url: process.env.API_KEY_URL_ARB_SEPOLIA,
accounts: [process.env.TEST_PRIVATE_KEY],
gasPrice: 150000000,
},
arb_nft: {
url: process.env.API_KEY_URL_ARB_ONE,
accounts: [process.env.ARB_NFT_PRIVATE_KEY],
gasPrice: 15000000,
},
arb_oft: {
url: process.env.API_KEY_URL_ARB_ONE,
accounts: [process.env.OFT_PRIVATE_KEY],
gasPrice: 12000000,
},
eth_oft: {
url: process.env.API_KEY_URL_ETH_MAINNET,
accounts: [process.env.OFT_PRIVATE_KEY],
gasPrice: 20000000000,
},
base_testnet: {
url: process.env.API_KEY_URL_BASE_TESTNET,
accounts: [process.env.BASE_TEST_PRIVATE_KEY],
gasPrice: 10000000,
},
base_oft: {
url: process.env.API_KEY_URL_BASE_MAINNET,
accounts: [process.env.OFT_PRIVATE_KEY],
gasPrice: 10000000,
},
linea_oft_pre: {
url: process.env.API_KEY_URL_LINEA_MAINNET,
accounts: [process.env.OFT_PRIVATE_KEY_TEST],
gasPrice: 80000000,
},
linea_oft: {
url: process.env.API_KEY_URL_LINEA_MAINNET,
accounts: [process.env.OFT_PRIVATE_KEY],
gasPrice: 120000000,
},
}
};