forked from BeltFi/belt-contract
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtruffle-config.js
37 lines (34 loc) · 1.04 KB
/
truffle-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
const HDWalletProvider = require('truffle-hdwallet-provider');
const privateKey = "";
module.exports = {
contracts_directory: "./contracts",
compilers: {
solc: {
version: "0.6.12",
settings: {
optimizer: {
enabled: true,
runs: 200 // Optimize for how many times you intend to run the code
}
//,evmVersion: <string> // Default: "istanbul"
},
}
},
networks: {
testnet: {
provider: () => new HDWalletProvider(privateKey, `https://data-seed-prebsc-2-s1.binance.org:8545`),
network_id: 97,
confirmations: 3,
timeoutBlocks: 200,
skipDryRun: true
},
mainnet: {
provider: () => new HDWalletProvider(privateKey, `https://bsc-dataseed.binance.org`),
network_id: 56,
gasPrice: 5000000000,
confirmations: 3,
timeoutBlocks: 200,
skipDryRun: true,
}
}
};