-
Notifications
You must be signed in to change notification settings - Fork 3
/
hardhat.config.js
90 lines (84 loc) · 2.56 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
require("@nomiclabs/hardhat-waffle");
require("@nomiclabs/hardhat-web3");
// var initHre = require("./hardhat/hardhat").initHre;
const INFURA_PROJECT_ID = "719d739434254b88ac95d53e2b6ac997";
/**
* @type import('hardhat/config').HardhatUserConfig
*
* */
module.exports = {
networks: {
hardhat: {
loggingEnabled: true,
allowUnlimitedContractSize: true
},
axon_test: {
url: 'http://127.0.0.1:8000',
accounts: {
mnemonic: "test test test test test test test test test test test junk",
path: "m/44'/60'/0'/0",
initialIndex: 0,
count: 20,
passphrase: "",
},
},
rinkeby: {
url: `https://rinkeby.infura.io/v3/${INFURA_PROJECT_ID}`,
accounts: {
mnemonic: "test test test test test test test test test test test junk",
path: "m/44'/60'/0'/0",
initialIndex: 0,
count: 20,
passphrase: "",
},
// gas: 1_000_000_000_000_001, // Infura seems to cap it at 19981536.
// gasPrice: 1
},
},
//bsc_test
// defaultNetwork:"axon_test",
// defaultNetwork: "gw_alphanet_v1", //gw_local_kit_net_v1 gw_testnet_v11
// defaultNetwork: "rinkeby",
// defaultNetwork: "gw_local_kit_net_v1",
solidity: {
compilers: [
{ // for polyjuice contracts
version: "0.6.6",
settings: {}
},
{version: "0.4.24"},
{version: "0.5.14"},
{version: "0.6.12"},
{version: "0.7.3"},
{version: "0.7.5"},
{version: "0.8.4"},
{version: "0.8.6"}
], overrides: {},
settings: {
optimizer: {
enabled: true,
runs: 2000
}
},
allowUnlimitedContractSize :true
},
mocha: {
/** Reporter name or constructor. */
reporter: "mochawesome"
// timeout: 5000000,
// /** Reporter settings object. */
// reporterOptions: {
// output: "test-results-1.json"
// },
// reporterOptions: {
// reportFilename: "[status]_[datetime]-[name]-report",
// timestamp: "longDate"
// }
// mochawesome:{
// reporterOptions: {
// reportFilename: "[status]_[datetime]-[name]-report",
// timestamp: "longDate"
// }
// }
}
};