forked from rocket-pool/rocketpool
-
Notifications
You must be signed in to change notification settings - Fork 0
/
truffle.js
73 lines (70 loc) · 1.42 KB
/
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
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
/**
Rocket Pool
@author David Rugendyke
@email [email protected]
@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,
},
// Workshop network
'workshop': {
host: "127.0.0.1",
port: 8545,
network_id: "88",
from: "0x9ad8fd4c83b752914a9b22484686666d9a30619c",
gas: 8000000,
},
// Goerli testnet
'goerli': {
host: '127.0.0.1',
port: 8545,
network_id: '5',
gas: 8000000,
},
},
};