forked from polkadot-js/apps
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.ts
1045 lines (1034 loc) · 35.2 KB
/
index.ts
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
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// Copyright 2017-2022 @polkadot/apps-config authors & contributors
// SPDX-License-Identifier: Apache-2.0
/* eslint sort-keys: ["error", "asc", { caseSensitive: false }] */
// The mapping here is done on the actual chain name (system.chain RPC) or
// the actual RPC node it is corrected to (system.name RPC)
// anything for a specific chain, most would probably fit into the node category (but allow for chain-specific)
// alphabetical
import { sanitize } from '../util';
import chain3dpass from './chains/3dpass.png';
import chainAcala from './chains/acala.svg';
import chainAcurast from './chains/acurast.png';
import chainAleph from './chains/aleph.svg';
import chainAltair from './chains/altair.svg';
import chainAmplitude from './chains/amplitude.svg';
import chainAstar from './chains/astar.png';
import chainAventus from './chains/aventus.svg';
import chainBitgreen from './chains/bitgreen.png';
import chainBrainstorm from './chains/brainstorm.png';
import chainCoinversation from './chains/coinversation.png';
import chainCompetitorsClub from './chains/competitors-club.png';
import chainComposableFinance from './chains/composableFinance.png';
import chainCreditcoin from './chains/creditcoin.png';
import chainCreditcoinTest from './chains/creditcoin-test.png';
import chainCrownSterling from './chains/crown-sterling.png';
import chainRococoDali from './chains/dali.png';
import chainRoccoDataHighway from './chains/datahighway.png';
import chainDeBio from './chains/debio.svg';
import chainDorafactory from './chains/dorafactory.png';
import chainEfinity from './chains/efinity.svg';
import chainEquilibrium from './chains/equilibrium.svg';
import chainFrequency from './chains/frequency.svg';
import chainGeminis from './chains/geminis.png';
import chainGenshiro from './chains/genshiro.svg';
import chainGM from './chains/gm.png';
import chainHashed from './chains/hashed.png';
import chainHydrate from './chains/hydrate.png';
import chainInterlay from './chains/interlay.svg';
import chainKabocha from './chains/kabocha.svg';
import chainKarura from './chains/karura.svg';
import chainKico from './chains/kico.png';
import chainKintsugi from './chains/kintsugi.png';
import chainKusama from './chains/kusama-128.gif';
import chainListen from './chains/listen.png';
import chainLogion from './chains/logion.png';
import chainLuhn from './chains/luhn.png';
import chainMangata from './chains/mangatax.svg';
import chainMoonsamaDevelopment from './chains/moonsama.png';
import chainMyriad from './chains/myriad.svg';
import chainOAK from './chains/oak.png';
import chainOLI from './chains/oli.svg';
import chainOmniBTC from './chains/omnibtc.svg';
import chainOpal from './chains/opal-logo.png';
import chainOriginTrail from './chains/origintrail.png';
import chainOriginTrailTestnet from './chains/origintrail-testnet.png';
import chainParallel from './chains/parallel.svg';
import chainPendulum from './chains/pendulum.svg';
import chainPicasso from './chains/picasso.svg';
import chainQuartz from './chains/quartz.png';
import chainRiodefi from './chains/riodefi.png';
import chainRocfinity from './chains/rocfinity.svg';
import chainRococo from './chains/rococo.svg';
import chainRococoContracts from './chains/rococo-contracts.png';
import chainRococoTick from './chains/rococo-tick.svg';
import chainRococoTrack from './chains/rococo-track.svg';
import chainRococoTrick from './chains/rococo-trick.svg';
import chainShiden from './chains/shiden.png';
import chainSkyeKiwi from './chains/skyekiwi.png';
import chainSnakenet from './chains/snakenet.svg';
import chainSnowbridge from './chains/snowbridge.png';
import chainSpanner from './chains/spanner.png';
import chainStandard from './chains/standard.png';
import chainT0rn from './chains/t0rn.png';
import chainKusamaDataHighway from './chains/tanganika.png';
import chainTinker from './chains/tinker.png';
import nodeTotem from './chains/totem.svg';
import chainTuring from './chains/turing.png';
import chainUnique from './chains/unique.svg';
import chainUnorthodox from './chains/unorthodox.png';
import chainVara from './chains/vara.svg';
import chainVirto from './chains/virto.png';
import chainWatr from './chains/watr.png';
import chainEggnet from './chains/webb.png';
import chainWestendColl from './chains/westend-collectives.png';
import extensionPolkadotJs from './extensions/polkadot-js.svg';
import externalCommonwealth from './external/commonwealth.png';
import externalDotreasury from './external/dotreasury.svg';
import externalDotScanner from './external/dotscanner.png';
import externalKodaDot from './external/kodadot.png';
import externalPolkaholic from './external/polkaholic.png';
import externalPolkascan from './external/polkascan.png';
import externalPolkassembly from './external/polkassembly.png';
import externalPolkastats from './external/polkastats.png';
import externalSingular from './external/singular.svg';
import externalStatescan from './external/statescan.svg';
import externalSubId from './external/subid.svg';
import externalSubscan from './external/subscan.png';
import externalSubsquare from './external/subsquare.svg';
import nodeAjuna from './nodes/ajuna.png';
import nodeApron from './nodes/apron.png';
import nodeArctic from './nodes/arctic.png';
import nodeAres from './nodes/ares.png';
import nodeAresGladios from './nodes/ares-gladios.svg';
import nodeAresMars from './nodes/ares-mars.png';
import nodeAresOdyssey from './nodes/ares-odyssey.svg';
import nodeAstar from './nodes/astar.png';
import nodeAutomata from './nodes/automata.png';
import nodeAventus from './nodes/aventus.svg';
import nodeBajun from './nodes/bajun.png';
import nodeBasilisk from './nodes/basilisk.png';
import nodeBeast from './nodes/beast.svg';
import nodeBifrost from './nodes/bifrost.svg';
import nodeBitCountry from './nodes/bitcountry.png';
import nodeCalamari from './nodes/calamari.png';
import nodeCentrifuge from './nodes/centrifuge.png';
import nodeCESS from './nodes/cess.png';
import nodeChainx from './nodes/chainx.svg';
import nodeClover from './nodes/clover.svg';
import nodeCoinversation from './nodes/coinversation.png';
import nodeCompetitorsClub from './nodes/competitors-club.png';
import nodeConfti from './nodes/confti.svg';
import nodeCrab from './nodes/crab.svg';
import nodeCrownSterling from './nodes/crown-sterling.png';
import nodeCrust from './nodes/crust.svg';
import nodeCrustMaxwell from './nodes/crust-maxwell.svg';
import nodeCrustParachain from './nodes/crustParachain.svg';
import nodeDaliTestnet from './nodes/dali.png';
import nodeDarwinia from './nodes/darwinia.svg';
import nodeDataHighway from './nodes/datahighway.png';
import nodeDockMainnet from './nodes/dock-mainnet.png';
import nodeDockTestnet from './nodes/dock-testnet.png';
import nodeDolphin from './nodes/dolphin.svg';
import nodeDotMog from './nodes/dotmog.svg';
import nodeEave from './nodes/eave.svg';
import nodeEdgeware from './nodes/edgeware-white.png';
import nodeEfinity from './nodes/efinity.svg';
import nodeEncointer from './nodes/encointer-blue.svg';
import nodeFantour from './nodes/fantour.png';
import nodeGalital from './nodes/galital-logo.png';
import nodeGamePower from './nodes/gamepower.svg';
import nodeGeek from './nodes/geek.svg';
import nodeHanonycash from './nodes/hanonycash.svg';
import nodeHashed from './nodes/hashed.png';
import nodeHelixstreet from './nodes/helixstreet.png';
import nodeIdavoll from './nodes/idavoll.png';
import nodeImbue from './nodes/imbue.png';
import nodeIntegritee from './nodes/integritee.svg';
import nodeInterBTC from './nodes/interlay.svg';
import nodeIPCI from './nodes/ipci.svg';
import nodeIpse from './nodes/ipse.png';
import nodeJaz from './nodes/jaz.png';
import nodeJoystream from './nodes/joystream.svg';
import nodeJupiter from './nodes/jupiter.svg';
import nodeKabocha from './nodes/kabocha.svg';
import nodeKhala from './nodes/khala.svg';
import nodeKilt from './nodes/kilt.png';
import nodeKlug from './nodes/klug.png';
import nodeKonomi from './nodes/konomi.png';
import nodeKulupu from './nodes/kulupu.svg';
import nodeKusari from './nodes/kusari.svg';
import nodeKylin from './nodes/kylin.png';
import nodeLaminar from './nodes/laminar-circle.svg';
import nodeLitentry from './nodes/litentry.png';
import nodeLitmus from './nodes/litmus.png';
import nodeLoomNetwork from './nodes/loom_network.png';
import nodeLuhn from './nodes/luhn.png';
import nodeManta from './nodes/manta.png';
import nodeMath from './nodes/math.svg';
import nodeMd5 from './nodes/md5.png';
import nodeMinix from './nodes/minix.png';
import moonbase from './nodes/moonbase_alpha.png';
import moonbeam from './nodes/moonbeam.png';
import moonriver from './nodes/moonriver.svg';
import nodeMoonrock from './nodes/moonrock.png';
import moonshadow from './nodes/moonshadow.png';
import mybank from './nodes/mybank.png';
import nodeNFTMart from './nodes/nftmart.png';
import nodeNodle from './nodes/nodle.svg';
import nodeChainOLI from './nodes/oli.svg';
import nodeOmniBTC from './nodes/omnibtc.svg';
import nodeUniqueWestend from './nodes/opal-logo.png';
import nodeOpportunity from './nodes/opportunity.png';
import nodePangolin from './nodes/pangolin.svg';
import nodePangoro from './nodes/pangoro.svg';
import nodeParallel from './nodes/parallel.svg';
import nodeParami from './nodes/parami.png';
import nodePhala from './nodes/phala.svg';
import nodePhoenix from './nodes/phoenix.png';
import nodePichiu from './nodes/pichiu.png';
import nodePioneerNetwork from './nodes/pioneer.png';
import nodePolkadex from './nodes/polkadex.svg';
import nodePolkadot from './nodes/polkadot-circle.svg';
import nodePolkadotJs from './nodes/polkadot-js.svg';
import nodePolkaFoundry from './nodes/polkafoundry.svg';
import nodePolkaSmith from './nodes/polkasmith.svg';
import nodePolymesh from './nodes/polymesh.svg';
import nodePontem from './nodes/pontem.svg';
import nodePrism from './nodes/prism.png';
import nodeQuartz from './nodes/quartz.png';
import nodeRealis from './nodes/realis.png';
import nodeRiochain from './nodes/riochain.svg';
import nodeRobonomics from './nodes/robonomics.svg';
import nodeRocfinity from './nodes/rocfinity.svg';
import nodeSakura from './nodes/sakura.svg';
import nodeShadow from './nodes/shadow.svg';
import nodeShell from './nodes/shell.svg';
import nodeSherpax from './nodes/sherpax.png';
import nodeSingLavender from './nodes/singlavender.svg';
import nodeSnow from './nodes/snow.png';
import nodeSoonsocial from './nodes/soonsocial.png';
import nodeSoonsocialX from './nodes/soonsocialX.png';
import nodeSora from './nodes/sora-substrate.svg';
import nodeStafi from './nodes/stafi.png';
import nodeStatemine from './nodes/statemine.svg';
import nodeSubDAO from './nodes/subdao.png';
import nodeSubGame from './nodes/subgame.svg';
import nodeSubsocial from './nodes/subsocial.svg';
import nodeSubsocialX from './nodes/subsocialX.svg';
import nodeSubspace from './nodes/subspace.png';
import nodeSubstrateContractsNode from './nodes/substrate-contracts-node.png';
import nodeSubstrate from './nodes/substrate-hexagon.svg';
import nodeSwapdex from './nodes/swapdex.svg';
import nodeTernoa from './nodes/ternoa.svg';
import nodeTrustBase from './nodes/trustbase.png';
import nodeUniarts from './nodes/uniarts.png';
import nodeUnique from './nodes/unique.svg';
import nodeUnitNetwork from './nodes/unitnetwork.png';
import nodeUnitv from './nodes/unitv.png';
import nodeVln from './nodes/valiu.png';
import nodeVara from './nodes/vara.svg';
import nodeWeb3games from './nodes/web3games.svg';
import nodeWestend from './nodes/westend_colour.svg';
import nodeWestlake from './nodes/westlake.png';
import nodeWhala from './nodes/whala.svg';
import nodeZCloak from './nodes/zCloak.svg';
import nodeZeitgeist from './nodes/zeitgeist.png';
import nodeZenlink from './nodes/zenlink.svg';
import nodeZero from './nodes/zero.svg';
import emptyLogo from './empty.svg';
// last-resort fallback, just something empty
// Alphabetical overrides based on the actual matched chain name
// NOTE: This is as retrieved via system.chain RPC
export const chainLogos = Object.entries({
'Acurast Rococo Testnet': chainAcurast,
'Ajuna Testnet': nodeAjuna,
'Aleph Zero': chainAleph,
'Aleph Zero Testnet': chainAleph,
Altair: chainAltair,
Amplitude: chainAmplitude,
'Apron PC1': nodeApron,
Arctic: nodeArctic,
'Ares Gladios': nodeAresGladios,
'Ares Odyssey': nodeAresOdyssey,
'Ares PC1': nodeAres,
Astar: chainAstar,
Automata: nodeAutomata,
'Automata ContextFree': nodeAutomata,
Aventus: chainAventus,
'Bajun Testnet': nodeBajun,
'Beast Developer': nodeBeast,
Bifrost: nodeBifrost,
'Bifrost Asgard CC4': nodeBifrost,
'Bifrost K Rococo': nodeBifrost,
'Bifrost Kusama': nodeBifrost,
'Bifrost Polkadot': nodeBifrost,
'Bifrost Stage Testnet': nodeBifrost,
Bitgreen: chainBitgreen,
BitgreenRococo: chainBitgreen,
'Calamari Parachain': nodeCalamari,
'Calamari Parachain Development': nodeCalamari,
'Calamari Parachain Local': nodeCalamari,
'Calamari Parachain Testnet': nodeCalamari,
'Catalyst Testnet': nodeCentrifuge,
Centrifuge: nodeCentrifuge,
'CESS Testnet': nodeCESS,
ChainOLI: chainOLI,
ChainX: nodeChainx,
'Charcoal Testnet': nodeCentrifuge,
Coinversation: chainCoinversation,
Collectives: chainWestendColl,
'Competitors Club': chainCompetitorsClub,
'Composable Finance': chainComposableFinance,
'Contracts on Rococo': chainRococoContracts,
'Crab Parachain': nodeCrab,
Creditcoin: chainCreditcoin,
'Creditcoin Testnet': chainCreditcoinTest,
'Crown Sterling': chainCrownSterling,
'Crust Maxwell': nodeCrustMaxwell,
'Crust PC1': nodeCrust,
'Crust Testnet': nodeCrustParachain,
'darwinia crab': nodeCrab,
'Darwinia Crab PC2': nodeCrab,
'Darwinia Parachain': nodeDarwinia,
'Darwinia PC2': nodeDarwinia,
DataHighway: nodeDataHighway,
'DataHighway Spreehafen Rococo Parachain Testnet': chainRoccoDataHighway,
'DataHighway Tanganika Kusama Parachain': chainKusamaDataHighway,
DeBio: chainDeBio,
'DeBio Testnet': chainDeBio,
'Dolphin Testnet': nodeDolphin,
'Dora Factory': chainDorafactory,
Efinity: chainEfinity,
'Egg Rococo': chainEggnet,
Equilibrium: chainEquilibrium,
'Equilibrium parachain': chainEquilibrium,
EquilibriumTestnet: chainEquilibrium,
Frequency: chainFrequency,
'Frequency Rococo': chainFrequency,
Galital: nodeGalital,
'GamePower Network': nodeGamePower,
GEEK: nodeGeek,
Geminis: chainGeminis,
Genshiro: chainGenshiro,
'Genshiro Rococo Testnet': chainGenshiro,
'GM Parachain': chainGM,
'Hashed Network': chainHashed,
helixstreet: nodeHelixstreet,
HydraDX: chainSnakenet,
'HydraDX testnet': chainHydrate,
Idavoll: nodeIdavoll,
'Imbue Testnet': nodeImbue,
InterBTC: nodeInterBTC,
'InterBTC Staging': nodeInterBTC,
Interlay: chainInterlay,
'InvArch Brainstorm Testnet': chainBrainstorm,
'InvArch Tinker Network': chainTinker,
ipci: nodeIPCI,
IpseTestnet: nodeIpse,
'Jupiter A1': nodeJupiter,
'Jupiter PC1': nodeJupiter,
Kabocha: chainKabocha,
'Kabocha (kabsoup)': chainKabocha,
Kapex: nodeTotem,
Karura: chainKarura,
Kerria: chainParallel,
'Kerria Dev': chainParallel,
Khala: nodeKhala,
KICO: chainKico,
KICO2: chainKico,
KILT: nodeKilt,
'KILT Local': nodeKilt,
'KILT Peregrine': nodeKilt,
'KILT Testnet': nodeKilt,
Kintsugi: chainKintsugi,
KlugDossier: nodeKlug,
Konomi: nodeKonomi,
Kpron: nodeApron,
Kusama: chainKusama, // new name after CC3
'Kusama CC1': chainKusama,
'Kusama CC2': chainKusama,
'Kusama CC3': chainKusama,
kusari: nodeKusari,
'Kylin Testnet': nodeKylin,
'Listen Network': chainListen,
Litentry: nodeLitentry,
'Litentry-rococo': nodeLitentry,
Litmus: nodeLitmus,
'Loom Network Local': nodeLoomNetwork,
LoomNetwork: nodeLoomNetwork,
'Luhn Network': chainLuhn,
'Mangata Kusama Mainnet': chainMangata,
'Mangata Public Testnet': chainMangata,
'Manta Parachain': nodeManta,
'Manta Parachain Development': nodeManta,
'Manta Parachain Local': nodeManta,
'Manta Parachain Testnet': nodeManta,
Mars: nodeAresMars,
MathChain: nodeMath,
'MathChain PC1': nodeMath,
'mathchain-galois': nodeMath,
MD5: nodeMd5,
Minix: nodeMinix,
'Minix Testnet': nodeMinix,
'Moonbase Alpha': moonbase,
'Moonbase Development Testnet': moonbase,
'Moonbase Stage': moonbase,
Moonbeam: moonbeam,
Moonriver: moonriver,
Moonrock: nodeMoonrock,
'Moonsama Development': chainMoonsamaDevelopment,
Moonshadow: moonshadow,
'mybank.network PC1': mybank,
Myriad: chainMyriad,
'Myriad Testnet': chainMyriad,
NFTMart: nodeNFTMart,
'NFTMart Staging': nodeNFTMart,
'NFTMart Testnet': nodeNFTMart,
'OAK Network': chainOAK,
Odyssey: nodeAresOdyssey,
'OLI Parachain': chainOLI,
OmniBTC: chainOmniBTC,
'OPAL by UNIQUE': chainOpal,
'OriginTrail Parachain': chainOriginTrail,
'OriginTrail Parachain Testnet': chainOriginTrailTestnet,
Pangolin: nodePangolin,
Pangoro: nodePangoro,
Parallel: chainParallel,
'Parallel Dev': chainParallel,
'Parallel Heiko': chainParallel,
'Parallel Heiko Dev': chainParallel,
'Parami PC2': nodeParami,
Pendulum: chainPendulum,
Phala: nodePhala,
'PHOENIX PC1': nodePhoenix,
Picasso: chainPicasso,
'Pichiu Mainnet': nodePichiu,
'Pichiu Testnet': nodePichiu,
'Pioneer Network': nodePioneerNetwork,
'Polkadex Mainnet': nodePolkadex,
'Polkadex Testnet': nodePolkadex,
'PolkaFoundry PC1': nodePolkaFoundry,
'Pontem Testnet': nodePontem,
'Prism PC1': nodePrism,
'Prism Testnet': nodePrism,
'QUARTZ by UNIQUE': chainQuartz,
'ReAlis Network': nodeRealis,
'RioChain CC-1': nodeRiochain,
'RioChain Staging': nodeRiochain,
Riodefi: chainRiodefi,
Robonomics: nodeRobonomics,
Rocfinity: chainRocfinity,
Rococo: chainRococo,
Sherpax: nodeSherpax,
'Sherpax Testnet': nodeSherpax,
Shiden: chainShiden,
SingLavender: nodeSingLavender,
SkyeKiwi: chainSkyeKiwi,
'Snow Kusama': nodeSnow,
soonsocial: nodeSoonsocial,
soonsocialX: nodeSoonsocialX,
SORA: nodeSora,
'SORA Kusama': nodeSora,
'SORA Rococo': nodeSora,
Spanner: chainSpanner,
Stagex: nodeTotem,
Statemine: nodeStatemine,
'Statemine Test': nodeStatemine,
'Statemint Test': nodeStatemine,
'Steam PC': nodeEave,
subdao: nodeSubDAO,
'SubDAO PC1': nodeSubDAO,
'SubDAO Staging': nodeSubDAO,
subgame: nodeSubGame,
'SubGame Gamma': nodeSubGame,
'SubGame Staging': nodeSubGame,
subsocial: nodeSubsocial,
subsocialX: nodeSubsocialX,
subspace: nodeSubspace,
Subzero: nodeZero,
swapdex: nodeSwapdex,
t0rn: chainT0rn,
Tick: chainRococoTick,
Track: chainRococoTrack,
Trick: chainRococoTrick,
trustbase: nodeTrustBase,
'TrustBase PC1': nodeTrustBase,
turing: chainTuring,
'uni arts staging network': nodeUniarts,
'UniArts Mainnet': nodeUniarts,
Unique: chainUnique,
UNIQUE: chainUnique,
'Unit Network': nodeUnitNetwork,
'Unitv Network': nodeUnitv,
Unorthodox: chainUnorthodox,
'Vara Network': chainVara,
VirtoRococo: chainVirto,
Vln: nodeVln,
'VLN PC': nodeVln,
Wapex: nodeTotem,
'Watr Network': chainWatr,
'Web3Games Plum': nodeWeb3games,
Westend: nodeWestend,
'Westend Collectives': chainWestendColl,
Westlake: nodeWestlake,
Westmint: nodeStatemine,
'Westmint Test': nodeStatemine,
WILT: nodeKilt,
'zcloak poc1': nodeZCloak
}).reduce<Record<string, unknown>>((logos, [chain, logo]) => ({
...logos,
[sanitize(chain)]: logo
}), {});
// Alphabetical overrides based on the actual software node type
// NOTE: This is as retrieved via system.name RPC
export const nodeLogos = Object.entries({
'Acala Node': chainAcala,
'Acurast Parachain Collator': chainAcurast,
'Ajuna Node': nodeAjuna,
Amplitude: chainAmplitude,
'Apron Node': nodeApron,
'Apron Parachain Collator': nodeApron,
Arctic: nodeArctic,
'Ares Gladios': nodeAresGladios,
'Ares Node': nodeAres,
'Ares Odyssey': nodeAresOdyssey,
'Ares Parachain Collator': nodeAres,
Astar: nodeAstar,
'Automata ContextFree Node': nodeAutomata,
'Automata Node': nodeAutomata,
Aventus: nodeAventus,
'Bajun Node': nodeBajun,
Basilisk: nodeBasilisk,
'Beast Node': nodeBeast,
Bifrost: nodeBifrost,
'Bifrost Node': nodeBifrost,
'Bifrost Stage Testnet': nodeBifrost,
'Bit Country Tewai Parachain Collator': nodeBitCountry,
'Bit.Country': nodeBitCountry,
'BitCountry Node': nodeBitCountry,
'Calamari Parachain Collator': nodeCalamari,
Centrifuge: nodeCentrifuge,
'centrifuge chain': nodeCentrifuge,
'Centrifuge Chain Node': nodeCentrifuge,
'CESS Testnet': nodeCESS,
ChainOLI: nodeChainOLI,
'ChainX Node': nodeChainx,
'Clover Node': nodeClover,
Coinversation: nodeCoinversation,
'Competitors Club': nodeCompetitorsClub,
'Composable Finance': chainComposableFinance,
'Crown Sterling': nodeCrownSterling,
crust: nodeCrust,
'Crust Collator': nodeCrust,
'Crust Maxwell': nodeCrustMaxwell,
'Crust Testnet': nodeCrustParachain,
'DAO IPCI': nodeIPCI,
darwinia: nodeDarwinia,
'darwinia crab': nodeCrab,
'darwinia parachain': nodeDarwinia,
'Darwinia Runtime Module Library': nodeDarwinia,
DataHighway: nodeDataHighway,
'DataHighway Node': nodeDataHighway,
'DataHighway Parachain Collator': nodeDataHighway,
'DataHighway Spreehafen Rococo Parachain Testnet': chainRoccoDataHighway,
'DataHighway Tanganika Kusama Parachain': chainKusamaDataHighway,
DeBio: chainDeBio,
'Dock Full Node': nodeDockMainnet,
'Dock Node': nodeDockMainnet,
'Dora Factory': chainDorafactory,
'DOTMog Node': nodeDotMog,
'Eave Node': nodeEave,
'Edgeware Node': nodeEdgeware,
Efinity: nodeEfinity,
'Efinity Node': nodeEfinity,
'Encointer collator': nodeEncointer,
'Encointer Node noTEE': nodeEncointer,
'Fantour Node': nodeFantour,
'Galital Parachain Collator': nodeGalital,
'GamePower Node': nodeGamePower,
GEEK: nodeGeek,
Geminis: chainGeminis,
'GM Collator': chainGM,
'Halongbay Parachain Collator': nodePolkaFoundry,
hanonycash: nodeHanonycash,
'Hashed Collator': nodeHashed,
Helixstreet: nodeHelixstreet,
'Idavoll Node': nodeIdavoll,
'Imbue Node': nodeImbue,
'Integritee Collator': nodeIntegritee,
'Integritee Node': nodeIntegritee,
Interlay: chainInterlay,
'InvArch Brainstorm Node': chainBrainstorm,
'InvArch Tinkernet Node': chainTinker,
IpseTestnet: nodeIpse,
'Jaz Node': nodeJaz,
'Joystream Node': nodeJoystream,
Kabocha: nodeKabocha,
'Kabocha (kabsoup)': nodeKabocha,
Kerria: nodeParallel,
'Kerria Dev': nodeParallel,
Khala: nodeKhala,
'Khala Node': nodeKhala,
KICO: chainKico,
KICO2: chainKico,
KILT: nodeKilt,
'KILT Local': nodeKilt,
'KILT Peregrine': nodeKilt,
Kintsugi: chainKintsugi,
'Klug Dossier Node': nodeKlug,
'Kpron Collator': nodeApron,
kulupu: nodeKulupu,
kusari: nodeKusari,
'Kylin Node': nodeKylin,
'Laminar Node': nodeLaminar,
'Listen Network': chainListen,
'Litentry node': nodeLitentry,
'logion Collator': chainLogion,
'Logion Node': chainLogion,
'Luhn Collator': nodeLuhn,
'mandala node': chainAcala,
'Manta Node': nodeManta,
'Manta Parachain Collator': nodeManta,
MathChain: nodeMath,
'mathChain-galois': nodeMath,
'MD5 Network': nodeMd5,
minix: nodeMinix,
Moonrock: nodeMoonrock,
'Moonsama Development': chainMoonsamaDevelopment,
'mybank.network': mybank,
Myriad: chainMyriad,
NFTMart: nodeNFTMart,
'NFTMart Staging': nodeNFTMart,
'NFTMart Testnet': nodeNFTMart,
'node-template': nodeSubstrate,
'Nodle Chain Node': nodeNodle,
OmniBTC: nodeOmniBTC,
'Opal Node': nodeUniqueWestend,
'Opportunity Standalone Testnet': nodeOpportunity,
Pangolin: nodePangolin,
Pangoro: nodePangoro,
Parallel: nodeParallel,
'Parallel Dev': nodeParallel,
'Parallel Heiko': nodeParallel,
'Parallel Heiko Dev': nodeParallel,
Parami: nodeParami,
'parity-polkadot': nodePolkadot,
'Patract Node': nodeJupiter,
Pendulum: chainPendulum,
Phala: nodePhala,
phala: nodePhala,
'Phala Collator': nodePhala,
'phala-substrate-node': nodePhala,
'PHOENIX Collator': nodePhoenix,
'PHOENIX Node': nodePhoenix,
'Pichiu Node': nodePichiu,
'Pioneer Network Collator Node': nodePioneerNetwork,
'Polkadex Node': nodePolkadex,
'polkadot-js': nodePolkadotJs,
'PolkaFoundry Node': nodePolkaFoundry,
'PolkaFoundry Parachain Collator': nodePolkaFoundry,
'PolkaSmith Parachain Collator': nodePolkaSmith,
'Pontem Testnet': nodePontem,
'Prism Collator': nodePrism,
'Prism Node': nodePrism,
'Quartz Node': nodeQuartz,
'ReAlis Network': nodeRealis,
'Rio Defi Chain Node': nodeRiochain,
'RioChain Staging': nodeRiochain,
Riodefi: chainRiodefi,
robonomics: nodeRobonomics,
Rocfinity: nodeRocfinity,
Sakura: nodeSakura,
Shadow: nodeShadow,
sherpax: nodeSherpax,
'Shiden Collator': chainShiden,
'SingLavender Parachain Collator': nodeSingLavender,
Snow: nodeSnow,
Sora: nodeSora,
Stafi: nodeStafi,
'Stafi Node': nodeStafi,
'Statemine Collator': nodeStatemine,
'Statemint Collator': nodeStatemine,
subdao: nodeSubDAO,
'SubDAO Collator': nodeSubDAO,
'SubDAO Staging': nodeSubDAO,
subgame: nodeSubGame,
'SubGame Gamma': nodeSubGame,
'SubGame Staging': nodeSubGame,
subspace: nodeSubspace,
'substrate-contracts-node': nodeSubstrateContractsNode,
'substrate-node': nodeSubstrate,
'subzero node': nodeZero,
swapdex: nodeSwapdex,
t0rn: chainT0rn,
'Ternoa Node': nodeTernoa,
'Totem Parachain Collator': nodeTotem,
'TrustBase Collator': nodeTrustBase,
'TrustBase Node': nodeTrustBase,
'uni arts node': nodeUniarts,
'UniArts Node': nodeUniarts,
'Unique Node': nodeUnique,
'Unit Collator': nodeUnitv,
'Unit Network Collator': nodeUnitNetwork,
'Unit Network Node': nodeUnitNetwork,
'Unit Node': nodeUnitv,
Vanilla: nodeParallel,
'Vanilla Dev': nodeParallel,
Vln: nodeVln,
'VLN PC': nodeVln,
'Web3Games Node': nodeWeb3games,
Westend: nodeWestend,
Westlake: nodeWestlake,
'Westmint Collator': nodeStatemine,
Whala: nodeWhala,
'Whala Node': nodeWhala,
WILT: nodeKilt,
'zcloak node': nodeZCloak,
'Zeitgeist Collator': nodeZeitgeist,
'Zeitgeist Node': nodeZeitgeist,
Zenlink: nodeZenlink,
'Zenlink Collator': nodeZenlink
}).reduce<Record<string, unknown>>((logos, [node, logo]) => ({
...logos,
[sanitize(node)]: logo
}), {});
// Alphabetical overrides based on the actual specName
export const specLogos = Object.entries({
oak: chainOAK,
shell: nodeShell,
statemine: nodeStatemine,
statemint: nodeStatemine,
turing: chainTuring,
westmint: nodeStatemine
}).reduce<Record<string, unknown>>((logos, [spec, logo]) => ({
...logos,
[sanitize(spec)]: logo
}), {});
// Alphabetical overrides when we pass an explicit logo name
// NOTE: Matches with what is defined as "info" in settings/endpoints.ts
// (Generally would be the 'network' key in the known ss58 as per
// https://github.com/polkadot-js/common/blob/master/packages/networks/src/index.ts)
export const namedLogos: Record<string, unknown> = {
'3dpass': chain3dpass,
'3dpass-testnet': chain3dpass,
acala: chainAcala,
ajuna: nodeAjuna,
aleph: chainAleph,
alexander: nodePolkadot,
altair: chainAltair,
amplitude: chainAmplitude,
arctic: nodeArctic,
'Ares Gladios': nodeAresGladios,
'Ares Odyssey': nodeAresOdyssey,
astar: chainAstar,
automata: nodeAutomata,
'automata-contextfree': nodeAutomata,
aventus: chainAventus,
bajun: nodeBajun,
basilisk: nodeBasilisk,
beast: nodeBeast,
bifrost: nodeBifrost,
'Bifrost Stage Testnet': nodeBifrost,
bitcountry: nodeBitCountry,
bitcountryPioneer: nodePioneerNetwork,
bitgreen: chainBitgreen,
brainstorm: chainBrainstorm,
calamari: nodeCalamari,
centrifuge: nodeCentrifuge,
cess: nodeCESS,
chainoli: nodeChainOLI,
chainx: nodeChainx,
charcoal: nodeCentrifuge,
clover: nodeClover,
coinversation: chainCoinversation,
'competitors-club': chainCompetitorsClub,
composableFinance: chainComposableFinance,
crab: nodeCrab,
creditcoin: chainCreditcoin,
'creditcoin-testnet': chainCreditcoinTest,
'crown-sterling': chainCrownSterling,
crust: nodeCrust,
'Crust Maxwell': nodeCrustMaxwell,
'Crust Testnet': nodeCrustParachain,
crustParachain: nodeCrustParachain,
'Dali Testnet (Rococo Relay)': chainRococoDali,
DaliTestnet: nodeDaliTestnet,
darwinia: nodeDarwinia,
datahighway: nodeDataHighway,
debio: chainDeBio,
'debio-testnet': chainDeBio,
'dock-pos-mainnet': nodeDockMainnet,
'dock-pos-testnet': nodeDockTestnet,
dolphin: nodeDolphin,
dorafactory: chainDorafactory,
dotmog: nodeDotMog,
eave: nodeEave,
edgeware: nodeEdgeware,
efinity: nodeEfinity,
Eggnet: chainEggnet,
empty: emptyLogo,
encointer: nodeEncointer,
equilibrium: chainEquilibrium,
fantour: nodeFantour,
frequency: chainFrequency,
galital: nodeGalital,
galois: nodeMath,
gamepower: nodeGamePower,
geek: nodeGeek,
geminis: chainGeminis,
genshiro: chainGenshiro,
gm: chainGM,
halongbay: nodePolkaFoundry,
hanonycash: nodeHanonycash,
hashed: nodeHashed,
heiko: chainParallel,
helixstreet: nodeHelixstreet,
hydra: chainSnakenet,
idavoll: nodeIdavoll,
imbue: nodeImbue,
integritee: nodeIntegritee,
interlay: chainInterlay,
'interlay-testnet': chainInterlay,
ipci: nodeIPCI,
ipse: nodeIpse,
jaz: nodeJaz,
joystream: nodeJoystream,
jupiter: nodeJupiter,
kabocha: nodeKabocha,
'Kabocha (kabsoup)': nodeKabocha,
kapex: nodeTotem,
karura: chainKarura,
kerria: nodeParallel,
khala: nodeKhala,
kico: chainKico,
kico2: chainKico,
kilt: nodeKilt,
kintsugi: chainKintsugi,
'kintsugi-testnet': chainKintsugi,
klugdossier: nodeKlug,
kpron: nodeApron,
kulupu: nodeKulupu,
kusama: chainKusama,
kusari: nodeKusari,
kylin: nodeKylin,
laminar: nodeLaminar,
listen: chainListen,
litentry: nodeLitentry,
litmus: nodeLitmus,
logion: chainLogion,
loomNetwork: nodeLoomNetwork,
luhn: nodeLuhn,
mangata: chainMangata,
manta: nodeManta,
mars: nodeAresMars,
mathchain: nodeMath,
minix: nodeMinix,
moonbaseAlpha: moonbase,
moonbeam,
moonriver,
moonrock: nodeMoonrock,
moonshadow,
mybank,
myriad: chainMyriad,
'myriad-testnet': chainMyriad,
nftmart: nodeNFTMart,
nodle: nodeNodle,
oak: chainOAK,
odyssey: nodeAresOdyssey,
omnibtc: nodeOmniBTC,
opal: nodeUniqueWestend,
opportunity: nodeOpportunity,
'origintrail-parachain': chainOriginTrail,
pangolin: nodePangolin,
pangoro: nodePangoro,
parallel: chainParallel,
pendulum: chainPendulum,
phala: nodePhala,
phoenix: nodePhoenix,
picasso: chainPicasso,
pichiu: nodePichiu,
polkadex: nodePolkadex,
polkadot: nodePolkadot,
polkadotCollectives: chainWestendColl,
polkafoundry: nodePolkaFoundry,
polkasmith: nodePolkaSmith,
polymesh: nodePolymesh,
pontem: nodePontem,
prism: nodePrism,
quartz: nodeQuartz,
realis: nodeRealis,
riochain: nodeRiochain,
riodefi: chainRiodefi,
robonomics: nodeRobonomics,
rocfinity: nodeRocfinity,
rocky: nodeCrust,
rococo: chainRococo,
rococoAcala: chainAcala,
rococoAcurast: chainAcurast,
rococoAmplitude: chainAmplitude,
rococoApron: nodeApron,
rococoAres: nodeAres,
rococoAventus: nodeAventus,
rococoBajun: nodeBajun,
rococoBasilisk: nodeBasilisk,
rococoBifrost: nodeBifrost,
rococoBitCountry: nodeBitCountry,
rococoBitgreen: chainBitgreen,
rococoCatalyst: nodeCentrifuge,
rococoChainX: nodeChainx,
rococoClover: nodeClover,
rococoConfti: nodeConfti,
rococoContracts: chainRococoContracts,
rococoCrab: nodeCrab,
rococoCrust: nodeCrust,
rococoDali: chainRococoDali,
rococoDarwinia: nodeDarwinia,
rococoDolphin: nodeDolphin,
rococoEave: nodeEave,
rococoEncointer: nodeEncointer,
rococoFrequency: chainFrequency,
rococoGalital: nodeGalital,
rococoGenshiro: chainGenshiro,
rococoHelixstreet: nodeHelixstreet,
rococoHydraDX: chainHydrate,
rococoIdavoll: nodeIdavoll,
rococoImbue: nodeImbue,
rococoIntegritee: nodeIntegritee,
rococoInterBTC: chainInterlay,
rococoJupiter: nodeJupiter,
rococoKabocha: nodeKabocha,
rococoKilt: nodeKilt,
rococoKonomi: nodeKonomi,
rococoKylin: nodeKylin,
rococoLaminar: nodeLaminar,
rococoLitentry: nodeLitentry,
rococoLoomNetwork: nodeLoomNetwork,
rococoMangata: chainMangata,
rococoManta: nodeManta,
rococoMathChain: nodeMath,
rococoMd5: nodeMd5,
rococoMoonrock: nodeMoonrock,
rococoMoonsama: chainMoonsamaDevelopment,
rococoNodle: nodeNodle,
rococoOriginTrailParachain: chainOriginTrailTestnet,
rococoPangolin: nodePangolin,
rococoParami: nodeParami,
rococoPhala: nodePhala,
rococoPhoenix: nodePhoenix,
rococoPolkaFoundry: nodePolkaFoundry,
rococoPrism: nodePrism,
rococoSingLavender: nodeSingLavender,
rococoSora: nodeSora,
rococoSpreehafen: chainRoccoDataHighway,
rococoStandard: chainStandard,
rococoStatemint: nodeStatemine,
rococoSubDAO: nodeSubDAO,
rococoSubsocial: nodeSoonsocialX,
rococoSubzero: nodeZero,
rococoTick: chainRococoTick,
rococoTinkernet: chainTinker,
rococoTrack: chainRococoTrack,
rococoTrick: chainRococoTrick,
rococoTrustBase: nodeTrustBase,
rococoTuring: chainTuring,
rococoUnitNetwork: nodeUnitNetwork,
rococoUnitv: nodeUnitv,
rococoVirto: chainVirto,
rococoVln: nodeVln,
rococoWatr: chainWatr,
rococoZeitgeist: nodeZeitgeist,
rococoZenlink: nodeZenlink,
sakura: nodeSakura,
shadow: nodeShadow,
shell: nodeShell,
sherpax: nodeSherpax,
shibuya: chainShiden,
shiden: chainShiden,
singLavender: nodeSingLavender,
skyekiwi: chainSkyeKiwi,
snakenet: chainSnakenet,
snow: nodeSnow,
snowbridge: chainSnowbridge,
soonsocial: nodeSoonsocial,
sora: nodeSora,
'sora-substrate': nodeSora,
sora_ksm: nodeSora,
spanner: chainSpanner,
stafi: nodeStafi,
stagex: nodeTotem,
statemine: nodeStatemine,
statemint: nodeStatemine,
subdao: nodeSubDAO,
'SubDAO PC1': nodeSubDAO,
'SubDAO Staging': nodeSubDAO,
subgame: nodeSubGame,
'SubGame Gamma': nodeSubGame,
'SubGame Staging': nodeSubGame,
subsocial: nodeSubsocial,
subsocialX: nodeSubsocialX,
subspace: nodeSubspace,
'subspace-farmnet': nodeSubspace,
'subspace-gemini-1': nodeSubspace,
'subspace-gemini-2a': nodeSubspace,
substrate: nodeSubstrate,
substrateContractsNode: nodeSubstrateContractsNode,
swapdex: nodeSwapdex,
t0rn: chainT0rn,
tanganika: chainKusamaDataHighway,
ternoa: nodeTernoa,
'ternoa-alphanet': nodeTernoa,
'ternoa-testnet': nodeTernoa,
tinker: chainTinker,
'totem-parachain': nodeTotem,
trustbase: nodeTrustBase,
turing: chainTuring,
uniarts: nodeUniarts,
unique: nodeUnique,
unitnetwork: nodeUnitNetwork,
unitv: nodeUnitv,
unorthodox: chainUnorthodox,
vanilla: nodeParallel,
vara: nodeVara,
vln: nodeVln,
web3games: nodeWeb3games,