@pioneer-platform/nodes 8.3.17 → 8.4.0
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/CHANGELOG.md +12 -0
- package/lib/seeds.d.ts +36 -0
- package/lib/seeds.js +121 -20
- package/package.json +19 -19
package/CHANGELOG.md
ADDED
package/lib/seeds.d.ts
CHANGED
@@ -8,6 +8,34 @@ export declare let CURRENT_CONTEXT_NODE_MAP: {
|
|
8
8
|
GAIAD: string;
|
9
9
|
};
|
10
10
|
};
|
11
|
+
/**
|
12
|
+
* Blockbook Node Configuration
|
13
|
+
*
|
14
|
+
* MULTI-NODE COVERAGE (Consensus-ready chains with 2+ nodes):
|
15
|
+
* ✅ BTC: NowNodes + Zelcore (2 nodes)
|
16
|
+
* ✅ LTC: NowNodes + Zelcore (2 nodes)
|
17
|
+
* ✅ DOGE: NowNodes + Zelcore (2 nodes) - SUPPORTS UNCONFIRMED UTXOS!
|
18
|
+
* ✅ BCH: NowNodes + Zelcore (2 nodes)
|
19
|
+
* ✅ DASH: NowNodes + Zelcore (2 nodes)
|
20
|
+
* ✅ ZEC: NowNodes + Zelcore (2 nodes)
|
21
|
+
* ✅ RVN: Zelcore only (1 node - Zelcore exclusive)
|
22
|
+
* ✅ ETH: ShapeShift (1 node)
|
23
|
+
* ✅ xDAI: ShapeShift (1 node)
|
24
|
+
*
|
25
|
+
* SINGLE NODE ONLY (Need backup nodes):
|
26
|
+
* ⚠️ DGB: NowNodes only
|
27
|
+
* ⚠️ GRS: NowNodes only
|
28
|
+
* ⚠️ DCR: NowNodes only
|
29
|
+
* ⚠️ BTG: NowNodes only
|
30
|
+
* ⚠️ KMD: NowNodes only
|
31
|
+
*
|
32
|
+
* DISABLED:
|
33
|
+
* 💀 BSV: NowNodes (HTTP 400 - not working)
|
34
|
+
* 💀 ARB: NowNodes (Invalid URL)
|
35
|
+
* 💀 ShapeShift UTXO chains (BTC, LTC, DOGE, BCH) - All return HTTP 530
|
36
|
+
*
|
37
|
+
* Last tested: 2025-10-03
|
38
|
+
*/
|
11
39
|
export declare const blockbooks: ({
|
12
40
|
symbol: string;
|
13
41
|
blockchain: string;
|
@@ -32,6 +60,14 @@ export declare const blockbooks: ({
|
|
32
60
|
service: string;
|
33
61
|
networkId?: undefined;
|
34
62
|
websocket?: undefined;
|
63
|
+
} | {
|
64
|
+
symbol: string;
|
65
|
+
blockchain: string;
|
66
|
+
caip: string;
|
67
|
+
networkId: string;
|
68
|
+
type: string;
|
69
|
+
service: string;
|
70
|
+
websocket?: undefined;
|
35
71
|
})[];
|
36
72
|
interface NodeEntry {
|
37
73
|
key: string;
|
package/lib/seeds.js
CHANGED
@@ -59,8 +59,38 @@ exports.TIER_ONE_SEED = {
|
|
59
59
|
};
|
60
60
|
//TODO dynamic context setting based on health
|
61
61
|
exports.CURRENT_CONTEXT_NODE_MAP = exports.TIER_ONE_SEED;
|
62
|
+
/**
|
63
|
+
* Blockbook Node Configuration
|
64
|
+
*
|
65
|
+
* MULTI-NODE COVERAGE (Consensus-ready chains with 2+ nodes):
|
66
|
+
* ✅ BTC: NowNodes + Zelcore (2 nodes)
|
67
|
+
* ✅ LTC: NowNodes + Zelcore (2 nodes)
|
68
|
+
* ✅ DOGE: NowNodes + Zelcore (2 nodes) - SUPPORTS UNCONFIRMED UTXOS!
|
69
|
+
* ✅ BCH: NowNodes + Zelcore (2 nodes)
|
70
|
+
* ✅ DASH: NowNodes + Zelcore (2 nodes)
|
71
|
+
* ✅ ZEC: NowNodes + Zelcore (2 nodes)
|
72
|
+
* ✅ RVN: Zelcore only (1 node - Zelcore exclusive)
|
73
|
+
* ✅ ETH: ShapeShift (1 node)
|
74
|
+
* ✅ xDAI: ShapeShift (1 node)
|
75
|
+
*
|
76
|
+
* SINGLE NODE ONLY (Need backup nodes):
|
77
|
+
* ⚠️ DGB: NowNodes only
|
78
|
+
* ⚠️ GRS: NowNodes only
|
79
|
+
* ⚠️ DCR: NowNodes only
|
80
|
+
* ⚠️ BTG: NowNodes only
|
81
|
+
* ⚠️ KMD: NowNodes only
|
82
|
+
*
|
83
|
+
* DISABLED:
|
84
|
+
* 💀 BSV: NowNodes (HTTP 400 - not working)
|
85
|
+
* 💀 ARB: NowNodes (Invalid URL)
|
86
|
+
* 💀 ShapeShift UTXO chains (BTC, LTC, DOGE, BCH) - All return HTTP 530
|
87
|
+
*
|
88
|
+
* Last tested: 2025-10-03
|
89
|
+
*/
|
62
90
|
exports.blockbooks = [
|
63
|
-
//
|
91
|
+
// ============================================================================
|
92
|
+
// NOWNODES - Primary provider
|
93
|
+
// ============================================================================
|
64
94
|
{
|
65
95
|
symbol: "BTC",
|
66
96
|
blockchain: "bitcoin",
|
@@ -111,13 +141,14 @@ exports.blockbooks = [
|
|
111
141
|
service: "https://bchbook.nownodes.io/cf522543-87e2-4dd6-b645-2fbfd0bc61f6",
|
112
142
|
websocket: "wss://bch.nownodes.io/wss"
|
113
143
|
},
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
144
|
+
// DISABLED - Returns HTTP 400
|
145
|
+
// {
|
146
|
+
// symbol:"BSV",
|
147
|
+
// blockchain:"bitcoin sv",
|
148
|
+
// caip:"bip122:0000000000000000018b0da51421703b/slip44:1",
|
149
|
+
// type:"blockbook",
|
150
|
+
// service:"https://bsvbook.nownodes.io/cf522543-87e2-4dd6-b645-2fbfd0bc61f6"
|
151
|
+
// },
|
121
152
|
{
|
122
153
|
symbol: "GRS",
|
123
154
|
blockchain: "Groestlcoin",
|
@@ -129,13 +160,7 @@ exports.blockbooks = [
|
|
129
160
|
symbol: "DCR",
|
130
161
|
blockchain: "decred",
|
131
162
|
caip: "bip122:00000ac5927c594d49cc0bdb81759d0d/slip44:42",
|
132
|
-
|
133
|
-
service: "https://dcr-blockbook.nownodes.io/cf522543-87e2-4dd6-b645-2fbfd0bc61f6"
|
134
|
-
},
|
135
|
-
{
|
136
|
-
symbol: "DCR",
|
137
|
-
blockchain: "decred",
|
138
|
-
caip: "bip122:00000ac5927c594d49cc0bdb81759d0d/slip44:42",
|
163
|
+
networkId: "bip122:00000ac5927c594d49cc0bdb81759d0d",
|
139
164
|
type: "blockbook",
|
140
165
|
service: "https://dcr-blockbook.nownodes.io/cf522543-87e2-4dd6-b645-2fbfd0bc61f6"
|
141
166
|
},
|
@@ -160,14 +185,90 @@ exports.blockbooks = [
|
|
160
185
|
type: "blockbook",
|
161
186
|
service: "https://zecbook.nownodes.io/cf522543-87e2-4dd6-b645-2fbfd0bc61f6"
|
162
187
|
},
|
188
|
+
// ============================================================================
|
189
|
+
// ZELCORE - Secondary provider (consensus nodes)
|
190
|
+
// ============================================================================
|
191
|
+
{
|
192
|
+
symbol: "BTC",
|
193
|
+
blockchain: "bitcoin",
|
194
|
+
caip: "bip122:000000000019d6689c085ae165831e93/slip44:0",
|
195
|
+
networkId: "bip122:000000000019d6689c085ae165831e93",
|
196
|
+
type: "blockbook",
|
197
|
+
service: "https://blockbook.btc-1.zelcore.io"
|
198
|
+
},
|
199
|
+
{
|
200
|
+
symbol: "LTC",
|
201
|
+
blockchain: "litecoin",
|
202
|
+
caip: "bip122:12a765e31ffd4059bada1e25190f6e98/slip44:2",
|
203
|
+
networkId: "bip122:12a765e31ffd4059bada1e25190f6e98",
|
204
|
+
type: "blockbook",
|
205
|
+
service: "https://blockbook.ltc-1.zelcore.io"
|
206
|
+
},
|
207
|
+
{
|
208
|
+
symbol: "DOGE",
|
209
|
+
blockchain: "dogecoin",
|
210
|
+
caip: "bip122:00000000001a91e3dace36e2be3bf030/slip44:3",
|
211
|
+
networkId: "bip122:00000000001a91e3dace36e2be3bf030",
|
212
|
+
type: "blockbook",
|
213
|
+
service: "https://blockbook.doge-1.zelcore.io"
|
214
|
+
},
|
215
|
+
{
|
216
|
+
symbol: "BCH",
|
217
|
+
blockchain: "bitcoincash",
|
218
|
+
caip: "bip122:000000000000000000651ef99cb9fcbe/slip44:145",
|
219
|
+
networkId: "bip122:000000000000000000651ef99cb9fcbe",
|
220
|
+
type: "blockbook",
|
221
|
+
service: "https://blockbook.bch-1.zelcore.io"
|
222
|
+
},
|
223
|
+
{
|
224
|
+
symbol: "DASH",
|
225
|
+
blockchain: "dash",
|
226
|
+
caip: "bip122:000007d91d1254d60e2dd1ae58038307/slip44:5",
|
227
|
+
networkId: "bip122:000007d91d1254d60e2dd1ae58038307",
|
228
|
+
type: "blockbook",
|
229
|
+
service: "https://blockbook.dash-1.zelcore.io"
|
230
|
+
},
|
231
|
+
{
|
232
|
+
symbol: "ZEC",
|
233
|
+
blockchain: "zcash",
|
234
|
+
caip: "bip122:00040fe8ec8471911baa1db1266ea15d/slip44:133",
|
235
|
+
networkId: "bip122:00040fe8ec8471911baa1db1266ea15d",
|
236
|
+
type: "blockbook",
|
237
|
+
service: "https://blockbook.zec-1.zelcore.io"
|
238
|
+
},
|
239
|
+
{
|
240
|
+
symbol: "RVN",
|
241
|
+
blockchain: "ravencoin",
|
242
|
+
caip: "bip122:000000000019d6689c085ae165831e93/slip44:175",
|
243
|
+
networkId: "bip122:000000000019d6689c085ae165831e93",
|
244
|
+
type: "blockbook",
|
245
|
+
service: "https://blockbook.rvn-1.zelcore.io"
|
246
|
+
},
|
247
|
+
// ============================================================================
|
248
|
+
// SHAPESHIFT - Tertiary provider (EVM chains only, UTXO chains are down)
|
249
|
+
// ============================================================================
|
250
|
+
{
|
251
|
+
symbol: "ETH",
|
252
|
+
blockchain: "ethereum",
|
253
|
+
caip: "eip155:1/slip44:60",
|
254
|
+
networkId: "eip155:1",
|
255
|
+
type: "blockbook",
|
256
|
+
service: "https://indexer.ethereum.shapeshift.com",
|
257
|
+
websocket: "wss://indexer.ethereum.shapeshift.com/websocket"
|
258
|
+
},
|
163
259
|
{
|
164
|
-
symbol: "
|
165
|
-
blockchain: "
|
166
|
-
caip: "eip155:
|
260
|
+
symbol: "xDAI",
|
261
|
+
blockchain: "gnosis",
|
262
|
+
caip: "eip155:100/slip44:60",
|
263
|
+
networkId: "eip155:100",
|
167
264
|
type: "blockbook",
|
168
|
-
service: "
|
265
|
+
service: "https://indexer.gnosis.shapeshift.com",
|
266
|
+
websocket: "wss://indexer.gnosis.shapeshift.com/websocket"
|
169
267
|
},
|
170
|
-
//
|
268
|
+
// ============================================================================
|
269
|
+
// DEAD/DISABLED NODES - ShapeShift UTXO chains are down (HTTP 530)
|
270
|
+
// ============================================================================
|
271
|
+
//SHAPESHIFT UTXO CHAINS - ALL DOWN
|
171
272
|
// {
|
172
273
|
// symbol:"BASE",
|
173
274
|
// blockchain:"Base",
|
package/package.json
CHANGED
@@ -1,8 +1,24 @@
|
|
1
1
|
{
|
2
2
|
"name": "@pioneer-platform/nodes",
|
3
|
-
"version": "8.
|
3
|
+
"version": "8.4.0",
|
4
4
|
"main": "./lib/index.js",
|
5
5
|
"types": "./lib/index.d.ts",
|
6
|
+
"dependencies": {
|
7
|
+
"@pioneer-platform/loggerdog": "^8.4.0",
|
8
|
+
"dotenv": "^8.2.0"
|
9
|
+
},
|
10
|
+
"devDependencies": {
|
11
|
+
"@types/jest": "^25.2.3",
|
12
|
+
"@types/node": "^18.16.0",
|
13
|
+
"@types/source-map-support": "^0.5.3",
|
14
|
+
"jest": "^26.6.3",
|
15
|
+
"onchange": "^7.1.0",
|
16
|
+
"serve": "^11.3.2",
|
17
|
+
"source-map-support": "^0.5.19",
|
18
|
+
"ts-jest": "^29.0.5",
|
19
|
+
"typescript": "^5.0.4"
|
20
|
+
},
|
21
|
+
"gitHead": "aeae28273014ab69b42f22abec159c6693a56c40",
|
6
22
|
"scripts": {
|
7
23
|
"npm": "pnpm i",
|
8
24
|
"npm-update": "pnpm update",
|
@@ -18,21 +34,5 @@
|
|
18
34
|
"build:watch": "onchange 'src/**/*.ts' -- pnpm run build",
|
19
35
|
"view:coverage": "serve coverage/lcov-report",
|
20
36
|
"clean": "rm -rf coverage src/**/*.js src/**/*.map lib node_modules"
|
21
|
-
}
|
22
|
-
|
23
|
-
"@pioneer-platform/loggerdog": "^8.3.1",
|
24
|
-
"dotenv": "^8.2.0"
|
25
|
-
},
|
26
|
-
"devDependencies": {
|
27
|
-
"@types/jest": "^25.2.3",
|
28
|
-
"@types/node": "^18.16.0",
|
29
|
-
"@types/source-map-support": "^0.5.3",
|
30
|
-
"jest": "^26.6.3",
|
31
|
-
"onchange": "^7.1.0",
|
32
|
-
"serve": "^11.3.2",
|
33
|
-
"source-map-support": "^0.5.19",
|
34
|
-
"ts-jest": "^29.0.5",
|
35
|
-
"typescript": "^5.0.4"
|
36
|
-
},
|
37
|
-
"gitHead": "aeae28273014ab69b42f22abec159c6693a56c40"
|
38
|
-
}
|
37
|
+
}
|
38
|
+
}
|