-
Notifications
You must be signed in to change notification settings - Fork 1
/
truffle.js
29 lines (26 loc) · 851 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
// truffle.js
var HDWalletProvider = require("truffle-hdwallet-provider");
var mnemonic = "candy maple cake sugar pudding cream honey rich smooth crumble sweet treat";
var networkEndpoint = "http://eth5kzzgs-dns-reg1.westus.cloudapp.azure.com:8540";
// var mnemonic = process.env.deploymentMnemonic;
// var networkEndpoint = process.env.deploymentNetworkEndpoint;
module.exports = {
// See <http://truffleframework.com/docs/advanced/configuration>
// to customize your Truffle configuration!
// truffle.js - specify mocha output options
mocha: {
reporter: "mocha-junit-reporter",
reporterOptions: {
mochaFile: 'TEST-truffle.xml'
}
},
networks: {
azure: {
provider: function () {
return new HDWalletProvider(mnemonic, networkEndpoint, 0)
},
gasPrice: 0,
network_id: "*"
}
}
};