-
Notifications
You must be signed in to change notification settings - Fork 4
/
hardhat.config.js
50 lines (48 loc) · 1.02 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
require('dotenv').config()
require("hardhat-tracer");
require("@nomiclabs/hardhat-waffle");
require("hardhat-gas-reporter");
require('@openzeppelin/hardhat-upgrades');
/**
* @type import('hardhat/config').HardhatUserConfig
*/
module.exports = {
gasReporter: {
enabled:false
},
defaultNetwork: "hardhat",
networks: {
hardhat: {
},
testnet: {
url: "https://data-seed-prebsc-1-s1.binance.org:8545",
accounts: [process.env.BSC_TESTNET_PRIVATE_KEY],
},
opbnbtestnet: {
url: "https://opbnb-testnet-rpc.bnbchain.org",
accounts: [process.env.BSC_TESTNET_PRIVATE_KEY],
},
abtestnet: {
url: "https://goerli-rollup.arbitrum.io/rpc",
accounts:[process.env.BSC_TESTNET_PRIVATE_KEY]
}
},
solidity: {
version: "0.8.9",
settings: {
optimizer: {
enabled: true,
runs: 200
}
}
},
paths: {
sources: "./contracts/8",
tests: "./test",
cache: "./cache",
artifacts: "./artifacts"
},
mocha: {
timeout: 40000
}
}