-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhardhat.config.js
56 lines (55 loc) · 1.46 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
/** @type import('hardhat/config').HardhatUserConfig */
var secret = require("./secret");
require("@nomiclabs/hardhat-ethers");
require('@nomiclabs/hardhat-etherscan');
require('hardhat-deploy');
module.exports = {
etherscan: {
apiKey: {
polygon: secret.POLYGON_SCAN_KEY,
avalanche: secret.SNOWTRACE_KEY,
opera: secret.FTM_SCAN_KEY,
optimisticEthereum: secret.OP_SCAN_KEY,
mainnet: secret.ETHER_SCAN_API_KEY
}
},
networks: {
mainnet: {
// truffle deploy --network eth
url: `https://mainnet.infura.io/v3/00e69497300347a38e75c3287621cb16`,
accounts: [secret.MMENOMIC],
},
goerli: {
// truffle deploy --network eth
url: `https://goerli.infura.io/v3/00e69497300347a38e75c3287621cb16`,
accounts: [secret.MMENOMIC],
},
sepolia: {
url: `https://sepolia.infura.io/v3/00e69497300347a38e75c3287621cb16`,
accounts: [secret.MMENOMIC],
},
glq: {
// truffle deploy --network fantom
url: `https://glq-dataseed.graphlinq.io`,
accounts: [secret.MMENOMIC],
gasPrice: 100000000000000,
gasLimit: 100000000000000000000
},
localglq: {
// truffle deploy --network fantom
url: `http://localhost:8545`,
accounts: [secret.MMENOMIC],
gasPrice: 100000000000000,
gasLimit: 100000000000000000000
}
},
solidity: {
version: "0.8.9",
settings: {
optimizer: {
enabled: true,
runs: 10000
}
}
}
};