-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhardhat.config.js
43 lines (41 loc) · 961 Bytes
/
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
/**
* @type import('hardhat/config').HardhatUserConfig
*/
require('hardhat-spdx-license-identifier')
require("@nomiclabs/hardhat-ethers")
require("@nomiclabs/hardhat-etherscan")
const mnemonic = process.env.MNEMONIC || 'test test test test test test test test test test test junk'
module.exports = {
networks: {
bscTestnet: {
url: 'https://data-seed-prebsc-2-s1.binance.org:8545',
chainId: 97,
gasPrice: 10000000000,
// accounts: {
// mnemonic: mnemonic,
// path: 'm/44\'/60\'/0\'/0',
// }
},
bscMainnet: {
url: "https://bsc-dataseed.binance.org/",
chainId: 56,
gasPrice: 5000000000,
}
},
solidity: {
version: '0.8.1',
settings: {
optimizer: {
enabled: true,
runs: 1000
}
}
},
etherscan: {
apiKey: "FFZ7W524USQ2MX3Q5SQH3D4ZAPH4NS613D",
},
spdxLicenseIdentifier: {
overwrite: true,
runOnCompile: false,
},
};