-
Notifications
You must be signed in to change notification settings - Fork 30
/
Copy pathpools.js
447 lines (428 loc) · 12.1 KB
/
pools.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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
import axios from "axios";
import { load } from "js-yaml";
const Cosmos = {
name: "Cosmos Hub",
chainId: "cosmoshub-4",
val_name: "cosmoshub",
runtime: "@kyvejs/tendermint-bsync",
datasource: "Self hosted Gaia full node (cosmoshub-4)",
start_data: "height 5,200,791",
storage_provider: "Irys",
configName: ".cosmos",
networks: {
Mainnet: 0,
Kaon: 0,
Korellia: 24,
},
requirements: [
"2 or more physical CPU cores",
"16 GB RAM",
"512 GB DISK",
"50mbps network bandwith",
],
};
const Osmosis = {
name: "Osmosis",
chainId: "osmosis-1",
val_name: "osmosis",
runtime: "@kyvejs/tendermint",
datasource: "Self hosted Osmosis full node (osmosis-1)",
start_data: "Genesis",
storage_provider: "Irys",
networks: {
Mainnet: 1,
Kaon: 1,
Korellia: 30,
},
requirements: [
"8 or more physical CPU cores",
"32 GB RAM",
"1 TB DISK",
"100mbps network bandwith",
],
binaryVersion: "v3.1.0",
goVersion: "go15",
binaryName: "osmosisd",
configName: ".osmosis",
binaryDownload: "https://github.com/osmosis-labs/osmosis/releases/tag/v3.1.0",
installInstructions: "https://docs.osmosis.zone/osmosis-core/osmosisd/",
};
const Archway = {
name: "Archway",
chainId: "archway-1",
val_name: "archway",
runtime: "@kyvejs/tendermint",
datasource: "Self hosted Archway full node (archway-1)",
start_data: "Genesis",
storage_provider: "Irys",
networks: {
Mainnet: 2,
Kaon: 2,
Korellia: 31,
},
requirements: [
"8 or more physical CPU cores",
"32 GB RAM",
"1 TB DISK",
"100mbps network bandwith",
],
binaryVersion: "v1.0.1",
goVersion: "go19",
nodeName: "Archway",
configName: ".archway",
binaryName: "archwayd",
binaryDownload:
"https://github.com/archway-network/archway/releases/tag/v1.0.1",
installInstructions:
"https://docs.archway.io/validators/running-a-node/join-a-network/sync-from-genesis",
seed: "[email protected]:26656",
};
const ArchwaySSync = {
...Archway,
name: "Archway // State-Sync",
val_name: "archway-ssync",
runtime: "@kyvejs/tendermint-ssync",
datasource: "KSYNC (over serve-snapshots)",
start_data: "state-sync snapshots every 3,000 blocks",
networks: {
Mainnet: 4,
Kaon: 4,
},
requirements: [
"8 or more physical CPU cores",
"32 GB RAM",
"150 GB DISK",
"100mbps network bandwith",
],
};
const Axelar = {
name: "Axelar",
chainId: "axelar-dojo-1",
val_name: "axelar",
runtime: "@kyvejs/tendermint",
datasource: "Self hosted Axelar full node (axelar-dojo-1)",
start_data: "Genesis",
storage_provider: "Irys",
networks: {
Mainnet: 3,
Kaon: 3,
Korellia: 36,
},
requirements: [
"8 or more physical CPU cores",
"32 GB RAM",
"1 TB DISK",
"100mbps network bandwith",
],
binaryVersion: "v0.10.7",
goVersion: "go16",
binaryName: "axelard",
configName: ".axelar",
binaryDownload:
"https://github.com/axelarnetwork/axelar-core/releases/tag/v0.10.7",
installInstructions: "https://docs.axelar.dev/node/join-genesis",
seed: "[email protected]:15156,3d67d0646cddcc203b41434aceea64ade22ba6fc@k8s-mainnet-axelarco-79b464ee93-f03cb16c57cf7cb2.elb.us-east-2.amazonaws.com:26656,[email protected]:26656,[email protected]:26656,44596cd8c8fd80be909a5968ac4ba6651d840b36@axelar-seed.validatrium.com:6969",
};
const Cronos = {
name: "Cronos",
chainId: "cronosmainnet_25-1",
val_name: "cronos",
runtime: "@kyvejs/tendermint",
datasource: "Self hosted Cronos full node (cronosmainnet_25-1)",
start_data: "Genesis",
storage_provider: "Irys",
networks: {
Mainnet: 5,
Kaon: 6,
Korellia: 36,
},
requirements: [
"8 or more physical CPU cores",
"32 GB RAM",
"1.5 TB DISK",
"100mbps network bandwith",
],
binaryVersion: "v0.6.11",
goVersion: "go17",
nodeName: "Cronos",
configName: ".cronos",
binaryName: "cronosd",
binaryDownload:
"https://github.com/crypto-org-chain/cronos/releases/tag/v0.6.11",
installInstructions:
"https://docs.cronos.org/for-node-hosts/running-nodes/cronos-mainnet",
seed: "0d5cf1394a1cfde28dc8f023567222abc0f47534@cronos-seed-0.crypto.org:26656,3032073adc06d710dd512240281637c1bd0c8a7b@cronos-seed-1.crypto.org:26656,04f43116b4c6c70054d9c2b7485383df5b1ed1da@cronos-seed-2.crypto.org:26656,337377dcda43d79c537d2c4d93ad3b698ce9452e@bd-cronos-mainnet-seed-node-01.bdnodes.net:26656",
};
const CronosSSync = {
...Cronos,
name: "Cronos // State-Sync",
val_name: "cronos-ssync",
runtime: "@kyvejs/tendermint-ssync",
datasource: "KSYNC (over serve-snapshots)",
start_data: "state-sync snapshots every 5,000 blocks",
networks: {
Mainnet: 6,
Kaon: 7,
Korellia: 37,
},
requirements: [
"8 or more physical CPU cores",
"32 GB RAM",
"150 GB DISK",
"100mbps network bandwith",
],
};
const Noble = {
name: "Noble",
chainId: "noble-1",
val_name: "noble",
runtime: "@kyvejs/tendermint",
datasource: "Self hosted Noble full node (noble-1)",
start_data: "Genesis",
storage_provider: "Irys",
networks: {
Mainnet: 7,
Kaon: 12,
Korellia: 45,
},
requirements: [
"8 or more physical CPU cores",
"32 GB RAM",
"1 TB DISK",
"100mbps network bandwith",
],
binaryVersion: "v1.0.0",
goVersion: [
["v1.0.0", "go19"],
["v2.0.0", "go19"],
["v3.0.0", "go19"],
["v3.1.0", "go19"],
["v4.0.1", "go21"],
],
nodeName: "Noble",
configName: ".noble",
binaryName: "nobled",
binaryDownload: "https://github.com/noble-assets/noble/releases/tag/v1.0.0",
installInstructions: "https://docs.nobleassets.xyz/network/running",
seed: "[email protected]:21590",
};
const NobleSSync = {
...Noble,
name: "Noble // State-Sync",
val_name: "noble-ssync",
runtime: "@kyvejs/tendermint-ssync",
datasource: "KSYNC (over serve-snapshots)",
start_data: "state-sync snapshots every 3,000 blocks",
networks: {
Mainnet: 8,
Kaon: 12,
Korellia: 46,
},
requirements: [
"8 or more physical CPU cores",
"32 GB RAM",
"150 GB DISK",
"100mbps network bandwith",
],
};
const Celestia = {
name: "Celestia",
chainId: "celestia",
val_name: "celestia",
runtime: "@kyvejs/tendermint",
datasource: "Self hosted Celestia full node (celestia)",
start_data: "Genesis",
storage_provider: "Irys",
networks: {
Mainnet: 9,
Kaon: 14,
Korellia: 70,
},
requirements: [
"4 or more physical CPU cores",
"32 GB RAM",
"1 TB DISK",
"100mbps network bandwith",
],
binaryVersion: "v1.7.0",
goVersion: [["v1.7.0", "go22"]],
nodeName: "Celestia",
configName: ".celestia-app",
binaryName: "celestia-appd",
binaryDownload:
"https://github.com/celestiaorg/celestia-app/releases/tag/v1.7.0",
installInstructions: "https://docs.celestia.org/nodes/consensus-node",
seed: "[email protected]:11656",
configToml: {
description:
"Due to the size of the block_results response and because Celestia disables the storage of block results by default, ",
code: 'discard_abci_responses = false\ntimeout_broadcast_tx_commit = "120s"',
},
appToml:
'pruning = "everything"\nindex-events = [""]\n\n[state-sync]\n\nsnapshot-interval = 0\nsnapshot-keep-recent = 0',
};
const CelestiaSSync = {
...Celestia,
name: "Celestia // State-Sync",
val_name: "celestia-ssync",
runtime: "@kyvejs/tendermint-ssync",
datasource: "KSYNC (over serve-snapshots)",
start_data: "state-sync snapshots every 3,000 blocks",
networks: {
Mainnet: 10,
Kaon: 15,
},
requirements: [
"8 or more physical CPU cores",
"32 GB RAM",
"150 GB DISK",
"100mbps network bandwith",
],
};
const EthereumBlobs = {
name: "Ethereum // Blobs",
logo: "ar://Ui5fULe72VfEKo5reeGKvGXF_5HOuAIfdaOM7fXjVyA",
val_name: "ethereum-blobs",
runtime: "@kyvejs/ethereum-blobs",
datasource: "Slef hosted Ethereum full node (Lighthose & Geth)",
start_data: "Blobs starting from the Dencun upgrade",
networks: {
Kaon: 20,
Korellia: 97,
},
requirements: [
"8 or more physical CPU cores",
"16 GB RAM",
"2 TB DISK",
"100mbps network bandwith",
],
integrations: [],
description:
"Data blobs are a fresh approach to optimizing transaction data storage on L2 networks within Ethereum. They are inexpensive and temporary memory carrying data about transactions, called blob-carrying transactions. These blobs are designed to make the verification of these transactions more efficient.",
};
const dYdX = {
name: "dYdX",
chainId: "dydx-mainnet-1",
val_name: "dydx",
runtime: "@kyvejs/tendermint",
datasource: "Self hosted dYdX full node (dydx-mainnet-1)",
start_data: "Genesis",
storage_provider: "Irys",
networks: {
Mainnet: 13,
Kaon: 8,
},
requirements: [
"8 or more physical CPU cores",
"32 GB RAM",
"1 TB DISK",
"100mbps network bandwith",
],
binaryVersion: "v2.0.1",
goVersion: [],
nodeName: "dYdX",
configName: ".dydxprotocol",
binaryName: "dydxprotocold",
binaryDownload:
"https://github.com/dydxprotocol/v4-chain/releases/tag/protocol/v2.0.1",
installInstructions:
"https://docs.dydx.exchange/infrastructure_providers-validators/set_up_full_node",
seed: "[email protected]:23856",
};
const Andromeda = {
name: "Andromeda",
chainId: "andromeda-1",
val_name: "andromeda",
runtime: "@kyvejs/tendermint",
datasource: "Self hosted Andromeda full node (andromeda-1)",
start_data: "Genesis",
storage_provider: "Irys",
networks: {
Mainnet: 14,
Kaon: 33,
},
requirements: [
"8 or more physical CPU cores",
"32 GB RAM",
"1 TB DISK",
"100mbps network bandwith",
],
binaryVersion: "v0.1.1-beta-patch",
goVersion: [],
nodeName: "andromeda",
configName: ".andromeda",
binaryName: "andromedad",
binaryDownload:
"https://github.com/andromedaprotocol/andromedad/releases/tag/v0.1.1-beta-patch",
installInstructions:
"https://docs.andromedaprotocol.io/andromeda/chain/running-a-node",
seed: "[email protected]:21256",
};
const pools = [
Cosmos,
Osmosis,
Archway,
ArchwaySSync,
Axelar,
Cronos,
CronosSSync,
Noble,
NobleSSync,
Celestia,
CelestiaSSync,
EthereumBlobs,
dYdX,
Andromeda,
];
export default pools;
const loadRegistry = async () => {
try {
const { data } = await axios.get(
"https://raw.githubusercontent.com/KYVENetwork/source-registry/main/.github/registry.yml"
);
const parsedRegistry = load(data);
for (const pool of pools) {
try {
const source = parsedRegistry[pool.chainId];
pool.hex = source["networks"]["kyve-1"]["properties"]["hex"];
pool.logo = source["networks"]["kyve-1"]["properties"]["logo"];
pool.description =
source["networks"]["kyve-1"]["properties"]["description"];
pool.genesisFile =
source["codebase"]["settings"]["cosmos-properties"]["genesis-url"];
if (source["networks"]["kyve-1"]["integrations"]["ksync"]) {
pool.binaryName =
source["networks"]["kyve-1"]["integrations"]["ksync"][
"binary-name"
];
// check if the source has a state sync pool
pool.integrations = [];
if (
source["networks"]["kyve-1"].pools.find((p) =>
p.runtime.includes("ssync")
)
) {
pool.integrations.push("State-Sync", "Height-Sync");
}
pool.integrations.push("Block-Sync");
}
} catch {}
}
} catch (e) {
console.log("Faild to load registry!");
console.log(e);
}
};
export async function updatePoolsPlugin(context, options) {
return {
name: "docusuaurs-updatepools",
async loadContent() {
await loadRegistry();
if (context.siteConfig && context.siteConfig.customFields)
context.siteConfig.customFields.pools = pools;
},
getPathsToWatch() {
return [`pools.js`];
},
};
}