@pioneer-platform/nodes 8.1.17 → 8.1.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.d.ts +1 -14
- package/lib/index.js +7 -55
- package/lib/seeds.d.ts +55 -0
- package/lib/seeds.js +425 -0
- package/package.json +5 -5
package/lib/index.d.ts
CHANGED
@@ -1,14 +1 @@
|
|
1
|
-
|
2
|
-
declare const log: any;
|
3
|
-
declare let TIER_ONE_SEED: {
|
4
|
-
COSMOS: {
|
5
|
-
GAIAD: string;
|
6
|
-
};
|
7
|
-
};
|
8
|
-
declare let CURRENT_CONTEXT_NODE_MAP: {
|
9
|
-
COSMOS: {
|
10
|
-
GAIAD: string;
|
11
|
-
};
|
12
|
-
};
|
13
|
-
declare const get_node: (network: string, serviceId: string) => any;
|
14
|
-
declare const init_nodes: (type: string, config: any, isTestnet: boolean) => Promise<boolean>;
|
1
|
+
export {};
|
package/lib/index.js
CHANGED
@@ -29,7 +29,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
29
29
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
30
30
|
function step(op) {
|
31
31
|
if (f) throw new TypeError("Generator is already executing.");
|
32
|
-
while (_) try {
|
32
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
33
33
|
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
34
34
|
if (y = 0, t) op = [op[0] & 2, t.value];
|
35
35
|
switch (op[0]) {
|
@@ -50,61 +50,10 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
50
50
|
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
51
51
|
}
|
52
52
|
};
|
53
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
53
54
|
var TAG = " | Pioneer Nodes | ";
|
54
55
|
var log = require('@pioneer-platform/loggerdog')();
|
55
|
-
|
56
|
-
//
|
57
|
-
/*
|
58
|
-
"rpc":"https://rpc-cosmoshub.keplr.app",
|
59
|
-
"rpcConfig":void 0,
|
60
|
-
"rest":"https://lcd-cosmoshub.keplr.app",
|
61
|
-
|
62
|
-
"rpc":"https://rpc-kava.keplr.app",
|
63
|
-
"rpcConfig":void 0,
|
64
|
-
"rest":"https://lcd-kava.keplr.app",
|
65
|
-
|
66
|
-
|
67
|
-
"rpc":"https://rpc-secret.keplr.app",
|
68
|
-
"rpcConfig":void 0,
|
69
|
-
"rest":"https://lcd-secret.keplr.app",
|
70
|
-
|
71
|
-
"rpc":"https://rpc-akash.keplr.app",
|
72
|
-
"rpcConfig":void 0,
|
73
|
-
"rest":"https://lcd-akash.keplr.app",
|
74
|
-
|
75
|
-
"rpc":"https://rpc-iov.keplr.app",
|
76
|
-
"rpcConfig":void 0,
|
77
|
-
"rest":"https://lcd-iov.keplr.app",
|
78
|
-
|
79
|
-
"rpc":"https://rpc-sifchain.keplr.app",
|
80
|
-
"rpcConfig":void 0,
|
81
|
-
"rest":"https://lcd-sifchain.keplr.app",
|
82
|
-
|
83
|
-
"rpc":"https://rpc-certik.keplr.app",
|
84
|
-
"rpcConfig":void 0,
|
85
|
-
"rest":"https://lcd-certik.keplr.app",
|
86
|
-
|
87
|
-
"rpc":"https://rpc-iris.keplr.app",
|
88
|
-
"rpcConfig":void 0,
|
89
|
-
"rest":"https://lcd-iris.keplr.app",
|
90
|
-
|
91
|
-
"rpc":"https://rpc-cyber.keplr.app",
|
92
|
-
"rpcConfig":void 0,
|
93
|
-
"rest":"https://lcd-cyber.keplr.app",
|
94
|
-
|
95
|
-
"rpc":"https://rpc-straightedge.keplr.app",
|
96
|
-
"rpcConfig":void 0,
|
97
|
-
"rest":"https://lcd-straightedge.keplr.app",
|
98
|
-
*/
|
99
|
-
var TIER_ONE_SEED = {
|
100
|
-
"COSMOS": {
|
101
|
-
"GAIAD": "https://lcd-cosmoshub.keplr.app"
|
102
|
-
//"GAIAD":"https://45.79.249.253"
|
103
|
-
// "GAIAD":"https://3.87.179.235:26656"
|
104
|
-
}
|
105
|
-
};
|
106
|
-
//TODO dynamic context setting based on health
|
107
|
-
var CURRENT_CONTEXT_NODE_MAP = TIER_ONE_SEED;
|
56
|
+
var seeds_1 = require("./seeds");
|
108
57
|
module.exports = {
|
109
58
|
init: function (type, config, isTestnet) {
|
110
59
|
return init_nodes(type, config, isTestnet);
|
@@ -112,12 +61,15 @@ module.exports = {
|
|
112
61
|
getNode: function (network, serviceId) {
|
113
62
|
return get_node(network, serviceId);
|
114
63
|
},
|
64
|
+
getBlockbooks: function () {
|
65
|
+
return seeds_1.blockbooks;
|
66
|
+
}
|
115
67
|
};
|
116
68
|
var get_node = function (network, serviceId) {
|
117
69
|
var tag = TAG + " | get_node | ";
|
118
70
|
try {
|
119
71
|
// @ts-ignore
|
120
|
-
return CURRENT_CONTEXT_NODE_MAP[network.toUpperCase()][serviceId.toUpperCase()];
|
72
|
+
return seeds_1.CURRENT_CONTEXT_NODE_MAP[network.toUpperCase()][serviceId.toUpperCase()];
|
121
73
|
}
|
122
74
|
catch (e) {
|
123
75
|
log.error(tag, "e: ", e);
|
package/lib/seeds.d.ts
CHANGED
@@ -0,0 +1,55 @@
|
|
1
|
+
export declare let TIER_ONE_SEED: {
|
2
|
+
COSMOS: {
|
3
|
+
GAIAD: string;
|
4
|
+
};
|
5
|
+
};
|
6
|
+
export declare let CURRENT_CONTEXT_NODE_MAP: {
|
7
|
+
COSMOS: {
|
8
|
+
GAIAD: string;
|
9
|
+
};
|
10
|
+
};
|
11
|
+
export declare const blockbooks: {
|
12
|
+
symbol: string;
|
13
|
+
blockchain: string;
|
14
|
+
caip: string;
|
15
|
+
type: string;
|
16
|
+
service: string;
|
17
|
+
websocket: string;
|
18
|
+
}[];
|
19
|
+
export declare const shapeshift: ({
|
20
|
+
key: string;
|
21
|
+
value: string;
|
22
|
+
swagger: string;
|
23
|
+
network: string;
|
24
|
+
protocol: string;
|
25
|
+
type: string;
|
26
|
+
nodeType?: undefined;
|
27
|
+
service?: undefined;
|
28
|
+
} | {
|
29
|
+
key: string;
|
30
|
+
value: string;
|
31
|
+
network: string;
|
32
|
+
protocol: string;
|
33
|
+
type: string;
|
34
|
+
swagger?: undefined;
|
35
|
+
nodeType?: undefined;
|
36
|
+
service?: undefined;
|
37
|
+
} | {
|
38
|
+
key: string;
|
39
|
+
value: string;
|
40
|
+
network: string;
|
41
|
+
nodeType: string;
|
42
|
+
type: string;
|
43
|
+
swagger?: undefined;
|
44
|
+
protocol?: undefined;
|
45
|
+
service?: undefined;
|
46
|
+
} | {
|
47
|
+
key: string;
|
48
|
+
value: string;
|
49
|
+
network: string;
|
50
|
+
service: string;
|
51
|
+
type: string;
|
52
|
+
swagger?: undefined;
|
53
|
+
protocol?: undefined;
|
54
|
+
nodeType?: undefined;
|
55
|
+
})[];
|
package/lib/seeds.js
CHANGED
@@ -1 +1,426 @@
|
|
1
1
|
"use strict";
|
2
|
+
/*
|
3
|
+
Pioneer Node Defaults:
|
4
|
+
|
5
|
+
Add your node here!
|
6
|
+
|
7
|
+
*/
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
9
|
+
exports.shapeshift = exports.blockbooks = exports.CURRENT_CONTEXT_NODE_MAP = exports.TIER_ONE_SEED = void 0;
|
10
|
+
//
|
11
|
+
/*
|
12
|
+
"rpc":"https://rpc-cosmoshub.keplr.app",
|
13
|
+
"rpcConfig":void 0,
|
14
|
+
"rest":"https://lcd-cosmoshub.keplr.app",
|
15
|
+
|
16
|
+
"rpc":"https://rpc-kava.keplr.app",
|
17
|
+
"rpcConfig":void 0,
|
18
|
+
"rest":"https://lcd-kava.keplr.app",
|
19
|
+
|
20
|
+
|
21
|
+
"rpc":"https://rpc-secret.keplr.app",
|
22
|
+
"rpcConfig":void 0,
|
23
|
+
"rest":"https://lcd-secret.keplr.app",
|
24
|
+
|
25
|
+
"rpc":"https://rpc-akash.keplr.app",
|
26
|
+
"rpcConfig":void 0,
|
27
|
+
"rest":"https://lcd-akash.keplr.app",
|
28
|
+
|
29
|
+
"rpc":"https://rpc-iov.keplr.app",
|
30
|
+
"rpcConfig":void 0,
|
31
|
+
"rest":"https://lcd-iov.keplr.app",
|
32
|
+
|
33
|
+
"rpc":"https://rpc-sifchain.keplr.app",
|
34
|
+
"rpcConfig":void 0,
|
35
|
+
"rest":"https://lcd-sifchain.keplr.app",
|
36
|
+
|
37
|
+
"rpc":"https://rpc-certik.keplr.app",
|
38
|
+
"rpcConfig":void 0,
|
39
|
+
"rest":"https://lcd-certik.keplr.app",
|
40
|
+
|
41
|
+
"rpc":"https://rpc-iris.keplr.app",
|
42
|
+
"rpcConfig":void 0,
|
43
|
+
"rest":"https://lcd-iris.keplr.app",
|
44
|
+
|
45
|
+
"rpc":"https://rpc-cyber.keplr.app",
|
46
|
+
"rpcConfig":void 0,
|
47
|
+
"rest":"https://lcd-cyber.keplr.app",
|
48
|
+
|
49
|
+
"rpc":"https://rpc-straightedge.keplr.app",
|
50
|
+
"rpcConfig":void 0,
|
51
|
+
"rest":"https://lcd-straightedge.keplr.app",
|
52
|
+
*/
|
53
|
+
exports.TIER_ONE_SEED = {
|
54
|
+
"COSMOS": {
|
55
|
+
"GAIAD": "https://lcd-cosmoshub.keplr.app"
|
56
|
+
//"GAIAD":"https://45.79.249.253"
|
57
|
+
// "GAIAD":"https://3.87.179.235:26656"
|
58
|
+
}
|
59
|
+
};
|
60
|
+
//TODO dynamic context setting based on health
|
61
|
+
exports.CURRENT_CONTEXT_NODE_MAP = exports.TIER_ONE_SEED;
|
62
|
+
exports.blockbooks = [
|
63
|
+
{
|
64
|
+
symbol: "MATIC",
|
65
|
+
blockchain: "polygon",
|
66
|
+
caip: "eip155:137/slip44:60",
|
67
|
+
type: "blockbook",
|
68
|
+
service: "https://indexer.polygon.shapeshift.com",
|
69
|
+
websocket: "wss://indexer.polygon.shapeshift.com/websocket"
|
70
|
+
},
|
71
|
+
{
|
72
|
+
symbol: "ETH",
|
73
|
+
blockchain: "optimism",
|
74
|
+
caip: "eip155:10/slip44:60",
|
75
|
+
type: "blockbook",
|
76
|
+
service: "https://indexer.optimism.shapeshift.com",
|
77
|
+
websocket: "wss://indexer.optimism.shapeshift.com/websocket"
|
78
|
+
},
|
79
|
+
{
|
80
|
+
symbol: "LTC",
|
81
|
+
blockchain: "litecoin",
|
82
|
+
caip: "bip122:12a765e31ffd4059bada1e25190f6e98/slip44:2",
|
83
|
+
type: "blockbook",
|
84
|
+
service: "https://indexer.litecoin.shapeshift.com",
|
85
|
+
websocket: "wss://indexer.litecoin.shapeshift.com/websocket"
|
86
|
+
},
|
87
|
+
{
|
88
|
+
symbol: "xDAI",
|
89
|
+
blockchain: "gnosis",
|
90
|
+
caip: "eip155:100/slip44:60",
|
91
|
+
type: "blockbook",
|
92
|
+
service: "https://indexer.gnosis.shapeshift.com",
|
93
|
+
websocket: "wss://indexer.gnosis.shapeshift.com/websocket"
|
94
|
+
},
|
95
|
+
{
|
96
|
+
symbol: "ETH",
|
97
|
+
blockchain: "ethereum",
|
98
|
+
caip: "eip155:1/slip44:60",
|
99
|
+
type: "blockbook",
|
100
|
+
service: "https://indexer.ethereum.shapeshift.com",
|
101
|
+
websocket: "wss://indexer.ethereum.shapeshift.com/websocket"
|
102
|
+
},
|
103
|
+
{
|
104
|
+
symbol: "DOGE",
|
105
|
+
blockchain: "dogecoin",
|
106
|
+
caip: "bip122:00000000001a91e3dace36e2be3bf030/slip44:3",
|
107
|
+
type: "blockbook",
|
108
|
+
service: "https://indexer.dogecoin.shapeshift.com",
|
109
|
+
websocket: "wss://indexer.dogecoin.shapeshift.com/websocket"
|
110
|
+
},
|
111
|
+
{
|
112
|
+
symbol: "BNB",
|
113
|
+
blockchain: "bnbsmartchain",
|
114
|
+
caip: "eip155:56/slip44:60",
|
115
|
+
type: "blockbook",
|
116
|
+
service: "https://indexer.bnbsmartchain.shapeshift.com",
|
117
|
+
websocket: "wss://indexer.bnbsmartchain.shapeshift.com/websocket"
|
118
|
+
},
|
119
|
+
{
|
120
|
+
symbol: "BCH",
|
121
|
+
blockchain: "bitcoincash",
|
122
|
+
caip: "bip122:000000000000000000651ef99cb9fcbe/slip44:145",
|
123
|
+
type: "blockbook",
|
124
|
+
service: "https://indexer.bitcoincash.shapeshift.com",
|
125
|
+
websocket: "wss://indexer.bitcoincash.shapeshift.com/websocket"
|
126
|
+
},
|
127
|
+
{
|
128
|
+
symbol: "BTC",
|
129
|
+
blockchain: "bitcoin",
|
130
|
+
caip: "bip122:000000000019d6689c085ae165831e93/slip44:0",
|
131
|
+
type: "blockbook",
|
132
|
+
service: "https://indexer.bitcoin.shapeshift.com",
|
133
|
+
websocket: "wss://indexer.bitcoin.shapeshift.com/websocket"
|
134
|
+
},
|
135
|
+
{
|
136
|
+
symbol: "AVAX",
|
137
|
+
blockchain: "avalanche",
|
138
|
+
caip: "eip155:43114/slip44:60",
|
139
|
+
type: "blockbook",
|
140
|
+
service: "https://indexer.avalanche.shapeshift.com",
|
141
|
+
websocket: "wss://indexer.avalanche.shapeshift.com/websocket"
|
142
|
+
},
|
143
|
+
{
|
144
|
+
symbol: "AVAX",
|
145
|
+
blockchain: "avalanche",
|
146
|
+
caip: "eip155:43114/slip44:60",
|
147
|
+
type: "blockbook",
|
148
|
+
service: "https://indexer.avalanche.shapeshift.com",
|
149
|
+
websocket: "wss://indexer.avalanche.shapeshift.com/websocket"
|
150
|
+
}
|
151
|
+
];
|
152
|
+
exports.shapeshift = [
|
153
|
+
{
|
154
|
+
key: "REACT_APP_UNCHAINED_ETHEREUM_HTTP_URL",
|
155
|
+
value: "https://api.ethereum.shapeshift.com",
|
156
|
+
swagger: "https://api.osmosis.shapeshift.com/swagger.json",
|
157
|
+
network: "ethereum",
|
158
|
+
protocol: "http",
|
159
|
+
type: "unchained"
|
160
|
+
},
|
161
|
+
{
|
162
|
+
key: "REACT_APP_UNCHAINED_ETHEREUM_WS_URL",
|
163
|
+
value: "wss://api.ethereum.shapeshift.com",
|
164
|
+
network: "ethereum",
|
165
|
+
protocol: "websocket",
|
166
|
+
type: "unchained"
|
167
|
+
},
|
168
|
+
{
|
169
|
+
key: "REACT_APP_UNCHAINED_AVALANCHE_HTTP_URL",
|
170
|
+
value: "https://api.avalanche.shapeshift.com",
|
171
|
+
swagger: "https://api.osmosis.shapeshift.com/swagger.json",
|
172
|
+
network: "avalanche",
|
173
|
+
protocol: "http",
|
174
|
+
type: "unchained"
|
175
|
+
},
|
176
|
+
{
|
177
|
+
key: "REACT_APP_UNCHAINED_AVALANCHE_WS_URL",
|
178
|
+
value: "wss://api.avalanche.shapeshift.com",
|
179
|
+
network: "avalanche",
|
180
|
+
protocol: "websocket",
|
181
|
+
type: "unchained"
|
182
|
+
},
|
183
|
+
{
|
184
|
+
key: "REACT_APP_UNCHAINED_OPTIMISM_HTTP_URL",
|
185
|
+
value: "https://api.optimism.shapeshift.com",
|
186
|
+
swagger: "https://api.osmosis.shapeshift.com/swagger.json",
|
187
|
+
network: "optimism",
|
188
|
+
protocol: "http",
|
189
|
+
type: "unchained"
|
190
|
+
},
|
191
|
+
{
|
192
|
+
key: "REACT_APP_UNCHAINED_OPTIMISM_WS_URL",
|
193
|
+
value: "wss://api.optimism.shapeshift.com",
|
194
|
+
network: "optimism",
|
195
|
+
protocol: "websocket",
|
196
|
+
type: "unchained"
|
197
|
+
},
|
198
|
+
{
|
199
|
+
key: "REACT_APP_UNCHAINED_BNBSMARTCHAIN_HTTP_URL",
|
200
|
+
value: "https://api.bnbsmartchain.shapeshift.com",
|
201
|
+
swagger: "https://api.osmosis.shapeshift.com/swagger",
|
202
|
+
network: "bnbsmartchain",
|
203
|
+
protocol: "http",
|
204
|
+
type: "unchained"
|
205
|
+
},
|
206
|
+
{
|
207
|
+
key: "REACT_APP_UNCHAINED_BNBSMARTCHAIN_WS_URL",
|
208
|
+
value: "wss://api.bnbsmartchain.shapeshift.com",
|
209
|
+
network: "bnbsmartchain",
|
210
|
+
protocol: "websocket",
|
211
|
+
type: "unchained"
|
212
|
+
},
|
213
|
+
{
|
214
|
+
key: "REACT_APP_UNCHAINED_POLYGON_HTTP_URL",
|
215
|
+
value: "https://dev-api.polygon.shapeshift.com",
|
216
|
+
swagger: "https://dev-api.polygon.shapeshift.com/swagger.json",
|
217
|
+
network: "polygon",
|
218
|
+
protocol: "http",
|
219
|
+
type: "unchained"
|
220
|
+
},
|
221
|
+
{
|
222
|
+
key: "REACT_APP_UNCHAINED_POLYGON_WS_URL",
|
223
|
+
value: "wss://dev-api.polygon.shapeshift.com",
|
224
|
+
network: "polygon",
|
225
|
+
protocol: "websocket",
|
226
|
+
type: "unchained"
|
227
|
+
},
|
228
|
+
{
|
229
|
+
key: "REACT_APP_UNCHAINED_GNOSIS_HTTP_URL",
|
230
|
+
value: "https://api.gnosis.shapeshift.com",
|
231
|
+
swagger: "https://api.gnosis.shapeshift.com/swagger.json",
|
232
|
+
network: "gnosis",
|
233
|
+
protocol: "http",
|
234
|
+
type: "unchained"
|
235
|
+
},
|
236
|
+
{
|
237
|
+
key: "REACT_APP_UNCHAINED_GNOSIS_WS_URL",
|
238
|
+
value: "wss://api.gnosis.shapeshift.com",
|
239
|
+
network: "gnosis",
|
240
|
+
protocol: "websocket",
|
241
|
+
type: "unchained"
|
242
|
+
},
|
243
|
+
{
|
244
|
+
key: "REACT_APP_UNCHAINED_BITCOIN_HTTP_URL",
|
245
|
+
value: "https://api.bitcoin.shapeshift.com",
|
246
|
+
swagger: "https://api.bitcoin.shapeshift.com/swagger.json",
|
247
|
+
network: "bitcoin",
|
248
|
+
protocol: "http",
|
249
|
+
type: "unchained"
|
250
|
+
},
|
251
|
+
{
|
252
|
+
key: "REACT_APP_UNCHAINED_BITCOIN_WS_URL",
|
253
|
+
value: "wss://api.bitcoin.shapeshift.com",
|
254
|
+
network: "bitcoin",
|
255
|
+
protocol: "websocket",
|
256
|
+
type: "unchained"
|
257
|
+
},
|
258
|
+
{
|
259
|
+
key: "REACT_APP_UNCHAINED_DOGECOIN_WS_URL",
|
260
|
+
value: "wss://api.dogecoin.shapeshift.com",
|
261
|
+
network: "dogecoin",
|
262
|
+
protocol: "websocket",
|
263
|
+
type: "unchained"
|
264
|
+
},
|
265
|
+
{
|
266
|
+
key: "REACT_APP_UNCHAINED_DOGECOIN_HTTP_URL",
|
267
|
+
value: "https://api.dogecoin.shapeshift.com",
|
268
|
+
swagger: "https://api.dogecoin.shapeshift.com/swagger.json",
|
269
|
+
network: "dogecoin",
|
270
|
+
protocol: "http",
|
271
|
+
type: "unchained"
|
272
|
+
},
|
273
|
+
{
|
274
|
+
key: "REACT_APP_UNCHAINED_LITECOIN_WS_URL",
|
275
|
+
value: "wss://api.litecoin.shapeshift.com",
|
276
|
+
network: "litecoin",
|
277
|
+
protocol: "websocket",
|
278
|
+
type: "unchained"
|
279
|
+
},
|
280
|
+
{
|
281
|
+
key: "REACT_APP_UNCHAINED_LITECOIN_HTTP_URL",
|
282
|
+
value: "https://api.litecoin.shapeshift.com",
|
283
|
+
swagger: "https://api.litecoin.shapeshift.com/swagger.json",
|
284
|
+
network: "litecoin",
|
285
|
+
protocol: "http",
|
286
|
+
type: "unchained"
|
287
|
+
},
|
288
|
+
{
|
289
|
+
key: "REACT_APP_UNCHAINED_BITCOINCASH_HTTP_URL",
|
290
|
+
value: "https://api.bitcoincash.shapeshift.com",
|
291
|
+
swagger: "https://api.bitcoincash.shapeshift.com/swagger.json",
|
292
|
+
network: "bitcoincash",
|
293
|
+
protocol: "http",
|
294
|
+
type: "unchained"
|
295
|
+
},
|
296
|
+
{
|
297
|
+
key: "REACT_APP_UNCHAINED_BITCOINCASH_WS_URL",
|
298
|
+
value: "wss://api.bitcoincash.shapeshift.com",
|
299
|
+
network: "bitcoincash",
|
300
|
+
protocol: "websocket",
|
301
|
+
type: "unchained"
|
302
|
+
},
|
303
|
+
{
|
304
|
+
key: "REACT_APP_UNCHAINED_COSMOS_HTTP_URL",
|
305
|
+
value: "https://api.cosmos.shapeshift.com",
|
306
|
+
swagger: "https://api.cosmos.shapeshift.com/swagger",
|
307
|
+
network: "cosmos",
|
308
|
+
protocol: "http",
|
309
|
+
type: "unchained"
|
310
|
+
},
|
311
|
+
{
|
312
|
+
key: "REACT_APP_UNCHAINED_COSMOS_WS_URL",
|
313
|
+
value: "wss://api.cosmos.shapeshift.com",
|
314
|
+
network: "cosmos",
|
315
|
+
protocol: "websocket",
|
316
|
+
type: "unchained"
|
317
|
+
},
|
318
|
+
{
|
319
|
+
key: "REACT_APP_UNCHAINED_OSMOSIS_HTTP_URL",
|
320
|
+
value: "https://api.osmosis.shapeshift.com",
|
321
|
+
swagger: "https://api.osmosis.shapeshift.com/swagger",
|
322
|
+
network: "osmosis",
|
323
|
+
protocol: "http",
|
324
|
+
type: "unchained"
|
325
|
+
},
|
326
|
+
{
|
327
|
+
key: "REACT_APP_UNCHAINED_OSMOSIS_WS_URL",
|
328
|
+
value: "wss://api.osmosis.shapeshift.com",
|
329
|
+
network: "osmosis",
|
330
|
+
protocol: "websocket",
|
331
|
+
type: "unchained"
|
332
|
+
},
|
333
|
+
{
|
334
|
+
key: "REACT_APP_UNCHAINED_THORCHAIN_HTTP_URL",
|
335
|
+
value: "https://api.thorchain.shapeshift.com",
|
336
|
+
swagger: "https://api.thorchain.shapeshift.com/swagger",
|
337
|
+
network: "thorchain",
|
338
|
+
protocol: "http",
|
339
|
+
type: "unchained"
|
340
|
+
},
|
341
|
+
{
|
342
|
+
key: "REACT_APP_UNCHAINED_THORCHAIN_WS_URL",
|
343
|
+
value: "wss://api.thorchain.shapeshift.com",
|
344
|
+
network: "thorchain",
|
345
|
+
protocol: "websocket",
|
346
|
+
type: "unchained"
|
347
|
+
},
|
348
|
+
{
|
349
|
+
key: "REACT_APP_ETHEREUM_NODE_URL",
|
350
|
+
value: "https://daemon.ethereum.shapeshift.com",
|
351
|
+
network: "ethereum",
|
352
|
+
nodeType: "eth-node",
|
353
|
+
type: "daemon"
|
354
|
+
},
|
355
|
+
{
|
356
|
+
key: "REACT_APP_ETHEREUM_INFURA_URL",
|
357
|
+
value: "https://mainnet.infura.io/v3/6e2f28ff4f5340fdb0db5da3baec0af2",
|
358
|
+
network: "ethereum",
|
359
|
+
nodeType: "infura",
|
360
|
+
type: "unchained"
|
361
|
+
},
|
362
|
+
{
|
363
|
+
key: "REACT_APP_AVALANCHE_NODE_URL",
|
364
|
+
value: "https://daemon.avalanche.shapeshift.com/ext/bc/C/rpc",
|
365
|
+
network: "avalanche",
|
366
|
+
nodeType: "avalanche-node",
|
367
|
+
type: "daemon"
|
368
|
+
},
|
369
|
+
{
|
370
|
+
key: "REACT_APP_OPTIMISM_NODE_URL",
|
371
|
+
value: "https://daemon.optimism.shapeshift.com",
|
372
|
+
network: "optimism",
|
373
|
+
nodeType: "optimism-node",
|
374
|
+
type: "daemon"
|
375
|
+
},
|
376
|
+
{
|
377
|
+
key: "REACT_APP_BNBSMARTCHAIN_NODE_URL",
|
378
|
+
value: "https://daemon.bnbsmartchain.shapeshift.com",
|
379
|
+
network: "bnbsmartchain",
|
380
|
+
nodeType: "bnbsmartchain-node",
|
381
|
+
type: "daemon"
|
382
|
+
},
|
383
|
+
{
|
384
|
+
key: "REACT_APP_POLYGON_NODE_URL",
|
385
|
+
value: "https://dev-daemon.polygon.shapeshift.com",
|
386
|
+
network: "polygon",
|
387
|
+
nodeType: "polygon-node",
|
388
|
+
type: "daemon"
|
389
|
+
},
|
390
|
+
{
|
391
|
+
key: "REACT_APP_GNOSIS_NODE_URL",
|
392
|
+
value: "https://daemon.gnosis.shapeshift.com",
|
393
|
+
network: "gnosis",
|
394
|
+
nodeType: "gnosis-node",
|
395
|
+
type: "daemon"
|
396
|
+
},
|
397
|
+
{
|
398
|
+
key: "REACT_APP_COSMOS_NODE_URL",
|
399
|
+
value: "https://daemon.cosmos.shapeshift.com",
|
400
|
+
network: "cosmos",
|
401
|
+
nodeType: "cosmos-node",
|
402
|
+
type: "daemon"
|
403
|
+
},
|
404
|
+
{
|
405
|
+
key: "REACT_APP_OSMOSIS_NODE_URL",
|
406
|
+
value: "https://daemon.osmosis.shapeshift.com",
|
407
|
+
network: "osmosis",
|
408
|
+
nodeType: "osmosis-node",
|
409
|
+
type: "daemon"
|
410
|
+
},
|
411
|
+
{
|
412
|
+
key: "REACT_APP_THORCHAIN_NODE_URL",
|
413
|
+
value: "https://daemon.thorchain.shapeshift.com",
|
414
|
+
network: "thorchain",
|
415
|
+
nodeType: "thorchain-node",
|
416
|
+
type: "daemon"
|
417
|
+
},
|
418
|
+
{
|
419
|
+
key: "REACT_APP_MIDGARD_URL",
|
420
|
+
value: "https://indexer.thorchain.shapeshift.com/v2",
|
421
|
+
network: "thorchain",
|
422
|
+
service: "midgard",
|
423
|
+
type: "unchained"
|
424
|
+
},
|
425
|
+
//
|
426
|
+
];
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@pioneer-platform/nodes",
|
3
|
-
"version": "8.1.
|
3
|
+
"version": "8.1.23",
|
4
4
|
"main": "./lib/index.js",
|
5
5
|
"types": "./lib/index.d.ts",
|
6
6
|
"scripts": {
|
@@ -20,7 +20,7 @@
|
|
20
20
|
"clean": "rm -rf coverage src/**/*.js src/**/*.map lib node_modules"
|
21
21
|
},
|
22
22
|
"dependencies": {
|
23
|
-
"@pioneer-platform/loggerdog": "^8.1.
|
23
|
+
"@pioneer-platform/loggerdog": "^8.1.30",
|
24
24
|
"dotenv": "^8.2.0"
|
25
25
|
},
|
26
26
|
"devDependencies": {
|
@@ -31,8 +31,8 @@
|
|
31
31
|
"onchange": "^7.1.0",
|
32
32
|
"serve": "^11.3.2",
|
33
33
|
"source-map-support": "^0.5.19",
|
34
|
-
"ts-jest": "^
|
35
|
-
"typescript": "^
|
34
|
+
"ts-jest": "^29.0.5",
|
35
|
+
"typescript": "^5.0.2"
|
36
36
|
},
|
37
|
-
"gitHead": "
|
37
|
+
"gitHead": "a3cd70b076ea1593fd2ef33f8929527a35bcf845"
|
38
38
|
}
|