-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtruffle-config.js
37 lines (36 loc) · 967 Bytes
/
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 mnemonic =
"tilt anxiety eager smile output range casino lab coffee journey loyal core";
module.exports = {
networks: {
development: {
host: "127.0.0.1",
port: 7545,
network_id: "*", // Match any network id
},
ropsten: {
provider: function () {
return new HDWalletProvider(
mnemonic,
"https://ropsten.infura.io/v3/241f03331919423cba6145c7a2bcc61a",
);
},
// from: "0xB94853CD3d617B1294DA4Dd6000a98E5D047FAf7",
// gas: "6500000",
// gasPrice: "10000000000",
networkCheckTimeout: 10000,
network_id: "3",
},
},
solc: {
optimizer: {
enabled: true,
runs: 200,
},
},
compilers: {
solc: {
version: "^0.8.7",
},
},
};