forked from cVault-finance/CORE-v1
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtruffle.js
38 lines (36 loc) · 1012 Bytes
/
truffle.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
//require('dotenv') config();
const HDWalletProvider = require("@truffle/hdwallet-provider");
const Web3 = require("web3");
console.log(INFURA_APIKEY);
module.exports = {
networks: {
kovan: {
provider: function() {
new HDWalletProvider(MNEMONIC = "oval merit shop cancel unlock aerobic border survey series sniff cricket return",
`https://kovan.infura.io/d1e42319efe449c5b2a63687b8708991`
)
},
network_id: 42,
gas: 4600000,
},
mainnet: {
provider: mainnetProvider,
network_id: 1,
gas: 9999999,
gasPrice: 100000000000
}
},
compilers: {
solc: {
version: "0.6.12",
docker: false,
settings: {
optimizer: {
enabled: true,
runs: 200
},
evmVersion: "byzantium"
}
}
}
};