-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtruffle.js
More file actions
34 lines (33 loc) · 1017 Bytes
/
Copy pathtruffle.js
File metadata and controls
34 lines (33 loc) · 1017 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
const path = require('path')
const HDWalletProvider = require('truffle-hdwallet-provider')
const mnemonic = "use your own test account here!!!!";
module.exports = {
contracts_build_directory: path.join(__dirname, "client/src/contracts"),
networks: {
development: {
host: "127.0.0.1",
port: 6622,
network_id: "*" // Match any network id
},
origo: {
provider: function() {
return new HDWalletProvider(mnemonic, "https://rpc.medietas.origo.network")
// return new HDWalletProvider(mnemonic, "http://127.0.0.1:6622")
// return new HDWalletProvider(mnemonic, "http://127.0.0.1:7545")
},
// provider: function() {
// return new HDWalletProvider(mnemonic, "http://127.0.0.1:7545")
// },
network_id: "*", // Match any network id
gas: 3000000
}
},
// compilers: {
// solc: {
// version: "0.5.0",
// settings: {
// evmVersion: "byzantium" // Default: "petersburg"
// }
// }
// }
};