-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathhardhat.config.js.save
53 lines (41 loc) · 953 Bytes
/
hardhat.config.js.save
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
/**
* @type import('hardhat/config').HardhatUserConfig
*/
// ethers plugin
require('@nomiclabs/hardhat-ethers');
// private key link
const { privateKey } = require('./secrets.json');
// etherscan plugin
require("@nomiclabs/hardhat-etherscan");
module.exports = {
solidity: {
version: "0.6.12",
settings: {
optimizer: {
enabled: true,
runs: 200,
},
},
},
networks: {
hardhat: {
throwOnTransactionFailures: true,
throwOnCallFailures: true,
allowUnlimitedContractSize: true,
blockGasLimit: 0x1fffffffffffff,
},
fuse: {
url: `https://rpc.fuse.io/`,
chainId: 122,
accounts: [privateKey]
},
ropsten: {
url: "https://eth-ropsten.alchemyapi.io/v2/u2Y8hHpPxYUvAeu4tynnAxE_6mz2V-bw",
accounts: [privateKey]
}
},
etherscan: {
apiKey:
};
require("@nomiclabs/hardhat-ethers");
XPQCZH3JU2Q8ZGK28GMIIPV5NMTRIXVQZW