-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtruffle-config.js
More file actions
37 lines (32 loc) · 910 Bytes
/
truffle-config.js
File metadata and controls
37 lines (32 loc) · 910 Bytes
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 path = require("path");
// const fs = require('fs');
// const HDWalletProvider = require('@truffle/hdwallet-provider');
// const infuraKey = fs.readFileSync(".infura_key").toString().trim();
// const mnemonic = fs.readFileSync(".address_mnemonic").toString().trim();
module.exports = {
contracts_build_directory: path.join(__dirname, "client/src/contracts"),
networks: {
development: {
host: "127.0.0.1",
port: 8545,
network_id: "*",
},
// rinkeby: {
// provider: () => new HDWalletProvider(mnemonic, `https://rinkeby.infura.io/v3/${infuraKey}`),
// network_id: 4,
// gas: 5500000,
// confirmations: 2,
// timeoutBlocks: 200,
// skipDryRun: true,
// },
},
// Set default mocha options here, use special reporters etc.
mocha: {
// timeout: 100000
},
compilers: {
solc: {
version: "^0.6.0",
},
},
};