-
Notifications
You must be signed in to change notification settings - Fork 21
/
truffle.js
91 lines (88 loc) · 2.09 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
const HDWalletProvider = require("truffle-hdwallet-provider");
module.exports = {
compilers: {
solc: {
version: "0.4.24"
}
},
networks: {
ropsten: {
provider: function() {
return new HDWalletProvider(
"", // Mnemonic
"", // Ethereum client, Infura etc.
0,
2
);
},
network_id: 3,
gas: 4712388,
gasPrice: 10000000000,
skipDryRun: true,
// Chainlink Configuration: LinkPool Ropsten Node
linkToken: "0x20fe562d797a42dcb3399062ae9546cd06f63280",
assetPriceJob: {
id: "740b88dd7d5347bfae116aa65a550ca9",
oracle: "0x83F00b902cbf06E316C95F51cbEeD9D2572a349a",
},
alphaVantageJob: {
id: "4f5bd067b34a45b0adae559105f3e6fc",
oracle: "0x83F00b902cbf06E316C95F51cbEeD9D2572a349a",
},
apiAggregatorJob: {
id: "becb68242def4f248faa84374d975d4a",
oracle: "0x83F00b902cbf06E316C95F51cbEeD9D2572a349a",
},
wolframAlphaJob: {
id: "bdb5a7393629426f8a944f0ccbe6442e",
oracle: "0x83F00b902cbf06E316C95F51cbEeD9D2572a349a",
},
rapidApiWeather: {
id: "73f03227e40e493f99abbc83e9b9da41",
oracle: "0x83F00b902cbf06E316C95F51cbEeD9D2572a349a",
},
httpGet: {
id: "c179a8180e034cf5a341488406c32827",
oracle: "0x83F00b902cbf06E316C95F51cbEeD9D2572a349a",
}
},
development: {
host: "localhost",
port: 8545,
network_id: "*",
gas: 6712390,
// Chainlink Configuration: Enter your local job ids and oracle addresses
linkToken: "",
assetPriceJob: {
id: "",
oracle: ""
},
alphaVantageJob: {
id: "",
oracle: ""
},
apiAggregatorJob: {
id: "",
oracle: ""
},
wolframAlphaJob: {
id: "",
oracle: "",
},
rapidApiWeather: {
id: "",
oracle: "",
},
httpGet: {
id: "",
oracle: "",
}
}
},
solc: {
optimizer: {
enabled: true,
runs: 200
}
}
};