forked from rocket-pool/rocketpool
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtruffle.js
More file actions
58 lines (55 loc) · 1.09 KB
/
Copy pathtruffle.js
File metadata and controls
58 lines (55 loc) · 1.09 KB
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
/**
Rocket Pool
@author David Rugendyke
@email david@rocketpool.net
@version 0.2
*/
const Web3 = require('web3');
const FS = require('fs');
const Contract = require('truffle-contract');
// Importing babel to be able to use ES6 imports
require("babel-register")({
presets: [
["env", {
"targets" : {
"node" : "8.0"
}
}]
],
retainLines: true,
});
require("babel-polyfill");
module.exports = {
web3: Web3,
fs: FS,
contract: Contract,
compilers: {
solc: {
version: "0.5.8",
}
},
networks: {
development: {
host: '127.0.0.1',
port: 8545,
network_id: '*', // Match any network id
gas: 8000000,
},
// Solidity coverage test
coverage: {
host: '127.0.0.1',
port: 8555,
network_id: '*', // Match any network id
gas: 0xfffffffffff,
gasPrice: 0x01,
},
// Geth RP Testnet Development
'betatest': {
host: "127.0.0.1",
port: 8999,
network_id: "77",
from: "0x2f6812e7005c61835B12544EEb45958099eF45f4",
gas: 8000000,
},
},
};