-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtruffle-config.js
36 lines (31 loc) · 992 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
const path = require("path");
const HDWalletProvider = require("truffle-hdwallet-provider");
const initializedProvider = new HDWalletProvider(
"scissors theory lamp bone stand lucky crop cool place lock year urge",
"https://rinkeby.infura.io/v3/c38093a8292d46fd9b80eb285f63ab93",
);
initializedProvider.engine.start();
module.exports = {
// See <http://truffleframework.com/docs/advanced/configuration>
// to customize your Truffle configuration!
networks:{
development: {
host: "127.0.0.1", // Localhost (default: none)
port: 8545, // Standard Ethereum port (default: none)
network_id: "*", // Any network (default: none)
gas: 40000000
},
rinkeby: {
provider: initializedProvider,
network_id: 4,
gas : 6700000,
}
},
solc: {
optimizer: {
enabled: true,
runs: 200
}
},
contracts_build_directory: path.join(__dirname, "client/src/contracts")
};