diff --git a/packages/apps-config/src/endpoints/production.ts b/packages/apps-config/src/endpoints/production.ts index 8db9f23219..47b7ac746a 100644 --- a/packages/apps-config/src/endpoints/production.ts +++ b/packages/apps-config/src/endpoints/production.ts @@ -6,8 +6,6 @@ import type { EndpointOption } from './types'; export * from './productionRelayKusama'; export * from './productionRelayPolkadot'; -/* eslint-disable sort-keys */ - // The available endpoints that will show in the dropdown. For the most part (with the exception of // Polkadot) we try to keep this to live chains only, with RPCs hosted by the community/chain vendor // info: The chain logo name as defined in ../ui/logos/index.ts in namedLogos (this also needs to align with @polkadot/networks) @@ -18,342 +16,339 @@ export * from './productionRelayPolkadot'; export const prodChains: EndpointOption[] = [ { info: '3dpass', - text: '3DPass', providers: { '3dpass': 'wss://rpc2.3dpass.org' - } + }, + text: '3DPass' }, { info: 'aleph', - text: 'Aleph Zero', providers: { 'Aleph Zero Foundation': 'wss://ws.azero.dev' - } + }, + text: 'Aleph Zero' }, { info: 'Ares Odyssey', - text: 'Ares Odyssey', providers: { 'Ares Protocol': 'wss://odyssey.aresprotocol.io' - } + }, + text: 'Ares Odyssey' }, { info: 'automata', - text: 'Automata', providers: { 'Automata Network': 'wss://api.ata.network', OnFinality: 'wss://automata.api.onfinality.io/public-ws' - } + }, + text: 'Automata' }, { info: 'bittensor', - text: 'Bittensor', providers: { 'Opentensor Fdn (Archive)': 'wss://archivelb.nakamoto.opentensor.ai:9943' - } + }, + text: 'Bittensor' }, { - dnslink: 'centrifuge', info: 'centrifuge', - text: 'Centrifuge Standalone [Archived]', providers: { // Centrifuge: 'wss://fullnode.centrifuge.io' // https://github.com/polkadot-js/apps/issues/8012 - } + }, + text: 'Centrifuge Standalone [Archived]' }, { info: 'chainx', - text: 'ChainX', providers: { ChainX: 'wss://mainnet.chainx.org/ws' - } + }, + text: 'ChainX' }, { info: 'competitors-club', - text: 'Competitors Club', providers: { // 'Competitors Club': 'wss://node0.competitors.club/wss' // https://github.com/polkadot-js/apps/issues/8263 - } + }, + text: 'Competitors Club' }, { info: 'creditcoin', - text: 'Creditcoin', providers: { 'Creditcoin Foundation': 'wss://rpc.mainnet.creditcoin.network/ws' - } + }, + text: 'Creditcoin' }, { info: 'crown-sterling', - text: 'Crown Sterling', providers: { 'Crown Sterling': 'wss://blockchain.crownsterling.io' - } + }, + text: 'Crown Sterling' }, { info: 'crust', - text: 'Crust Network', providers: { 'Crust Network': 'wss://rpc.crust.network', OnFinality: 'wss://crust.api.onfinality.io/public-ws' - } + }, + text: 'Crust Network' }, { info: 'darwinia', - text: 'Darwinia', providers: { 'Darwinia Network': 'wss://rpc.darwinia.network', Dwellir: 'wss://darwinia-rpc.dwellir.com' - } + }, + text: 'Darwinia' }, { info: 'crab', - text: 'Darwinia Crab', providers: { 'Darwinia Network': 'wss://crab-rpc.darwinia.network', Dwellir: 'wss://darwiniacrab-rpc.dwellir.com', OnFinality: 'wss://darwinia-crab.api.onfinality.io/public-ws' - } + }, + text: 'Darwinia Crab' }, { info: 'debio', - text: 'DeBio', providers: { DeBio: 'wss://ws-rpc.debio.network' - } + }, + text: 'DeBio' }, { info: 'dock-pos-mainnet', - text: 'Dock', providers: { 'Dock Association': 'wss://mainnet-node.dock.io' - } + }, + text: 'Dock' }, { - dnslink: 'edgeware', info: 'edgeware', - text: 'Edgeware', providers: { - JelliedOwl: 'wss://edgeware.jelliedowl.net', - 'Commonwealth Labs': 'wss://mainnet2.edgewa.re' + 'Commonwealth Labs': 'wss://mainnet2.edgewa.re', + JelliedOwl: 'wss://edgeware.jelliedowl.net' // OnFinality: 'wss://edgeware.api.onfinality.io/public-ws', // https://github.com/polkadot-js/apps/issues/8768 - } + }, + text: 'Edgeware' }, { info: 'efinity', - text: 'Efinity', providers: { // Efinity: 'wss://rpc.efinity.io' // https://github.com/polkadot-js/apps/pull/6761 - } + }, + text: 'Efinity' }, { info: 'equilibrium', - text: 'Equilibrium', providers: { // Equilibrium: 'wss://node.equilibrium.io' // https://github.com/polkadot-js/apps/issues/7219 - } + }, + text: 'Equilibrium' }, { info: 'genshiro', - text: 'Genshiro', providers: { Equilibrium: 'wss://node.genshiro.io' - } + }, + text: 'Genshiro' }, { info: 'hanonycash', - text: 'Hanonycash', providers: { // Hanonycash: 'wss://rpc.hanonycash.com' // https://github.com/polkadot-js/apps/runs/2755409009?check_suite_focus=true - } + }, + text: 'Hanonycash' }, { info: 'joystream', - text: 'Joystream', providers: { Jsgenesis: 'wss://rpc.joystream.org' - } + }, + text: 'Joystream' }, { - dnslink: 'kulupu', info: 'kulupu', - text: 'Kulupu', providers: { Kulupu: 'wss://rpc.kulupu.corepaper.org/ws' - } + }, + text: 'Kulupu' }, { info: 'kusari', - text: 'Kusari', providers: { Swapdex: 'wss://ws.kusari.network' - } + }, + text: 'Kusari' }, { info: 'logion', - text: 'logion Standalone', providers: { Logion: 'wss://rpc01.logion.network' - } + }, + text: 'logion Standalone' }, { info: 'mathchain', - text: 'MathChain', providers: { // MathWallet: 'wss://mathchain-asia.maiziqianbao.net/ws', // https://github.com/polkadot-js/apps/issues/8525 // 'MathWallet Backup': 'wss://mathchain-us.maiziqianbao.net/ws' // https://github.com/polkadot-js/apps/issues/8525 - } + }, + text: 'MathChain' }, { info: 'minix', - text: 'MiniX', providers: { // ChainX: 'wss://minichain-mainnet.coming.chat/ws' // https://github.com/polkadot-js/apps/issues/7182 - } + }, + text: 'MiniX' }, { info: 'myriad', - text: 'Myriad', providers: { Myriad: 'wss://ws-rpc.myriad.social' - } + }, + text: 'Myriad' }, { info: 'neatcoin', - text: 'Neatcoin', providers: { Neatcoin: 'wss://rpc.neatcoin.org/ws' - } + }, + text: 'Neatcoin' }, { info: 'nftmart', - text: 'NFTMart', providers: { NFTMart: 'wss://mainnet.nftmart.io/rpc/ws' - } + }, + text: 'NFTMart' }, { info: 'nodle', - text: 'Nodle', providers: { // Nodle: 'wss://main3.nodleprotocol.io', // https://github.com/polkadot-js/apps/issues/7652 // OnFinality: 'wss://nodle.api.onfinality.io/public-ws' // https://github.com/polkadot-js/apps/issues/8013 - } + }, + text: 'Nodle' }, { info: 'polkadex', - text: 'Polkadex', providers: { - 'Polkadex Team': 'wss://mainnet.polkadex.trade', - OnFinality: 'wss://polkadex.api.onfinality.io/public-ws' - } + OnFinality: 'wss://polkadex.api.onfinality.io/public-ws', + 'Polkadex Team': 'wss://mainnet.polkadex.trade' + }, + text: 'Polkadex' }, { info: 'polymesh', - text: 'Polymesh Mainnet', providers: { Polymath: 'wss://mainnet-rpc.polymesh.network' - } + }, + text: 'Polymesh Mainnet' }, { info: 'riochain', - text: 'RioChain', providers: { RioChain: 'wss://node.v1.riochain.io' - } + }, + text: 'RioChain' }, { info: 'robonomics', - text: 'Robonomics', providers: { // Airalab: 'wss://kusama.rpc.robonomics.network/' // https://github.com/polkadot-js/apps/pull/6761 - } + }, + text: 'Robonomics' }, { info: 'sherpax', - text: 'SherpaX', providers: { ChainX: 'wss://mainnet.sherpax.io' - } + }, + text: 'SherpaX' }, { info: 'sora-substrate', - text: 'SORA', providers: { - 'SORA Parliament Ministry of Finance #2': 'wss://mof2.sora.org', + OnFinality: 'wss://sora.api.onfinality.io/public-ws', 'SORA Parliament Ministry of Finance': 'wss://ws.mof.sora.org', - 'SORA Parliament Ministry of Finance #3': 'wss://mof3.sora.org', - OnFinality: 'wss://sora.api.onfinality.io/public-ws' - } + 'SORA Parliament Ministry of Finance #2': 'wss://mof2.sora.org', + 'SORA Parliament Ministry of Finance #3': 'wss://mof3.sora.org' + }, + text: 'SORA' }, { info: 'spanner', - text: 'Spanner', providers: { // Spanner: 'wss://wss.spannerprotocol.com' // https://github.com/polkadot-js/apps/issues/6547 - } + }, + text: 'Spanner' }, { info: 'stafi', isDisabled: true, // Cannot find type ChainId - text: 'Stafi', providers: { 'Stafi Foundation': 'wss://mainnet-rpc.stafi.io' - } + }, + text: 'Stafi' }, { info: 'subgame', - text: 'SubGame', providers: { SubGame: 'wss://mainnet.subgame.org/' - } + }, + text: 'SubGame' }, { info: 'subsocial', - text: 'Subsocial', providers: { // DappForce: 'wss://rpc.subsocial.network' // https://github.com/polkadot-js/apps/issues/8046 - } + }, + text: 'Subsocial' }, { info: 'swapdex', - text: 'Swapdex', providers: { Swapdex: 'wss://ws.swapdex.network' - } + }, + text: 'Swapdex' }, { info: 'ternoa', - text: 'Ternoa', providers: { CapsuleCorp: 'wss://mainnet.ternoa.network' - } + }, + text: 'Ternoa' }, { info: 'thebifrost-mainnet', - text: 'The Bifrost Mainnet', providers: { 'Pilab #1': 'wss://public-01.mainnet.thebifrost.io/wss', 'Pilab #2': 'wss://public-02.mainnet.thebifrost.io/wss' - } + }, + text: 'The Bifrost Mainnet' }, { info: 'uniarts', - text: 'UniArts', providers: { UniArts: 'wss://mainnet.uniarts.vip:9443' - } + }, + text: 'UniArts' }, { info: 'unitnetwork', - text: 'UnitNetwork', providers: { // UnitNetwork: 'wss://www.unitnode3.info:443' - } + }, + text: 'UnitNetwork' }, { info: 'westlake', - text: 'Westlake', providers: { // DataHighway: 'wss://westlake.datahighway.com' // https://github.com/polkadot-js/apps/issues/7293 - } + }, + text: 'Westlake' } ]; diff --git a/packages/apps-config/src/endpoints/productionRelayKusama.ts b/packages/apps-config/src/endpoints/productionRelayKusama.ts index 13ee2a737d..6e399ca786 100644 --- a/packages/apps-config/src/endpoints/productionRelayKusama.ts +++ b/packages/apps-config/src/endpoints/productionRelayKusama.ts @@ -6,8 +6,6 @@ import type { EndpointOption } from './types'; import { KUSAMA_GENESIS } from '../api/constants'; import { getTeleports } from './util'; -/* eslint-disable sort-keys */ - // The available endpoints that will show in the dropdown. For the most part (with the exception of // Polkadot) we try to keep this to live chains only, with RPCs hosted by the community/chain vendor // info: The chain logo name as defined in ../ui/logos/index.ts in namedLogos (this also needs to align with @polkadot/networks) @@ -17,554 +15,553 @@ import { getTeleports } from './util'; // IMPORTANT: Alphabetical based on text export const prodParasKusama: EndpointOption[] = [ { - info: 'altair', homepage: 'https://centrifuge.io/altair', + info: 'altair', paraId: 2088, - text: 'Altair', providers: { Centrifuge: 'wss://fullnode.altair.centrifuge.io', OnFinality: 'wss://altair.api.onfinality.io/public-ws' - } + }, + text: 'Altair' }, { - info: 'amplitude', homepage: 'https://pendulumchain.org/amplitude', + info: 'amplitude', paraId: 2124, - text: 'Amplitude', providers: { - PendulumChain: 'wss://rpc-amplitude.pendulumchain.tech', - Dwellir: 'wss://amplitude-rpc.dwellir.com' - } + Dwellir: 'wss://amplitude-rpc.dwellir.com', + PendulumChain: 'wss://rpc-amplitude.pendulumchain.tech' + }, + text: 'Amplitude' }, { - info: 'bajun', homepage: 'https://ajuna.io', + info: 'bajun', paraId: 2119, - text: 'Bajun Network', providers: { AjunaNetwork: 'wss://rpc-parachain.bajun.network', Dwellir: 'wss://bajun-rpc.dwellir.com', OnFinality: 'wss://bajun.api.onfinality.io/public-ws' - } + }, + text: 'Bajun Network' }, { - info: 'basilisk', homepage: 'https://app.basilisk.cloud', + info: 'basilisk', paraId: 2090, - text: 'Basilisk', providers: { Basilisk: 'wss://rpc.basilisk.cloud', Dwellir: 'wss://basilisk-rpc.dwellir.com' - } + }, + text: 'Basilisk' }, { - info: 'bifrost', homepage: 'https://ksm.vtoken.io/?ref=polkadotjs', + info: 'bifrost', paraId: 2001, - text: 'Bifrost', providers: { + Dwellir: 'wss://bifrost-rpc.dwellir.com', Liebi: 'wss://bifrost-rpc.liebi.com/ws', - OnFinality: 'wss://bifrost-parachain.api.onfinality.io/public-ws', - Dwellir: 'wss://bifrost-rpc.dwellir.com' - } + OnFinality: 'wss://bifrost-parachain.api.onfinality.io/public-ws' + }, + text: 'Bifrost' }, { - info: 'bitcountryPioneer', homepage: 'https://bit.country/?ref=polkadotjs', + info: 'bitcountryPioneer', paraId: 2096, - text: 'Bit.Country Pioneer', providers: { OnFinality: 'wss://pioneer.api.onfinality.io/public-ws' - } + }, + text: 'Bit.Country Pioneer' }, { - info: 'calamari', homepage: 'https://www.calamari.network/', + info: 'calamari', paraId: 2084, - text: 'Calamari', providers: { 'Manta Network': 'wss://ws.calamari.systems/' - } + }, + text: 'Calamari' }, { - info: 'shadow', homepage: 'https://crust.network/', + info: 'shadow', paraId: 2012, - text: 'Crust Shadow', providers: { Crust: 'wss://rpc-shadow.crust.network/' - } + }, + text: 'Crust Shadow' }, { - info: 'shadow', homepage: 'https://crust.network/', - paraId: 2225, - text: 'Crust Shadow 2', + info: 'shadow', isUnreachable: true, + paraId: 2225, providers: { // also duplicated right above (hence marked unreachable) // Crust: 'wss://rpc-shadow.crust.network/' // https://github.com/polkadot-js/apps/issues/8355 - } + }, + text: 'Crust Shadow 2' }, { - info: 'ipci', homepage: 'https://ipci.io', + info: 'ipci', paraId: 2222, - text: 'DAO IPCI', providers: { Airalab: 'wss://kusama.rpc.ipci.io' - } + }, + text: 'DAO IPCI' }, { - info: 'crab', homepage: 'https://crab.network', + info: 'crab', paraId: 2105, - text: 'Darwinia Crab', providers: { 'Darwinia Network': 'wss://crab-parachain-rpc.darwinia.network/' - } + }, + text: 'Darwinia Crab' }, { - info: 'dorafactory', homepage: 'https://dorafactory.org/kusama/', + info: 'dorafactory', paraId: 2115, - text: 'Dora Factory', providers: { DORA: 'wss://kusama.dorafactory.org' - } + }, + text: 'Dora Factory' }, { - info: 'genshiro', homepage: 'https://genshiro.equilibrium.io', + info: 'genshiro', isUnreachable: true, paraId: 2024, - text: 'Genshiro', providers: { Equilibrium: 'wss://node.genshiro.io' - } + }, + text: 'Genshiro' }, { - info: 'genshiro', homepage: 'https://genshiro.equilibrium.io', + info: 'genshiro', isUnreachable: true, paraId: 2226, - text: 'Genshiro crowdloan 2', providers: { Equilibrium: 'wss://node.genshiro.io' - } + }, + text: 'Genshiro crowdloan 2' }, { - info: 'gm', homepage: 'https://gmordie.com', + info: 'gm', paraId: 2123, - text: 'GM', providers: { // GMorDieDAO: 'wss://kusama.gmordie.com', // https://github.com/polkadot-js/apps/issues/8457 - 'bLd Nodes': 'wss://ws.gm.bldnodes.org', + 'GM Intern': 'wss://intern.gmordie.com', // TerraBioDAO: 'wss://ws-node-gm.terrabiodao.org', // https://github.com/polkadot-js/apps/issues/8867 Leemo: 'wss://leemo.gmordie.com', - 'GM Intern': 'wss://intern.gmordie.com', - // NOTE: Keep this as the last entry, nothing after it - 'light client': 'light://substrate-connect/kusama/gm' // NOTE: Keep last - } + 'bLd Nodes': 'wss://ws.gm.bldnodes.org', + 'light client': 'light://substrate-connect/kusama/gm' + }, + text: 'GM' }, { - info: 'imbue', homepage: 'https://imbue.network', + info: 'imbue', paraId: 2121, - text: 'Imbue Network', providers: { 'Imbue Network': 'wss://imbue-kusama.imbue.network' - } + }, + text: 'Imbue Network' }, { - info: 'integritee', homepage: 'https://integritee.network', + info: 'integritee', paraId: 2015, - text: 'Integritee Network', providers: { Integritee: 'wss://kusama.api.integritee.network', OnFinality: 'wss://integritee-kusama.api.onfinality.io/public-ws' - } + }, + text: 'Integritee Network' }, { - info: 'tinker', homepage: 'https://invarch.network/tinkernet', + info: 'tinker', paraId: 2125, - text: 'InvArch Tinkernet', providers: { // 'InvArch Team': 'wss://tinker.invarch.network', // https://github.com/polkadot-js/apps/issues/8623 OnFinality: 'wss://invarch-tinkernet.api.onfinality.io/public-ws', - // NOTE: Keep this as the last entry, nothing after it - 'light client': 'light://substrate-connect/kusama/tinkernet' // NOTE: Keep last - } + 'light client': 'light://substrate-connect/kusama/tinkernet' + }, + text: 'InvArch Tinkernet' }, { - info: 'kabocha', homepage: 'https://kabocha.network', + info: 'kabocha', paraId: 2113, - text: 'Kabocha', providers: { JelliedOwl: 'wss://kabocha.jelliedowl.net' - } + }, + text: 'Kabocha' }, { - info: 'karura', homepage: 'https://acala.network/karura/join-karura', + info: 'karura', paraId: 2000, - text: 'Karura', providers: { 'Acala Foundation 0': 'wss://karura-rpc-0.aca-api.network', 'Acala Foundation 1': 'wss://karura-rpc-1.aca-api.network', 'Acala Foundation 2': 'wss://karura-rpc-2.aca-api.network/ws', 'Acala Foundation 3': 'wss://karura-rpc-3.aca-api.network/ws', - 'Polkawallet 0': 'wss://karura.polkawallet.io', + Dwellir: 'wss://karura-rpc.dwellir.com', OnFinality: 'wss://karura.api.onfinality.io/public-ws', - Dwellir: 'wss://karura-rpc.dwellir.com' - } + 'Polkawallet 0': 'wss://karura.polkawallet.io' + }, + text: 'Karura' }, { - info: 'khala', homepage: 'https://phala.network/', + info: 'khala', paraId: 2004, - text: 'Khala Network', providers: { - Phala: 'wss://khala-api.phala.network/ws', - OnFinality: 'wss://khala.api.onfinality.io/public-ws', Dwellir: 'wss://khala-rpc.dwellir.com', + OnFinality: 'wss://khala.api.onfinality.io/public-ws', + Phala: 'wss://khala-api.phala.network/ws', Pinknode: 'wss://public-rpc.pinknode.io/khala' - } + }, + text: 'Khala Network' }, { - info: 'kico', homepage: 'https://dico.io/', + info: 'kico', paraId: 2107, - text: 'KICO', providers: { 'DICO Foundation': 'wss://rpc.kico.dico.io' // 'DICO Foundation 2': 'wss://rpc.api.kico.dico.io' // https://github.com/polkadot-js/apps/issues/8203 - } + + }, + text: 'KICO' }, { - info: 'kico 2', homepage: 'https://dico.io/', + info: 'kico 2', paraId: 2235, - text: 'KICO 2', providers: { // 'DICO Foundation': 'wss://rpc.kico2.dico.io' // https://github.com/polkadot-js/apps/issues/8415 - } + }, + text: 'KICO 2' }, { - info: 'kintsugi', homepage: 'https://kintsugi.interlay.io/', + info: 'kintsugi', paraId: 2092, - text: 'Kintsugi BTC', providers: { 'Kintsugi Labs': 'wss://api-kusama.interlay.io/parachain', OnFinality: 'wss://kintsugi.api.onfinality.io/public-ws' - } + }, + text: 'Kintsugi BTC' }, { - info: 'kpron', homepage: 'http://apron.network/', + info: 'kpron', isUnreachable: true, paraId: 2019, - text: 'Kpron', providers: { Kpron: 'wss://kusama-kpron-rpc.apron.network/' - } + }, + text: 'Kpron' }, { - info: 'listen', homepage: 'https://listen.io/', + info: 'listen', paraId: 2118, - text: 'Listen Network', providers: { 'Listen Foundation 1': 'wss://rpc.mainnet.listen.io', 'Listen Foundation 2': 'wss://wss.mainnet.listen.io' - } + }, + text: 'Listen Network' }, { - info: 'litmus', homepage: 'https://kusama-crowdloan.litentry.com', - paraId: 2106, + info: 'litmus', isUnreachable: false, - text: 'Litmus', + paraId: 2106, providers: { Litentry: 'wss://rpc.litmus-parachain.litentry.io' - } + }, + text: 'Litmus' }, { - info: 'loomNetwork', - isUnreachable: true, // https://github.com/polkadot-js/apps/issues/5888 + // https://github.com/polkadot-js/apps/issues/5888 homepage: 'https://loomx.io/', + info: 'loomNetwork', + isUnreachable: true, paraId: 2080, - text: 'Loom Network', providers: { LoomNetwork: 'wss://kusama.dappchains.com' - } + }, + text: 'Loom Network' }, { - info: 'luhn', homepage: 'https://luhn.network/', + info: 'luhn', paraId: 2232, - text: 'Luhn Network', providers: { 'Hashed Systems': 'wss://c1.luhn.network' - } + }, + text: 'Luhn Network' }, { - info: 'mangata', homepage: 'https://mangata.finance', + info: 'mangata', paraId: 2110, - text: 'Mangata', providers: { Mangata: 'wss://prod-kusama-collator-01.mangatafinance.cloud', OnFinality: 'wss://mangata-x.api.onfinality.io/public-ws' - } + }, + text: 'Mangata' }, { - info: 'mars', homepage: 'https://www.aresprotocol.io/mars', + info: 'mars', paraId: 2008, - text: 'Mars', providers: { AresProtocol: 'wss://wss.mars.aresprotocol.io' - } + }, + text: 'Mars' }, { - info: 'moonriver', homepage: 'https://moonbeam.network/networks/moonriver/', + info: 'moonriver', paraId: 2023, - text: 'Moonriver', providers: { - 'Moonbeam Foundation': 'wss://wss.api.moonriver.moonbeam.network', Blast: 'wss://moonriver.public.blastapi.io', + 'Moonbeam Foundation': 'wss://wss.api.moonriver.moonbeam.network', OnFinality: 'wss://moonriver.api.onfinality.io/public-ws', UnitedBloc: 'wss://moonriver.unitedbloc.com:2001' - } + }, + text: 'Moonriver' }, { - info: 'heiko', homepage: 'https://parallel.fi', + info: 'heiko', paraId: 2085, - text: 'Parallel Heiko', providers: { - OnFinality: 'wss://parallel-heiko.api.onfinality.io/public-ws', // https://github.com/polkadot-js/apps/issues/8355, then enabled in https://github.com/polkadot-js/apps/pull/8413, then broken in https://github.com/polkadot-js/apps/issues/8421, reenabled for PolkadotJS + OnFinality: 'wss://parallel-heiko.api.onfinality.io/public-ws', + // https://github.com/polkadot-js/apps/issues/8355, then enabled in https://github.com/polkadot-js/apps/pull/8413, then broken in https://github.com/polkadot-js/apps/issues/8421, reenabled for PolkadotJS Parallel: 'wss://heiko-rpc.parallel.fi' - } + }, + text: 'Parallel Heiko' }, { - info: 'heiko', homepage: 'https://parallel.fi', - paraId: 2126, + info: 'heiko', isUnreachable: true, - text: 'Parallel Heiko 2', - providers: {} + paraId: 2126, + providers: {}, + text: 'Parallel Heiko 2' }, { - info: 'picasso', homepage: 'https://picasso.composable.finance/', + info: 'picasso', paraId: 2087, - text: 'Picasso', providers: { Composable: 'wss://rpc.composablenodes.tech' - } + }, + text: 'Picasso' }, { - info: 'pichiu', homepage: 'https://kylin.network/', + info: 'pichiu', paraId: 2102, - text: 'Pichiu', providers: { 'Kylin Network': 'wss://kusama.kylin-node.co.uk', OnFinality: 'wss://pichiu.api.onfinality.io/public-ws' // https://github.com/polkadot-js/apps/issues/8867, reenabled for PolkadotJS - } + }, + text: 'Pichiu' }, { - info: 'polkasmith', - isUnreachable: true, // https://github.com/polkadot-js/apps/issues/6595 homepage: 'https://polkasmith.polkafoundry.com/', + info: 'polkasmith', paraId: 2009, - text: 'PolkaSmith by PolkaFoundry', providers: { - PolkaSmith: 'wss://wss-polkasmith.polkafoundry.com' - } + // PolkaSmith: 'wss://wss-polkasmith.polkafoundry.com' // https://github.com/polkadot-js/apps/issues/6595 + }, + text: 'PolkaSmith by PolkaFoundry' }, { - info: 'quartz', homepage: 'https://unique.network/', + info: 'quartz', paraId: 2095, - text: 'QUARTZ by UNIQUE', providers: { + OnFinality: 'wss://quartz.api.onfinality.io/public-ws', // https://github.com/polkadot-js/apps/issues/8436 re-added added previously removed, still unreachable, reenabled for PolkadotJS 'Unique America': 'wss://us-ws-quartz.unique.network', 'Unique Asia': 'wss://asia-ws-quartz.unique.network', - 'Unique Europe': 'wss://eu-ws-quartz.unique.network', - OnFinality: 'wss://quartz.api.onfinality.io/public-ws' // https://github.com/polkadot-js/apps/issues/8436 re-added added previously removed, still unreachable, reenabled for PolkadotJS - } + 'Unique Europe': 'wss://eu-ws-quartz.unique.network' + }, + text: 'QUARTZ by UNIQUE' }, { - info: 'riodefi', homepage: 'https://riodefi.com', + info: 'riodefi', paraId: 2227, - text: 'RioDeFi', providers: { RioProtocol: 'wss://rio-kusama.riocorenetwork.com' - } + }, + text: 'RioDeFi' }, { - info: 'robonomics', homepage: 'http://robonomics.network/', + info: 'robonomics', paraId: 2048, - text: 'Robonomics', providers: { Airalab: 'wss://kusama.rpc.robonomics.network/', + Leemo: 'wss://robonomics.leemo.me', OnFinality: 'wss://robonomics.api.onfinality.io/public-ws', - Samsara: 'wss://robonomics.0xsamsara.com', - Leemo: 'wss://robonomics.leemo.me' - } + Samsara: 'wss://robonomics.0xsamsara.com' + }, + text: 'Robonomics' }, { - info: 'robonomics', homepage: 'http://robonomics.network/', - paraId: 2240, - text: 'Robonomics 2', + info: 'robonomics', isUnreachable: true, + paraId: 2240, providers: { Airalab: 'wss://kusama.rpc.robonomics.network/', + Leemo: 'wss://robonomics.leemo.me', OnFinality: 'wss://robonomics.api.onfinality.io/public-ws', - Samsara: 'wss://robonomics.0xsamsara.com', - Leemo: 'wss://robonomics.leemo.me' - } + Samsara: 'wss://robonomics.0xsamsara.com' + }, + text: 'Robonomics 2' }, { - info: 'sakura', homepage: 'https://clover.finance/', + info: 'sakura', isUnreachable: true, paraId: 2016, - text: 'Sakura', providers: { Clover: 'wss://api-sakura.clover.finance' - } + }, + text: 'Sakura' }, { - info: 'shiden', homepage: 'https://shiden.astar.network/', + info: 'shiden', paraId: 2007, - text: 'Shiden', providers: { - StakeTechnologies: 'wss://rpc.shiden.astar.network', Blast: 'wss://shiden.public.blastapi.io', Dwellir: 'wss://shiden-rpc.dwellir.com', OnFinality: 'wss://shiden.api.onfinality.io/public-ws', Pinknode: 'wss://public-rpc.pinknode.io/shiden', - // NOTE: Keep this as the last entry, nothing after it - 'light client': 'light://substrate-connect/kusama/shiden' // NOTE: Keep last - } + StakeTechnologies: 'wss://rpc.shiden.astar.network', + 'light client': 'light://substrate-connect/kusama/shiden' + }, + text: 'Shiden' }, { - info: 'shiden', homepage: 'https://shiden.astar.network/', - paraId: 2120, - text: 'Shiden Crowdloan 2', + info: 'shiden', isUnreachable: true, + paraId: 2120, providers: { StakeTechnologies: 'wss://rpc.shiden.astar.network' - } + }, + text: 'Shiden Crowdloan 2' }, { - info: 'snow', homepage: 'https://icenetwork.io/snow', - paraId: 2129, - text: 'SNOW Network', + info: 'snow', isUnreachable: false, + paraId: 2129, providers: { IceNetwork: 'wss://snow-rpc.icenetwork.io' - } + }, + text: 'SNOW Network' }, { - info: 'sora_ksm', homepage: 'https://sora.org/', + info: 'sora_ksm', paraId: 2011, - text: 'SORA', providers: { Soramitsu: 'wss://ws.parachain-collator-1.c1.sora2.soramitsu.co.jp' - } + }, + text: 'SORA' }, { + homepage: 'http://subgame.org/', info: 'subgame', isUnreachable: true, // https://github.com/polkadot-js/apps/issues/7982 - homepage: 'http://subgame.org/', paraId: 2018, - text: 'SubGame Gamma', providers: { SubGame: 'wss://gamma.subgame.org/' - } + }, + text: 'SubGame Gamma' }, { - info: 'subsocialX', homepage: 'https://subsocial.network/', + info: 'subsocialX', paraId: 2100, - text: 'SubsocialX', providers: { 'Dappforce 1': 'wss://para.subsocial.network' - } + }, + text: 'SubsocialX' }, { - info: 'zero', homepage: 'https://zero.io', + info: 'zero', paraId: 2236, - text: 'subzero', providers: { ZeroNetwork: 'wss://rpc-1.kusama.node.zero.io' - } + }, + text: 'subzero' }, { - info: 'tanganika', homepage: 'https://www.datahighway.com/', + info: 'tanganika', paraId: 2116, - text: 'Tanganika', providers: { DataHighway: 'wss://tanganika.datahighway.com' - } + }, + text: 'Tanganika' }, { - info: 'trustbase', - isUnreachable: true, // no providers (yet) homepage: 'https://trustbase.network/', + info: 'trustbase', + isUnreachable: true, paraId: 2078, - text: 'TrustBase', - providers: {} + providers: {}, + text: 'TrustBase' }, { - info: 'turing', homepage: 'https://oak.tech', + info: 'turing', paraId: 2114, - text: 'Turing Network', providers: { - OAK: 'wss://rpc.turing.oak.tech', - Dwellir: 'wss://turing-rpc.dwellir.com' - } + Dwellir: 'wss://turing-rpc.dwellir.com', + OAK: 'wss://rpc.turing.oak.tech' + }, + text: 'Turing Network' }, { - info: 'unorthodox', homepage: 'https://standard.tech/', + info: 'unorthodox', paraId: 2094, - text: 'Unorthodox', providers: { // 'Standard Protocol': 'wss://rpc.kusama.standard.tech' // https://github.com/polkadot-js/apps/issues/8525 - } + }, + text: 'Unorthodox' }, { - info: 'zeitgeist', homepage: 'https://zeitgeist.pm', + info: 'zeitgeist', paraId: 2101, - text: 'Zeitgeist', providers: { // ZeitgeistPM: 'wss://rpc-0.zeitgeist.pm', // https://github.com/polkadot-js/apps/issues/7982 Dwellir: 'wss://zeitgeist-rpc.dwellir.com', OnFinality: 'wss://zeitgeist.api.onfinality.io/public-ws' - } + }, + text: 'Zeitgeist' } ]; @@ -572,35 +569,35 @@ export const prodParasKusamaCommon: EndpointOption[] = [ { info: 'statemine', paraId: 1000, - text: 'Statemine', providers: { - Parity: 'wss://statemine-rpc.polkadot.io', - OnFinality: 'wss://statemine.api.onfinality.io/public-ws', Dwellir: 'wss://statemine-rpc.dwellir.com', 'Dwellir Tunisia': 'wss://statemine-rpc-tn.dwellir.com', + OnFinality: 'wss://statemine.api.onfinality.io/public-ws', + Parity: 'wss://statemine-rpc.polkadot.io', Pinknode: 'wss://public-rpc.pinknode.io/statemine', RadiumBlock: 'wss://statemine.public.curie.radiumblock.co/ws' }, - teleport: [-1] + teleport: [-1], + text: 'Statemine' }, { - info: 'encointer', homepage: 'https://encointer.org/', + info: 'encointer', paraId: 1001, - text: 'Encointer Network', providers: { 'Encointer Association': 'wss://kusama.api.encointer.org', OnFinality: 'wss://encointer.api.onfinality.io/public-ws' // https://github.com/polkadot-js/apps/issues/8553, reenabled for Polkadot JS }, - teleport: [-1] + teleport: [-1], + text: 'Encointer Network' }, { info: 'kusamaBridgeHub', paraId: 1002, - text: 'BridgeHub', providers: { Parity: 'wss://kusama-bridge-hub-rpc.polkadot.io' - } + }, + text: 'BridgeHub' } ]; @@ -608,23 +605,22 @@ export const prodRelayKusama: EndpointOption = { dnslink: 'kusama', genesisHash: KUSAMA_GENESIS, info: 'kusama', - text: 'Kusama', - providers: { - Parity: 'wss://kusama-rpc.polkadot.io', - OnFinality: 'wss://kusama.api.onfinality.io/public-ws', - Dwellir: 'wss://kusama-rpc.dwellir.com', - 'Dwellir Tunisia': 'wss://kusama-rpc-tn.dwellir.com', - RadiumBlock: 'wss://kusama.public.curie.radiumblock.co/ws', - Pinknode: 'wss://public-rpc.pinknode.io/kusama', - // 'Geometry Labs': 'wss://kusama.geometry.io/websockets', // https://github.com/polkadot-js/apps/pull/6746 - 'Automata 1RPC': 'wss://1rpc.io/ksm', - 'Dotters Net': 'wss://rpc.dotters.network/kusama', - // NOTE: Keep this as the last entry, nothing after it - 'light client': 'light://substrate-connect/kusama' // NOTE: Keep last - }, - teleport: getTeleports(prodParasKusamaCommon), linked: [ ...prodParasKusamaCommon, ...prodParasKusama - ] + ], + providers: { + // 'Geometry Labs': 'wss://kusama.geometry.io/websockets', // https://github.com/polkadot-js/apps/pull/6746 + 'Automata 1RPC': 'wss://1rpc.io/ksm', + 'Dotters Net': 'wss://rpc.dotters.network/kusama', + Dwellir: 'wss://kusama-rpc.dwellir.com', + 'Dwellir Tunisia': 'wss://kusama-rpc-tn.dwellir.com', + OnFinality: 'wss://kusama.api.onfinality.io/public-ws', + Parity: 'wss://kusama-rpc.polkadot.io', + Pinknode: 'wss://public-rpc.pinknode.io/kusama', + RadiumBlock: 'wss://kusama.public.curie.radiumblock.co/ws', + 'light client': 'light://substrate-connect/kusama' + }, + teleport: getTeleports(prodParasKusamaCommon), + text: 'Kusama' }; diff --git a/packages/apps-config/src/endpoints/productionRelayPolkadot.ts b/packages/apps-config/src/endpoints/productionRelayPolkadot.ts index 5e22a9d8ad..1a353ed555 100644 --- a/packages/apps-config/src/endpoints/productionRelayPolkadot.ts +++ b/packages/apps-config/src/endpoints/productionRelayPolkadot.ts @@ -6,8 +6,6 @@ import type { EndpointOption } from './types'; import { POLKADOT_GENESIS } from '../api/constants'; import { getTeleports } from './util'; -/* eslint-disable sort-keys */ - // The available endpoints that will show in the dropdown. For the most part (with the exception of // Polkadot) we try to keep this to live chains only, with RPCs hosted by the community/chain vendor // info: The chain logo name as defined in ../ui/logos/index.ts in namedLogos (this also needs to align with @polkadot/networks) @@ -17,407 +15,406 @@ import { getTeleports } from './util'; // IMPORTANT: Alphabetical based on text export const prodParasPolkadot: EndpointOption[] = [ { - info: 'acala', homepage: 'https://acala.network/', + info: 'acala', paraId: 2000, - text: 'Acala', providers: { 'Acala Foundation 0': 'wss://acala-rpc-0.aca-api.network', 'Acala Foundation 1': 'wss://acala-rpc-1.aca-api.network', // 'Acala Foundation 2': 'wss://acala-rpc-2.aca-api.network/ws', // https://github.com/polkadot-js/apps/issues/6965 'Acala Foundation 3': 'wss://acala-rpc-3.aca-api.network/ws', - 'Polkawallet 0': 'wss://acala.polkawallet.io', - OnFinality: 'wss://acala-polkadot.api.onfinality.io/public-ws', - Dwellir: 'wss://acala-rpc.dwellir.com' + Dwellir: 'wss://acala-rpc.dwellir.com', // 'Automata 1RPC': 'wss://1rpc.io/aca' // https://github.com/polkadot-js/apps/issues/8648 - } + OnFinality: 'wss://acala-polkadot.api.onfinality.io/public-ws', + 'Polkawallet 0': 'wss://acala.polkawallet.io' + }, + text: 'Acala' }, { - info: 'ajuna', homepage: 'https://ajuna.io', + info: 'ajuna', paraId: 2051, - text: 'Ajuna Network', providers: { AjunaNetwork: 'wss://rpc-parachain.ajuna.network', RadiumBlock: 'wss://ajuna.public.curie.radiumblock.co/ws' - } + }, + text: 'Ajuna Network' }, { - info: 'odyssey', homepage: 'https://www.aresprotocol.io/', + info: 'odyssey', paraId: 2028, - text: 'Ares Odyssey', providers: { AresProtocol: 'wss://wss.odyssey.aresprotocol.io' - } + }, + text: 'Ares Odyssey' }, { - info: 'astar', homepage: 'https://astar.network', + info: 'astar', paraId: 2006, - text: 'Astar', providers: { Astar: 'wss://rpc.astar.network', + 'Automata 1RPC': 'wss://1rpc.io/astr', Blast: 'wss://astar.public.blastapi.io', Dwellir: 'wss://astar-rpc.dwellir.com', OnFinality: 'wss://astar.api.onfinality.io/public-ws', - RadiumBlock: 'wss://astar.public.curie.radiumblock.co/ws', Pinknode: 'wss://public-rpc.pinknode.io/astar', - 'Automata 1RPC': 'wss://1rpc.io/astr', - // NOTE: Keep this as the last entry, nothing after it - 'light client': 'light://substrate-connect/polkadot/astar' // NOTE: Keep last - } + RadiumBlock: 'wss://astar.public.curie.radiumblock.co/ws', + 'light client': 'light://substrate-connect/polkadot/astar' + }, + text: 'Astar' }, { - info: 'aventus', homepage: 'https://www.aventus.io/', + info: 'aventus', paraId: 2056, - text: 'Aventus', - providers: { } + providers: {}, + text: 'Aventus' }, { - info: 'bifrost', homepage: 'https://crowdloan.bifrost.app', + info: 'bifrost', paraId: 2030, - text: 'Bifrost', providers: { Liebi: 'wss://hk.p.bifrost-rpc.liebi.com/ws', OnFinality: 'wss://bifrost-polkadot.api.onfinality.io/public-ws' - } + }, + text: 'Bifrost' }, { - info: 'bitgreen', homepage: 'https://www.bitgreen.org', - text: 'Bitgreen', + info: 'bitgreen', paraId: 2048, providers: { Bitgreen: 'wss://mainnet.bitgreen.org' - } + }, + text: 'Bitgreen' }, { - info: 'centrifuge', homepage: 'https://centrifuge.io', + info: 'centrifuge', paraId: 2031, - text: 'Centrifuge', providers: { Centrifuge: 'wss://fullnode.parachain.centrifuge.io', OnFinality: 'wss://centrifuge-parachain.api.onfinality.io/public-ws' - } + }, + text: 'Centrifuge' }, { - info: 'clover', homepage: 'https://clover.finance', + info: 'clover', paraId: 2002, - text: 'Clover', providers: { Clover: 'wss://rpc-para.clover.finance', OnFinality: 'wss://clover.api.onfinality.io/public-ws' // https://github.com/polkadot-js/apps/issues/8355, then enabled in https://github.com/polkadot-js/apps/pull/8413, then broken in https://github.com/polkadot-js/apps/issues/8421, renenabled for PolkadotJS - } + }, + text: 'Clover' }, { + homepage: 'http://www.coinversation.io/', info: 'coinversation', // this is also a duplicate as a Live and Testing network - // it is either/or, not and isUnreachable: true, - homepage: 'http://www.coinversation.io/', paraId: 2027, - text: 'Coinversation', providers: { // Coinversation: 'wss://rpc.coinversation.io/' // https://github.com/polkadot-js/apps/issues/6635 - } + }, + text: 'Coinversation' }, { - info: 'composableFinance', homepage: 'https://composable.finance/', + info: 'composableFinance', paraId: 2019, - text: 'Composable Finance', providers: { Composable: 'wss://rpc.composable.finance', OnFinality: 'wss://composable.api.onfinality.io/public-ws' - } + }, + text: 'Composable Finance' }, { - info: 'crustParachain', homepage: 'https://crust.network', + info: 'crustParachain', paraId: 2008, - text: 'Crust', providers: { Crust: 'wss://crust-parachain.crustapps.net' - } + }, + text: 'Crust' }, { - info: 'darwinia', homepage: 'https://darwinia.network/', + info: 'darwinia', paraId: 2046, - text: 'Darwinia', providers: { 'Darwinia Network': 'wss://parachain-rpc.darwinia.network' - } + }, + text: 'Darwinia' }, { - info: 'darwinia', homepage: 'https://darwinia.network/', + info: 'darwinia', paraId: 2003, - text: 'Darwinia Backup', providers: { // 'Darwinia Network': 'wss://parachain-rpc.darwinia.network' // https://github.com/polkadot-js/apps/issues/6530 - } + }, + text: 'Darwinia Backup' }, { - info: 'efinity', homepage: 'https://efinity.io', + info: 'efinity', paraId: 2021, - text: 'Efinity', providers: { - Efinity: 'wss://rpc.efinity.io', Dwellir: 'wss://efinity-rpc.dwellir.com', + Efinity: 'wss://rpc.efinity.io', OnFinality: 'wss://efinity.api.onfinality.io/public-ws' - } + }, + text: 'Efinity' }, { - info: 'equilibrium', homepage: 'https://equilibrium.io/', + info: 'equilibrium', paraId: 2011, - text: 'Equilibrium', providers: { - Equilibrium: 'wss://node.pol.equilibrium.io/', - Dwellir: 'wss://equilibrium-rpc.dwellir.com' - } + Dwellir: 'wss://equilibrium-rpc.dwellir.com', + Equilibrium: 'wss://node.pol.equilibrium.io/' + }, + text: 'Equilibrium' }, { - info: 'frequency', homepage: 'https://frequency.xyz', + info: 'frequency', paraId: 2091, - text: 'Frequency', providers: { 'Frequency 0': 'wss://0.rpc.frequency.xyz', 'Frequency 1': 'wss://1.rpc.frequency.xyz' - } + }, + text: 'Frequency' }, { + homepage: 'https://geminis.network/', info: 'geminis', isUnreachable: true, - homepage: 'https://geminis.network/', paraId: 2038, - text: 'Geminis', providers: { Geminis: 'wss://rpc.geminis.network' - } + }, + text: 'Geminis' }, { - info: 'hashed', homepage: 'https://hashed.network/', + info: 'hashed', paraId: 2093, - text: 'Hashed Network', providers: { 'Hashed Systems': 'wss://c1.hashed.network' - } + }, + text: 'Hashed Network' }, { - info: 'hydra', homepage: 'https://hydradx.io/', + info: 'hydra', paraId: 2034, - text: 'HydraDX', providers: { - 'Galactic Council': 'wss://rpc.hydradx.cloud', Dwellir: 'wss://hydradx-rpc.dwellir.com', + 'Galactic Council': 'wss://rpc.hydradx.cloud', OnFinality: 'wss://hydradx.api.onfinality.io/public-ws' // https://github.com/polkadot-js/apps/issues/8623, Renabled for PolkadotJS - } + }, + text: 'HydraDX' }, { - info: 'integritee', homepage: 'https://integritee.network', + info: 'integritee', paraId: 2039, - text: 'Integritee Shell', providers: { Integritee: 'wss://polkadot.api.integritee.network' - } + }, + text: 'Integritee Shell' }, { - info: 'interlay', homepage: 'https://interlay.io/', + info: 'interlay', paraId: 2032, - text: 'Interlay', providers: { 'Kintsugi Labs': 'wss://api.interlay.io/parachain', OnFinality: 'wss://interlay.api.onfinality.io/public-ws' - } + }, + text: 'Interlay' }, { - info: 'kapex', homepage: 'https://totemaccounting.com/', + info: 'kapex', paraId: 2007, - text: 'Kapex', providers: { Totem: 'wss://k-ui.kapex.network' - } + }, + text: 'Kapex' }, { - info: 'kilt', homepage: 'https://www.kilt.io/', + info: 'kilt', paraId: 2086, - text: 'KILT Spiritnet', providers: { + Dwellir: 'wss://kilt-rpc.dwellir.com', 'KILT Protocol': 'wss://spiritnet.kilt.io/', - OnFinality: 'wss://spiritnet.api.onfinality.io/public-ws', - Dwellir: 'wss://kilt-rpc.dwellir.com' - } + OnFinality: 'wss://spiritnet.api.onfinality.io/public-ws' + }, + text: 'KILT Spiritnet' }, { - info: 'kylin', homepage: 'https://kylin.network/', + info: 'kylin', paraId: 2052, - text: 'Kylin', providers: { 'Kylin Network': 'wss://polkadot.kylin-node.co.uk' - } + }, + text: 'Kylin' }, { - info: 'litentry', homepage: 'https://crowdloan.litentry.com', + info: 'litentry', paraId: 2013, - text: 'Litentry', providers: { - Litentry: 'wss://rpc.litentry-parachain.litentry.io', - Dwellir: 'wss://litentry-rpc.dwellir.com' - } + Dwellir: 'wss://litentry-rpc.dwellir.com', + Litentry: 'wss://rpc.litentry-parachain.litentry.io' + }, + text: 'Litentry' }, { + homepage: 'https://manta.network', info: 'manta', isUnreachable: true, // https://github.com/polkadot-js/apps/issues/7018 - homepage: 'https://manta.network', paraId: 2015, - text: 'Manta', providers: { // 'Manta Kuhlii': 'wss://kuhlii.manta.systems', // https://github.com/polkadot-js/apps/issues/6930 // 'Manta Munkiana': 'wss://munkiana.manta.systems', // https://github.com/polkadot-js/apps/issues/6871 // 'Manta Pectinata': 'wss://pectinata.manta.systems' // https://github.com/polkadot-js/apps/issues/7018 - } + }, + text: 'Manta' }, { - info: 'moonbeam', homepage: 'https://moonbeam.network/networks/moonbeam/', + info: 'moonbeam', paraId: 2004, - text: 'Moonbeam', providers: { - 'Moonbeam Foundation': 'wss://wss.api.moonbeam.network', 'Automata 1RPC': 'wss://1rpc.io/glmr', Blast: 'wss://moonbeam.public.blastapi.io', + 'Moonbeam Foundation': 'wss://wss.api.moonbeam.network', OnFinality: 'wss://moonbeam.api.onfinality.io/public-ws', UnitedBloc: 'wss://moonbeam.unitedbloc.com:3001' - } + }, + text: 'Moonbeam' }, { - info: 'nodle', homepage: 'https://nodle.com', + info: 'nodle', paraId: 2026, - text: 'Nodle', providers: { - OnFinality: 'wss://nodle-parachain.api.onfinality.io/public-ws', Dwellir: 'wss://eden-rpc.dwellir.com', + OnFinality: 'wss://nodle-parachain.api.onfinality.io/public-ws', Pinknode: 'wss://public-rpc.pinknode.io/nodle' - } + }, + text: 'Nodle' }, { - info: 'oak', homepage: 'https://oak.tech', + info: 'oak', isUnreachable: true, paraId: 2090, - text: 'OAK Network', providers: { OAK: 'wss://rpc.oak.tech' - } + }, + text: 'OAK Network' }, { + homepage: 'https://www.omnibtc.finance', info: 'omnibtc', isUnreachable: true, - homepage: 'https://www.omnibtc.finance', - text: 'OmniBTC', paraId: 2053, providers: { OmniBTC: 'wss://psc-parachain.coming.chat' - } + }, + text: 'OmniBTC' }, { - info: 'origintrail-parachain', homepage: 'https://parachain.origintrail.io', - text: 'OriginTrail', + info: 'origintrail-parachain', paraId: 2043, providers: { TraceLabs: 'wss://parachain-rpc.origin-trail.network' - } + }, + text: 'OriginTrail' }, { - info: 'parallel', homepage: 'https://parallel.fi', + info: 'parallel', paraId: 2012, - text: 'Parallel', providers: { OnFinality: 'wss://parallel.api.onfinality.io/public-ws', // https://github.com/polkadot-js/apps/issues/8355, then enabled in https://github.com/polkadot-js/apps/pull/8413, then broken in https://github.com/polkadot-js/apps/issues/8421, reenabled for PolkadotJS Parallel: 'wss://rpc.parallel.fi' - } + }, + text: 'Parallel' }, { - info: 'pendulum', homepage: 'https://pendulumchain.org/', - paraId: 2094, - text: 'Pendulum', + info: 'pendulum', isUnreachable: true, + paraId: 2094, providers: { PendulumChain: 'wss://rpc.pendulumchain.tech' - } + }, + text: 'Pendulum' }, { - info: 'phala', homepage: 'https://phala.network', + info: 'phala', paraId: 2035, - text: 'Phala Network', providers: { - Phala: 'wss://api.phala.network/ws', - OnFinality: 'wss://phala.api.onfinality.io/public-ws' - } + OnFinality: 'wss://phala.api.onfinality.io/public-ws', + Phala: 'wss://api.phala.network/ws' + }, + text: 'Phala Network' }, { - info: 'polkadex', - isUnreachable: true, // https://github.com/polkadot-js/apps/issues/7620 + // https://github.com/polkadot-js/apps/issues/7620 homepage: 'https://polkadex.trade/', + info: 'polkadex', + isUnreachable: true, paraId: 2040, - text: 'Polkadex', providers: { // 'Polkadex Team': 'wss://mainnet.polkadex.trade/', // https://github.com/polkadot-js/apps/issues/7620 // OnFinality: 'wss://polkadex.api.onfinality.io/public-ws' // https://github.com/polkadot-js/apps/issues/7620 - } + }, + text: 'Polkadex' }, { - info: 'subdao', homepage: 'https://subdao.network/', - paraId: 2018, + info: 'subdao', isUnreachable: true, - text: 'SubDAO', + paraId: 2018, providers: { SubDAO: 'wss://parachain-rpc.subdao.org' - } + }, + text: 'SubDAO' }, { - info: 'subgame', homepage: 'http://subgame.org/', + info: 'subgame', paraId: 2017, - text: 'SubGame Gamma', - providers: { - // SubGame: 'wss://gamma.subgame.org/' // https://github.com/polkadot-js/apps/pull/6761 - } + providers: {// SubGame: 'wss://gamma.subgame.org/' // https://github.com/polkadot-js/apps/pull/6761 + }, + text: 'SubGame Gamma' }, { - info: 'unique', homepage: 'https://unique.network/', + info: 'unique', paraId: 2037, - text: 'Unique Network', providers: { + OnFinality: 'wss://unique.api.onfinality.io/public-ws', 'Unique America': 'wss://us-ws.unique.network/', 'Unique Asia': 'wss://asia-ws.unique.network/', - 'Unique Europe': 'wss://eu-ws.unique.network/', - OnFinality: 'wss://unique.api.onfinality.io/public-ws' - } + 'Unique Europe': 'wss://eu-ws.unique.network/' + }, + text: 'Unique Network' } ]; @@ -425,26 +422,26 @@ export const prodParasPolkadotCommon: EndpointOption[] = [ { info: 'statemint', paraId: 1000, - text: 'Statemint', - teleport: [-1], providers: { - Parity: 'wss://statemint-rpc.polkadot.io', - OnFinality: 'wss://statemint.api.onfinality.io/public-ws', Dwellir: 'wss://statemint-rpc.dwellir.com', 'Dwellir Tunisia': 'wss://statemint-rpc-tn.dwellir.com', + OnFinality: 'wss://statemint.api.onfinality.io/public-ws', + Parity: 'wss://statemint-rpc.polkadot.io', Pinknode: 'wss://public-rpc.pinknode.io/statemint', RadiumBlock: 'wss://statemint.public.curie.radiumblock.co/ws' - } + }, + teleport: [-1], + text: 'Statemint' }, { info: 'polkadotCollectives', paraId: 1001, - text: 'Collectives', - teleport: [-1], providers: { - Parity: 'wss://polkadot-collectives-rpc.polkadot.io', - OnFinality: 'wss://collectives.api.onfinality.io/public-ws' - } + OnFinality: 'wss://collectives.api.onfinality.io/public-ws', + Parity: 'wss://polkadot-collectives-rpc.polkadot.io' + }, + teleport: [-1], + text: 'Collectives' } ]; @@ -452,23 +449,22 @@ export const prodRelayPolkadot: EndpointOption = { dnslink: 'polkadot', genesisHash: POLKADOT_GENESIS, info: 'polkadot', - text: 'Polkadot', - providers: { - Parity: 'wss://rpc.polkadot.io', - OnFinality: 'wss://polkadot.api.onfinality.io/public-ws', - Dwellir: 'wss://polkadot-rpc.dwellir.com', - 'Dwellir Tunisia': 'wss://polkadot-rpc-tn.dwellir.com', - Pinknode: 'wss://public-rpc.pinknode.io/polkadot', - RadiumBlock: 'wss://polkadot.public.curie.radiumblock.co/ws', - // 'Geometry Labs': 'wss://polkadot.geometry.io/websockets', // https://github.com/polkadot-js/apps/pull/6746 - 'Automata 1RPC': 'wss://1rpc.io/dot', - 'Dotters Net': 'wss://rpc.dotters.network/polkadot', - // NOTE: Keep this as the last entry, nothing after it - 'light client': 'light://substrate-connect/polkadot' // NOTE: Keep last - }, - teleport: getTeleports(prodParasPolkadotCommon), linked: [ ...prodParasPolkadotCommon, ...prodParasPolkadot - ] + ], + providers: { + // 'Geometry Labs': 'wss://polkadot.geometry.io/websockets', // https://github.com/polkadot-js/apps/pull/6746 + 'Automata 1RPC': 'wss://1rpc.io/dot', + 'Dotters Net': 'wss://rpc.dotters.network/polkadot', + Dwellir: 'wss://polkadot-rpc.dwellir.com', + 'Dwellir Tunisia': 'wss://polkadot-rpc-tn.dwellir.com', + OnFinality: 'wss://polkadot.api.onfinality.io/public-ws', + Parity: 'wss://rpc.polkadot.io', + Pinknode: 'wss://public-rpc.pinknode.io/polkadot', + RadiumBlock: 'wss://polkadot.public.curie.radiumblock.co/ws', + 'light client': 'light://substrate-connect/polkadot' + }, + teleport: getTeleports(prodParasPolkadotCommon), + text: 'Polkadot' }; diff --git a/packages/apps-config/src/endpoints/testing.ts b/packages/apps-config/src/endpoints/testing.ts index 341b10563f..784ad70357 100644 --- a/packages/apps-config/src/endpoints/testing.ts +++ b/packages/apps-config/src/endpoints/testing.ts @@ -6,8 +6,6 @@ import type { EndpointOption } from './types'; export * from './testingRelayRococo'; export * from './testingRelayWestend'; -/* eslint-disable sort-keys */ - // The available endpoints that will show in the dropdown. For the most part (with the exception of // Polkadot) we try to keep this to live chains only, with RPCs hosted by the community/chain vendor // info: The chain logo name as defined in ../ui/logos/index.ts in namedLogos (this also needs to align with @polkadot/networks) @@ -18,651 +16,650 @@ export * from './testingRelayWestend'; export const testChains: EndpointOption[] = [ { info: '3dpass-testnet', - text: '3DPass Testnet', providers: { '3dpass': 'wss://test-rpc.3dpass.org' - } + }, + text: '3DPass Testnet' }, { info: 'ajuna', - text: 'Ajuna Testnet', providers: { 'Ajuna Network': 'wss://rpc-test.ajuna.network' - } + }, + text: 'Ajuna Testnet' }, { info: 'aleph', - text: 'Aleph Zero Testnet', providers: { 'Aleph Zero Foundation': 'wss://ws.test.azero.dev', Dwellir: 'wss://aleph-zero-testnet-rpc.dwellir.com' - } + }, + text: 'Aleph Zero Testnet' }, { info: 'nodle', - text: 'Arcadia', providers: { // Nodle: 'wss://arcadia1.nodleprotocol.io' // https://github.com/polkadot-js/apps/issues/7652 - } + }, + text: 'Arcadia' }, { info: 'arctic', - text: 'Arctic', providers: { Arctic: 'wss://arctic-rpc.icenetwork.io:9944' - } + }, + text: 'Arctic' }, { info: 'Ares Gladios', - text: 'Ares Gladios', providers: { 'Ares Protocol': 'wss://gladios.aresprotocol.io' - } + }, + text: 'Ares Gladios' }, { info: 'jaz', - text: 'Artio Testnet', providers: { Jaz: 'wss://ws0.jaz.network' - } + }, + text: 'Artio Testnet' }, { info: 'automata-contextfree', - text: 'Automata ContextFree', providers: { 'Automata Network': 'wss://cf-api.ata.network', OnFinality: 'wss://contextfree.api.onfinality.io/public-ws' - } + }, + text: 'Automata ContextFree' }, { info: 'edgeware', - text: 'Beresheet', providers: { JelliedOwl: 'wss://beresheet.jelliedowl.net' - } + }, + text: 'Beresheet' }, { info: 'bifrost', - text: 'Bifrost Stage Network', providers: { // Liebi: 'wss://bifrost-rpc.testnet.liebi.com/ws' // https://github.com/polkadot-js/apps/issues/8139 - } + }, + text: 'Bifrost Stage Network' }, { info: 'bitcountry', - text: 'Bit.Country - Metaverse Network', providers: { 'Metaverse Foundation': 'wss://tewai-rpc.bit.country' - } + }, + text: 'Bit.Country - Metaverse Network' }, { info: 'cess-testnet', - text: 'CESS Testnet', providers: { CESS: 'wss://testnet-rpc0.cess.cloud/ws/' - } + }, + text: 'CESS Testnet' }, { info: 'clover', - text: 'Clover', providers: { // Clover: 'wss://api.clover.finance/' // Cannot construct unknown type BridgeNetworks - } + }, + text: 'Clover' }, { // this is also a duplicate as a parachain under Polkadot and live under production - // it is either/or, not and info: 'coinversation', isDisabled: true, // https://github.com/polkadot-js/apps/issues/6635 - text: 'Coinversation', providers: { Coinversation: 'wss://rpc.coinversation.io/' - } + }, + text: 'Coinversation' }, { info: 'creditcoin-testnet', - text: 'Creditcoin Testnet', providers: { 'Creditcoin Foundation': 'wss://rpc.testnet.creditcoin.network/ws' - } + }, + text: 'Creditcoin Testnet' }, { info: 'Crust Maxwell', - text: 'Crust Maxwell', providers: { // 'Crust Network': 'wss://api.crust.network/', // https://github.com/polkadot-js/apps/issues/8060 // 'DCloud Foundation': 'wss://api.decloudf.com/' // https://github.com/polkadot-js/apps/issues/8060 // Pinknode: 'wss://rpc.pinknode.io/maxwell/explorer' // https://github.com/polkadot-js/apps/issues/7058 - } + }, + text: 'Crust Maxwell' }, { info: 'datahighway', isDisabled: true, - text: 'Spreehafen', providers: { MXC: 'wss://spreehafen.datahighway.com' - } + }, + text: 'Spreehafen' }, { info: 'debio-testnet', - text: 'DeBio Testnet', providers: { DeBio: 'wss://ws-rpc.testnet.debio.network' - } + }, + text: 'DeBio Testnet' }, { info: 'dock-testnet', - text: 'Dock', providers: { // 'Dock Association': 'wss://knox-1.dock.io' // https://github.com/polkadot-js/apps/issues/6831 - } + }, + text: 'Dock' }, { info: 'dolphin', - text: 'Dolphin Testnet', providers: { // 'Dolphin Testnet': 'wss://trillian.dolphin.red' // https://github.com/polkadot-js/apps/issues/7439 - } + }, + text: 'Dolphin Testnet' }, { info: 'dotmog', - text: 'DOTMog', providers: { // DOTMog: 'wss://mogiway-01.dotmog.com' // https://github.com/polkadot-js/apps/issues/8895 - } + }, + text: 'DOTMog' }, { info: 'encointer', - text: 'Encointer Gesell', providers: { 'Encointer Association': 'wss://gesell.encointer.org' - } + }, + text: 'Encointer Gesell' }, { info: 'equilibrium', - text: 'Equilibrium', providers: { // Equilibrium: 'wss://testnet.equilibrium.io' // https://github.com/polkadot-js/apps/issues/6250 - } + }, + text: 'Equilibrium' }, { info: 'fantour', - text: 'Fantour', providers: { // FantourDev: 'wss://test-ws.fantour.io' // https://github.com/polkadot-js/apps/issues/6519 - } + }, + text: 'Fantour' }, { info: 'ferrum', - text: 'Ferrum Testnet', providers: { Ferrum: 'wss://testnet.dev.svcs.ferrumnetwork.io' - } + }, + text: 'Ferrum Testnet' }, { info: 'substrate', - text: 'Flaming Fir', providers: { // Parity: 'wss://substrate-rpc.parity.io' // https://github.com/polkadot-js/apps/issues/5571 - } + }, + text: 'Flaming Fir' }, { info: 'Galital', - text: 'Galital PC2', providers: { // StarkleyTech: 'wss://galital-rpc-testnet.starkleytech.com' // https://github.com/polkadot-js/apps/issues/6721 - } + }, + text: 'Galital PC2' }, { info: 'galois', - text: 'Galois', providers: { MathWallet: 'wss://galois-hk.maiziqianbao.net/ws', 'MathWallet Backup': 'wss://galois.maiziqianbao.net/ws' - } + }, + text: 'Galois' }, { info: 'gamepower', - text: 'GamePower', providers: { // GamePower: 'wss://gamepower.io' // https://github.com/polkadot-js/apps/issues/7223 - } + }, + text: 'GamePower' }, { info: 'geek', - text: 'GeekCash', providers: { // 'Geek Team': 'wss://testnet.geekcash.org' // https://github.com/polkadot-js/apps/issues/8361 - } + }, + text: 'GeekCash' }, { info: 'halongbay', - text: 'Halongbay Testnet', providers: { // Halongbay: 'wss://halongbay.polkafoundry.com' // https://github.com/polkadot-js/apps/issues/6871 - } + }, + text: 'Halongbay Testnet' }, { info: 'interlay-testnet', - text: 'Interlay Testnet', providers: { Interlay: 'wss://api-testnet.interlay.io/parachain/' - } + }, + text: 'Interlay Testnet' }, { info: 'brainstorm', - text: 'InvArch Brainstorm Testnet', providers: { // 'InvArch Team': 'wss://brainstorm.invarch.network/' // https://github.com/polkadot-js/apps/issues/8020 - } + }, + text: 'InvArch Brainstorm Testnet' }, { info: 'ipse', isDisabled: true, // https://github.com/polkadot-js/apps/issues/6242 - text: 'IPSE', providers: { 'IPSE China': 'wss://testnet-china.ipse.io', - 'IPSE USA': 'wss://testnet-usa.ipse.io', - 'IPSE Europe': 'wss://testnet-europe.ipse.io' - } + 'IPSE Europe': 'wss://testnet-europe.ipse.io', + 'IPSE USA': 'wss://testnet-usa.ipse.io' + }, + text: 'IPSE' }, { info: 'jupiter', - text: 'Jupiter', providers: { // Patract: 'wss://ws.jupiter-poa.patract.cn' // https://github.com/polkadot-js/apps/issues/7765 - } + }, + text: 'Jupiter' }, { info: 'khala', - text: 'Khala (Para 3)', providers: { // 'Phala Network': 'wss://pc-test-3.phala.network/khala/ws' // https://github.com/polkadot-js/apps/issues/6930 - } + }, + text: 'Khala (Para 3)' }, { info: 'kilt', - text: 'KILT Mashnet', providers: { 'KILT Protocol': 'wss://full-nodes.kilt.io:9944/' - } + }, + text: 'KILT Mashnet' }, { info: 'kilt', - text: 'KILT Peregrine', providers: { 'KILT Protocol': 'wss://peregrine.kilt.io/parachain-public-ws/' - } + }, + text: 'KILT Peregrine' }, { info: 'kintsugi-testnet', - text: 'Kintsugi Testnet', providers: { Interlay: 'wss://api-dev-kintsugi.interlay.io/parachain' - } + }, + text: 'Kintsugi Testnet' }, { info: 'klugdossier', - text: 'Klug Dossier', providers: { // 'Klug Dossier': 'wss://klugdossier.net/' // https://github.com/polkadot-js/apps/issues/8081 - } + }, + text: 'Klug Dossier' }, { info: 'kylin', - text: 'Kylin Testnet', providers: { // 'Kylin Network': 'wss://testnet.kylin-node.co.uk' // https://github.com/polkadot-js/apps/issues/6635 - } + }, + text: 'Kylin Testnet' }, { info: 'litentry', - text: 'Litentry Testnet', providers: { Litentry: 'wss://testnet.litentry.io' - } + }, + text: 'Litentry Testnet' }, { info: 'logion', - text: 'logion Para Testnet', providers: { Logion: 'wss://chimay.logion.network' - } + }, + text: 'logion Para Testnet' }, { info: 'logion', - text: 'logion Standalone Testnet', providers: { Logion: 'wss://test-rpc01.logion.network' - } + }, + text: 'logion Standalone Testnet' }, { info: 'acala', - text: 'Mandala', providers: { Acala: 'wss://mandala.polkawallet.io' // OnFinality: 'wss://acala-mandala.api.onfinality.io/public-ws' // https://github.com/polkadot-js/apps/issues/8105 - } + }, + text: 'Mandala' }, { info: 'manta', - text: 'Manta Testnet', providers: { // 'Manta Testnet': 'wss://ws.f1.testnet.manta.network' // https://github.com/polkadot-js/apps/issues/6384 - } + }, + text: 'Manta Testnet' }, { info: 'minix', - text: 'MiniX Testnet', providers: { // Chainx: 'wss://minichain.coming.chat/ws' // https://github.com/polkadot-js/apps/issues/8132 - } + }, + text: 'MiniX Testnet' }, { info: 'moonbaseAlpha', - text: 'Moonbase Alpha', providers: { - 'Moonbeam Foundation': 'wss://wss.api.moonbase.moonbeam.network', Blast: 'wss://moonbase-alpha.public.blastapi.io', + 'Moonbeam Foundation': 'wss://wss.api.moonbase.moonbeam.network', OnFinality: 'wss://moonbeam-alpha.api.onfinality.io/public-ws', UnitedBloc: 'wss://moonbase.unitedbloc.com:1001' - } + }, + text: 'Moonbase Alpha' }, { info: 'mybank', - text: 'mybank.network', providers: { // MYBANK: 'wss://mybank.network/substrate' // https://github.com/polkadot-js/apps/issues/5845 - } + }, + text: 'mybank.network' }, { info: 'myriad-tesnet', - text: 'Myriad Testnet', providers: { Myriad: 'wss://ws-rpc.testnet.myriad.social' - } + }, + text: 'Myriad Testnet' }, { info: 'nftmart', - text: 'NFTMart', providers: { NFTMartDev: 'wss://dev-ws.nftmart.io', NFTMartStaging: 'wss://staging-ws.nftmart.io' - } + }, + text: 'NFTMart' }, { info: 'opal', - isDisabled: false, - text: 'OPAL by UNIQUE', providers: { - 'Geo Load Balancer': 'wss://ws-opal.unique.network', + Asia: 'wss://asia-ws-opal.unique.network', Europe: 'wss://eu-ws-opal.unique.network', - 'North America': 'wss://us-ws-opal.unique.network', - Asia: 'wss://asia-ws-opal.unique.network' - } + 'Geo Load Balancer': 'wss://ws-opal.unique.network', + 'North America': 'wss://us-ws-opal.unique.network' + }, + text: 'OPAL by UNIQUE' }, { info: 'opportunity', - text: 'Opportunity', providers: { // 'Standard Protocol': 'wss://rpc.opportunity.standard.tech' // https://github.com/polkadot-js/apps/issues/7982 - } + }, + text: 'Opportunity' }, { info: 'pangolin', - text: 'Pangolin', providers: { 'Darwinia Network': 'wss://pangolin-rpc.darwinia.network' - } + }, + text: 'Pangolin' }, { info: 'pangoro', - text: 'Pangoro', providers: { 'Darwinia Network': 'wss://pangoro-rpc.darwinia.network' - } + }, + text: 'Pangoro' }, { info: 'phala', - text: 'Phala (PoC 5)', providers: { 'Phala Network': 'wss://poc5.phala.network/ws' - } + }, + text: 'Phala (PoC 5)' }, { info: 'phoenix', - text: 'Phoenix Mashnet', providers: { // 'phoenix Protocol': 'wss://phoenix-ws.coinid.pro/' // https://github.com/polkadot-js/apps/issues/6181 - } + }, + text: 'Phoenix Mashnet' }, { info: 'pichiu', - text: 'Pichiu Testnet', providers: { // 'Kylin Network': 'wss://westend.kylin-node.co.uk' // https://github.com/polkadot-js/apps/pull/6761 - } + }, + text: 'Pichiu Testnet' }, { info: 'polkadex', - text: 'Polkadex', providers: { 'Polkadex Team': 'wss://blockchain.polkadex.trade' - } + }, + text: 'Polkadex' }, { info: 'polymesh', - text: 'Polymesh Testnet', providers: { Polymath: 'wss://testnet-rpc.polymesh.live' - } + }, + text: 'Polymesh Testnet' }, { info: 'pontem', - text: 'Pontem', providers: { // Pontem: 'wss://testnet.pontem.network/ws', // https://github.com/polkadot-js/apps/issues/7652 - } + }, + text: 'Pontem' }, { info: 'prism', - text: 'Prism', providers: { // Prism: 'wss://testnet.psm.link' // https://github.com/polkadot-js/apps/issues/7340 - } + }, + text: 'Prism' }, { info: 'realis', - text: 'Realis.Network', providers: { // 'Realis.Network': 'wss://rpc.realis.network/' // https://github.com/polkadot-js/apps/issues/7982 - } + }, + text: 'Realis.Network' }, { info: 'riochain', - text: 'RioChain', providers: { // 'RioChain Staging': 'wss://node.v1.staging.riochain.io' // https://github.com/polkadot-js/apps/issues/6181 - } + }, + text: 'RioChain' }, { info: 'sherpax', - text: 'Sherpax Testnet', providers: { Chainx: 'wss://sherpax-testnet.chainx.org' - } + }, + text: 'Sherpax Testnet' }, { info: 'shibuya', - text: 'Shibuya', providers: { - StakeTechnologies: 'wss://rpc.shibuya.astar.network', - Dwellir: 'wss://shibuya-rpc.dwellir.com' - } + Dwellir: 'wss://shibuya-rpc.dwellir.com', + StakeTechnologies: 'wss://rpc.shibuya.astar.network' + }, + text: 'Shibuya' }, { info: 'skyekiwi', - text: 'SkyeKiwi Testnet', providers: { SkyeKiwi: 'wss://staging.rpc.skye.kiwi' - } + }, + text: 'SkyeKiwi Testnet' }, { info: 'soonsocial', - text: 'Soonsocial', providers: { // DappForce: 'wss://testnet.subsocial.network' // https://github.com/polkadot-js/apps/issues/8315 - } + }, + text: 'Soonsocial' }, { info: 'sora-substrate', - text: 'SORA-staging', providers: { 'Soramitsu #1': 'wss://ws.framenode-1.s1.stg1.sora2.soramitsu.co.jp', 'Soramitsu #2': 'wss://ws.framenode-2.s1.stg1.sora2.soramitsu.co.jp', 'Soramitsu #3': 'wss://ws.framenode-3.s2.stg1.sora2.soramitsu.co.jp', 'Soramitsu #4': 'wss://ws.framenode-4.s2.stg1.sora2.soramitsu.co.jp' - } + }, + text: 'SORA-staging' }, { info: 'subdao', - text: 'SubDAO Staging', providers: { // SubDAO: 'wss://alpha.subdao.org' // https://github.com/polkadot-js/apps/issues/7473 - } + }, + text: 'SubDAO Staging' }, { info: 'subgame', - text: 'SubGame Staging', providers: { // SubGame: 'wss://staging.subgame.org' // https://github.com/polkadot-js/apps/issues/7982 - } + }, + text: 'SubGame Staging' }, { info: 'subspace-farmnet', - text: 'Subspace Farmnet', providers: { // 'Subspace Network': 'wss://farm-rpc.subspace.network/ws' // https://github.com/polkadot-js/apps/issues/8135 - } + }, + text: 'Subspace Farmnet' }, { info: 'subspace-gemini-1', - text: 'Subspace Gemini 1', providers: { Europe: 'wss://eu.gemini-1b.subspace.network/ws' - } + }, + text: 'Subspace Gemini 1' }, { info: 'subspace-gemini-2a', - text: 'Subspace Gemini 2a', providers: { Europe: 'wss://eu-0.gemini-2a.subspace.network/ws' - } + }, + text: 'Subspace Gemini 2a' }, { info: 'subspace', - text: 'Subspace Testnet', providers: { // 'Subspace Network': 'wss://test-rpc.subspace.network' // https://github.com/polkadot-js/apps/issues/8598 - } + }, + text: 'Subspace Testnet' }, { info: 'tangle', - text: 'Tangle Alpha', providers: { Webb: 'wss://tangle-archive.webb.tools' - } + }, + text: 'Tangle Alpha' }, { info: 'ternoa-alphanet', - text: 'Ternoa Alphanet', providers: { CapsuleCorp: 'wss://alphanet.ternoa.com' - } + }, + text: 'Ternoa Alphanet' }, { info: 'ternoa-testnet', - text: 'Ternoa Testnet', providers: { CapsuleCorp: 'wss://testnet.ternoa.com/' - } + }, + text: 'Ternoa Testnet' }, { info: 'thebifrost-testnet', - text: 'The Bifrost Testnet', providers: { 'Pilab #1': 'wss://public-01.testnet.thebifrost.io/ws', 'Pilab #2': 'wss://public-02.testnet.thebifrost.io/ws' - } + }, + text: 'The Bifrost Testnet' }, { info: 'laminar', - text: 'Turbulence', providers: { // Laminar: 'wss://testnet-node-1.laminar-chain.laminar.one/ws' // https://github.com/polkadot-js/apps/issues/8060 - } + }, + text: 'Turbulence' }, { info: 'uniarts', - text: 'UniArts', providers: { // UniArts: 'wss://testnet.uniarts.network' // https://github.com/polkadot-js/apps/issues/8541 - } + }, + text: 'UniArts' }, { info: 'unique', - text: 'Unique', providers: { // Unique: 'wss://testnet2.unique.network' // https://github.com/polkadot-js/apps/issues/7621 - } + }, + text: 'Unique' }, { info: 'unitv', - text: 'Unit Network', providers: { // 'Unit Network': 'wss://unitventures.io/' // https://github.com/polkadot-js/apps/issues/5684 - } + }, + text: 'Unit Network' }, { info: 'vara', - text: 'Vara', providers: { 'Gear Tech': 'wss://rpc.vara-network.io' - } + }, + text: 'Vara' }, { info: 'vodka', - text: 'Vodka', providers: { // Vodka: 'wss://vodka.rpc.neatcoin.org/ws' // https://github.com/polkadot-js/apps/issues/8175 - } + }, + text: 'Vodka' }, { info: 'web3games', - text: 'Web3Games', providers: { 'Web3Games Foundation': 'wss://devnet.web3games.org' - } + }, + text: 'Web3Games' }, { info: 'zCloak', - text: 'zCloak-network', providers: { // 'zCloak Network': 'wss://test1.zcloak.network' // https://github.com/polkadot-js/apps/issues/7408 - } + }, + text: 'zCloak-network' }, { info: 'zeitgeist', - text: 'Zeitgeist Battery Station', providers: { Zeitgeist: 'wss://bsr.zeitgeist.pm' - } + }, + text: 'Zeitgeist Battery Station' }, { info: 'zero', - text: 'Zero Alphaville', providers: { // ZERO: 'wss://alphaville.zero.io' // https://github.com/polkadot-js/apps/issues/8263 - } + }, + text: 'Zero Alphaville' } ]; diff --git a/packages/apps-config/src/endpoints/testingRelayRococo.ts b/packages/apps-config/src/endpoints/testingRelayRococo.ts index b3e2dcbb14..ddc6aaf6a0 100644 --- a/packages/apps-config/src/endpoints/testingRelayRococo.ts +++ b/packages/apps-config/src/endpoints/testingRelayRococo.ts @@ -6,8 +6,6 @@ import type { EndpointOption } from './types'; import { ROCOCO_GENESIS } from '../api/constants'; import { getTeleports } from './util'; -/* eslint-disable sort-keys */ - // The available endpoints that will show in the dropdown. For the most part (with the exception of // Polkadot) we try to keep this to live chains only, with RPCs hosted by the community/chain vendor // info: The chain logo name as defined in ../ui/logos/index.ts in namedLogos (this also needs to align with @polkadot/networks) @@ -19,371 +17,371 @@ export const testParasRococo: EndpointOption[] = [ { info: 'rococoAcurast', paraId: 4191, - text: 'Acurast Testnet', providers: { Acurast: 'wss://ws.acurast-rococo.diamond.papers.tech' - } + }, + text: 'Acurast Testnet' }, { info: 'rococoAmplitude', paraId: 2124, - text: 'Amplitude testnet (Foucoco)', providers: { PendulumChain: 'wss://rpc-foucoco.pendulumchain.tech' - } + }, + text: 'Amplitude testnet (Foucoco)' }, { info: 'arctic', paraId: 3015, - text: 'Arctic', providers: { Arctic: 'wss://arctic-rococo-rpc.icenetwork.io' - } + }, + text: 'Arctic' }, { - info: 'rococoAventus', homepage: 'https://www.aventus.io/', + info: 'rococoAventus', paraId: 2056, - text: 'Aventus', - providers: { } + providers: {}, + text: 'Aventus' }, { info: 'rococoBajun', paraId: 2119, - text: 'Bajun Network', providers: { AjunaNetwork: 'wss://rpc-rococo.bajun.network' - } + }, + text: 'Bajun Network' }, { info: 'rococoBasilisk', paraId: 2090, - text: 'Basilisk', providers: { 'Galactic Council': 'wss://rococo-basilisk-rpc.hydration.dev' - } + }, + text: 'Basilisk' }, { info: 'rococoBifrost', paraId: 2030, - text: 'Bifrost', providers: { Liebi: 'wss://bifrost-rpc.rococo.liebi.com/ws' - } + }, + text: 'Bifrost' }, { info: 'rococoBitgreen', paraId: 20048, - text: 'Bitgreen', providers: { Bitgreen: 'wss://staging.bitgreen.org' - } + }, + text: 'Bitgreen' }, { info: 'rococoCatalyst', paraId: 2031, - text: 'Catalyst', providers: { Centrifuge: 'wss://fullnode.catalyst.cntrfg.com' - } + }, + text: 'Catalyst' }, { info: 'rococoConfti', paraId: 4094, - text: 'Confti', providers: { // Confti: 'wss://ws.confti.club' // https://github.com/polkadot-js/apps/issues/8036 - } + }, + text: 'Confti' }, { info: 'rococoCrust', paraId: 2012, - text: 'Crust Testnet', providers: { Crust: 'wss://rococo-csm.crustcode.com/' - } + }, + text: 'Crust Testnet' }, { info: 'rococoDali', paraId: 2087, - text: 'Dali', providers: { // Composable: 'wss://rpc.composablefinance.ninja' // https://github.com/polkadot-js/apps/issues/8867 - } + }, + text: 'Dali' }, { info: 'rococoDolphin', paraId: 2084, - text: 'Dolphin', providers: { 'Manta Network': 'wss://ws.rococo.dolphin.engineering' - } + }, + text: 'Dolphin' }, { info: 'rococoEthos', paraId: 2095, - text: 'Ethos', providers: { Jur: 'wss://ethos.jur.io' - } + }, + text: 'Ethos' }, { info: 'rococoFrequency', paraId: 4044, - text: 'Frequency', providers: { Frequency: 'wss://rpc.rococo.frequency.xyz' - } + }, + text: 'Frequency' }, { info: 'rococoGenshiro', paraId: 2024, - text: 'Genshiro Testnet', providers: { Equilibrium: 'wss://parachain-testnet.equilab.io/rococo/collator/node1/wss' - } + }, + text: 'Genshiro Testnet' }, { info: 'helixstreet', paraId: 3025, - text: 'Helixstreet', providers: { Helixstreet: 'wss://rpc-rococo.helixstreet.io' - } + }, + text: 'Helixstreet' }, { info: 'rococoHydraDX', paraId: 2034, - text: 'HydraDX', providers: { 'Galactic Council': 'wss://rococo-hydradx-rpc.hydration.dev' - } + }, + text: 'HydraDX' }, { info: 'rococoImbue', paraId: 2121, - text: 'Imbue Network', providers: { 'Imbue Network': 'wss://rococo.imbue.network' - } + }, + text: 'Imbue Network' }, { info: 'rococoIntegritee', paraId: 3002, - text: 'Integritee Network', providers: { Integritee: 'wss://rococo.api.integritee.network' - } + }, + text: 'Integritee Network' }, { info: 'rococoKabocha', paraId: 2113, - text: 'Kabocha (kabsoup)', providers: { JelliedOwl: 'wss://kabsoup1.jelliedowl.com' - } + }, + text: 'Kabocha (kabsoup)' }, { info: 'rococoLitentry', paraId: 2106, - text: 'Litentry', providers: { Litentry: 'wss://rpc.rococo-parachain-sg.litentry.io' - } + }, + text: 'Litentry' }, { info: 'rococoMangata', paraId: 2110, - text: 'Mangata', providers: { Mangata: 'wss://roccoco-testnet-collator-01.mangatafinance.cloud' - } + }, + text: 'Mangata' }, { info: 'rococoMd5', paraId: 2089, - text: 'MD5 Network', providers: { 'Hashed Systems': 'wss://c1.md5.network' - } + }, + text: 'MD5 Network' }, { info: 'rococoMoonsama', paraId: 2055, - text: 'Moonsama', providers: { // Moonsama: 'wss://moonsama-testnet-rpc.moonsama.com' // https://github.com/polkadot-js/apps/issues/7526 - } + }, + text: 'Moonsama' }, { info: 'rococoNodle', paraId: 2026, - text: 'Nodle', providers: { OnFinality: 'wss://nodle-paradis.api.onfinality.io/public-ws' - } + }, + text: 'Nodle' }, { - info: 'chainoli', homepage: 'https://www.my-oli.com/en/', + info: 'chainoli', paraId: 4023, - text: 'OLI', - providers: {} + providers: {}, + text: 'OLI' }, { - info: 'rococoOriginTrailParachain', homepage: 'https://parachain.origintrail.io', + info: 'rococoOriginTrailParachain', paraId: 2043, - text: 'OriginTrail Testnet', providers: { TraceLabs: 'wss://parachain-testnet-rpc.origin-trail.network/' - } + }, + text: 'OriginTrail Testnet' }, { info: 'rococoPangolin', paraId: 2105, - text: 'Pangolin', providers: { 'Darwinia Network': 'wss://pangolin-parachain-rpc.darwinia.network' - } + }, + text: 'Pangolin' }, { info: 'rococoKilt', paraId: 2086, - text: 'RILT', providers: { 'KILT Protocol': 'wss://rococo.kilt.io' - } + }, + text: 'RILT' }, { - info: 'robonomics', homepage: 'http://robonomics.network/', + info: 'robonomics', paraId: 2048, - text: 'Robonomics', providers: { Airalab: 'wss://rococo.rpc.robonomics.network' - } + }, + text: 'Robonomics' }, { info: 'rocfinity', paraId: 2021, - text: 'Rocfinity', providers: { Efinity: 'wss://rpc.rococo.efinity.io' - } + }, + text: 'Rocfinity' }, { info: 'snowbridge', paraId: 3016, - text: 'Snowbridge', providers: { // Snowfork: 'wss://rococo-rpc.snowbridge.network' // https://github.com/polkadot-js/apps/issues/8723 - } + }, + text: 'Snowbridge' }, { info: 'rococoSubsocial', paraId: 2100, - text: 'SoonsocialX', providers: { DappForce: 'wss://rco-para.subsocial.network' - } + }, + text: 'SoonsocialX' }, { info: 'rococoSora', paraId: 2011, - text: 'SORA', providers: { Soramitsu: 'wss://ws.parachain-collator-1.c1.stg1.sora2.soramitsu.co.jp' - } + }, + text: 'SORA' }, { info: 'rococoSpreehafen', paraId: 2116, - text: 'Spreehafen', providers: { DataHighway: 'wss://spreehafen.datahighway.com' - } + }, + text: 'Spreehafen' }, { - info: 'stagex', homepage: 'https://totemaccounting.com/', + info: 'stagex', paraId: 2007, - text: 'Stagex', providers: { Totem: 'wss://s-ui.kapex.network' - } + }, + text: 'Stagex' }, { info: 'rococoSubzero', paraId: 4040, - text: 'Subzero', providers: { ZERO: 'wss://staging.para.sub.zero.io' - } + }, + text: 'Subzero' }, { info: 't0rn', paraId: 3333, - text: 't0rn', providers: { t3rn: 'wss://ws.t0rn.io' - } + }, + text: 't0rn' }, { info: 'tangle', paraId: 4006, - text: 'Tangle', providers: { Webb: 'wss://arana-alpha-1.webb.tools' - } + }, + text: 'Tangle' }, { info: 'rococoTinkernet', paraId: 2125, - text: 'Tinkernet', providers: { // 'InvArch Team': 'wss://rococo.invarch.network' // https://github.com/polkadot-js/apps/issues/8266 - } + }, + text: 'Tinkernet' }, { info: 'rococoTuring', paraId: 2114, - text: 'Turing Network (Staging)', providers: { OAK: 'wss://rpc.turing-staging.oak.tech' - } + }, + text: 'Turing Network (Staging)' }, { info: 'rococoUnitNetwork', paraId: 4168, - text: 'Unit Network', providers: { UnitNetwork: 'wss://www.unitnode3.info:443' - } + }, + text: 'Unit Network' }, { info: 'rococoVirto', paraId: 3003, - text: 'Virto', providers: { // VirtoNetwork: 'wss://rococo.virtonetwork.xyz' // https://github.com/polkadot-js/apps/issues/8024 - } + }, + text: 'Virto' }, { info: 'rococoWatr', paraId: 2058, - text: 'Watr Network', providers: { Watr: 'wss://rpc.dev.watr.org' - } + }, + text: 'Watr Network' }, { info: 'rococoZeitgeist', paraId: 2101, - text: 'Zeitgeist Battery Station', providers: { Zeitgeist: 'wss://roc.zeitgeist.pm' - } + }, + text: 'Zeitgeist Battery Station' } ]; @@ -391,39 +389,39 @@ export const testParasRococoCommon: EndpointOption[] = [ { info: 'rococoStatemint', paraId: 1000, - text: 'Rockmine', providers: { Parity: 'wss://rococo-rockmine-rpc.polkadot.io' }, - teleport: [-1] + teleport: [-1], + text: 'Rockmine' }, { info: 'rococoContracts', paraId: 1002, - text: 'Contracts', providers: { Parity: 'wss://rococo-contracts-rpc.polkadot.io' }, - teleport: [-1] + teleport: [-1], + text: 'Contracts' }, { - info: 'encointer', homepage: 'https://encointer.org/', + info: 'encointer', paraId: 1003, - text: 'Encointer Lietaer', providers: { 'Encointer Association': 'wss://rococo.api.encointer.org' }, - teleport: [-1] + teleport: [-1], + text: 'Encointer Lietaer' }, { info: 'rococoBridgehub', paraId: 1013, - text: 'Bridgehub', providers: { Parity: 'wss://rococo-bridge-hub-rpc.polkadot.io' }, - teleport: [-1] + teleport: [-1], + text: 'Bridgehub' } ]; @@ -431,18 +429,17 @@ export const testRelayRococo: EndpointOption = { dnslink: 'rococo', genesisHash: ROCOCO_GENESIS, info: 'rococo', - text: 'Rococo', + linked: [ + ...testParasRococoCommon, + ...testParasRococo + ], providers: { Parity: 'wss://rococo-rpc.polkadot.io', // OnFinality: 'wss://rococo.api.onfinality.io/public-ws', // After reset, node misses host functions // Pinknode: 'wss://rpc.pinknode.io/rococo/explorer' // After reset, syncs to old chain // 'Ares Protocol': 'wss://rococo.aresprotocol.com' // https://github.com/polkadot-js/apps/issues/5767 - // NOTE: Keep this as the last entry, nothing after it - 'light client': 'light://substrate-connect/rococo' // NOTE: Keep last + 'light client': 'light://substrate-connect/rococo' }, teleport: getTeleports(testParasRococoCommon), - linked: [ - ...testParasRococoCommon, - ...testParasRococo - ] + text: 'Rococo' }; diff --git a/packages/apps-config/src/endpoints/testingRelayWestend.ts b/packages/apps-config/src/endpoints/testingRelayWestend.ts index 063135d389..89a343947f 100644 --- a/packages/apps-config/src/endpoints/testingRelayWestend.ts +++ b/packages/apps-config/src/endpoints/testingRelayWestend.ts @@ -6,8 +6,6 @@ import type { EndpointOption } from './types'; import { WESTEND_GENESIS } from '../api/constants'; import { getTeleports } from './util'; -/* eslint-disable sort-keys */ - // The available endpoints that will show in the dropdown. For the most part (with the exception of // Polkadot) we try to keep this to live chains only, with RPCs hosted by the community/chain vendor // info: The chain logo name as defined in ../ui/logos/index.ts in namedLogos (this also needs to align with @polkadot/networks) @@ -19,85 +17,85 @@ export const testParasWestend: EndpointOption[] = [ { info: 'charcoal', paraId: 2086, - text: 'Charcoal', providers: { // Centrifuge: 'wss://fullnode-collator.charcoal.centrifuge.io' // https://github.com/polkadot-js/apps/issues/8219 - } + }, + text: 'Charcoal' }, { info: 'integritee', paraId: 2081, - text: 'Integritee Network', providers: { Integritee: 'wss://teerw1.integritee.network' - } + }, + text: 'Integritee Network' }, { info: 'interlay', paraId: 2094, - text: 'Interlay', providers: { // Interlay: 'wss://api-westend.interlay.io/parachain' // https://github.com/polkadot-js/apps/issues/6261 - } + }, + text: 'Interlay' }, { info: 'moonshadow', paraId: 2002, - text: 'Moonshadow', providers: { // PureStake: 'wss://wss.moonshadow.testnet.moonbeam.network' // https://github.com/polkadot-js/apps/issues/6181 - } + }, + text: 'Moonshadow' }, { - info: 'pangoro', homepage: 'https://darwinia.network/', + info: 'pangoro', paraId: 2102, - text: 'Pangoro', providers: { // Darwinia: 'wss://pangoro-parachain-rpc.darwinia.network' // https://github.com/polkadot-js/apps/issues/6530 - } + }, + text: 'Pangoro' }, { - info: 'westendPichiu', homepage: 'https://kylin.network/', + info: 'westendPichiu', paraId: 2112, - text: 'Pichiu', providers: { // 'Kylin Network': 'wss://westend.kylin-node.co.uk' // https://github.com/polkadot-js/apps/issues/8710 - } + }, + text: 'Pichiu' }, { info: 'westendStandard', paraId: 2094, - text: 'Standard ', providers: { // 'Standard Protocol': 'wss://rpc.westend.standard.tech' // https://github.com/polkadot-js/apps/issues/8525 - } + }, + text: 'Standard' }, { info: 'karura', paraId: 2005, - text: 'Wendala', providers: { // 'Acala Foundation': 'wss://karura-westend-rpc.aca-staging.network' // https://github.com/polkadot-js/apps/issues/5830 - } + }, + text: 'Wendala' }, { info: 'whala', paraId: 2013, - text: 'Whala', providers: { // Phala: 'wss://whala.phala.network/ws' // https://github.com/polkadot-js/apps/issues/6181 - } + }, + text: 'Whala' }, { - info: 'kilt', homepage: 'https://www.kilt.io/', + info: 'kilt', paraId: 2085, - text: 'WILT', providers: { 'KILT Protocol': 'wss://westend.kilt.io:9977' - } + }, + text: 'WILT' } ]; @@ -105,30 +103,30 @@ export const testParasWestendCommon: EndpointOption[] = [ { info: 'westmint', paraId: 1000, - text: 'Westmint', providers: { - Parity: 'wss://westmint-rpc.polkadot.io', Dwellir: 'wss://westmint-rpc.dwellir.com', - 'Dwellir Tunisia': 'wss://westmint-rpc-tn.dwellir.com' + 'Dwellir Tunisia': 'wss://westmint-rpc-tn.dwellir.com', + Parity: 'wss://westmint-rpc.polkadot.io' }, - teleport: [-1] + teleport: [-1], + text: 'Westmint' }, { info: 'westendCollectives', paraId: 1001, - text: 'Collectives', providers: { Parity: 'wss://westend-collectives-rpc.polkadot.io' }, - teleport: [-1] + teleport: [-1], + text: 'Collectives' }, { info: 'westendBridgeHub', paraId: 1002, - text: 'BridgeHub', providers: { Parity: 'wss://westend-bridge-hub-rpc.polkadot.io' - } + }, + text: 'BridgeHub' } ]; @@ -136,22 +134,20 @@ export const testRelayWestend: EndpointOption = { dnslink: 'westend', genesisHash: WESTEND_GENESIS, info: 'westend', - text: 'Westend', - providers: { - Parity: 'wss://westend-rpc.polkadot.io', - OnFinality: 'wss://westend.api.onfinality.io/public-ws', - Pinknode: 'wss://rpc.pinknode.io/westend/explorer', - Dwellir: 'wss://westend-rpc.dwellir.com', - 'Dwellir Tunisia': 'wss://westend-rpc-tn.dwellir.com', - 'Dotters Net': 'wss://rpc.dotters.network/westend', - 'IBP Network': 'wss://rpc.ibp.network/westend', - // 'NodeFactory(Vedran)': 'wss://westend.vedran.nodefactory.io/ws', // https://github.com/polkadot-js/apps/issues/5580 - // NOTE: Keep this as the last entry, nothing after it - 'light client': 'light://substrate-connect/westend' // NOTE: Keep last - }, - teleport: getTeleports(testParasWestendCommon), linked: [ ...testParasWestendCommon, ...testParasWestend - ] + ], + providers: { + 'Dotters Net': 'wss://rpc.dotters.network/westend', + Dwellir: 'wss://westend-rpc.dwellir.com', + 'Dwellir Tunisia': 'wss://westend-rpc-tn.dwellir.com', + 'IBP Network': 'wss://rpc.ibp.network/westend', + OnFinality: 'wss://westend.api.onfinality.io/public-ws', + Parity: 'wss://westend-rpc.polkadot.io', + Pinknode: 'wss://rpc.pinknode.io/westend/explorer', + 'light client': 'light://substrate-connect/westend' + }, + teleport: getTeleports(testParasWestendCommon), + text: 'Westend' }; diff --git a/packages/apps-config/src/endpoints/types.ts b/packages/apps-config/src/endpoints/types.ts index e03afe508f..4d9ce5e910 100644 --- a/packages/apps-config/src/endpoints/types.ts +++ b/packages/apps-config/src/endpoints/types.ts @@ -18,6 +18,8 @@ export interface EndpointOption { summary?: string; teleport?: number[]; text: string; + uiColor?: string; + uiLogo?: string; } export interface LinkOption extends Option { diff --git a/packages/apps-config/src/links/commonwealth.ts b/packages/apps-config/src/links/commonwealth.ts index 63d25792bc..4205926688 100644 --- a/packages/apps-config/src/links/commonwealth.ts +++ b/packages/apps-config/src/links/commonwealth.ts @@ -17,13 +17,13 @@ export const Commonwealth: ExternalDef = { }, create: (chain: string, path: string, data: BN | number | string, hash?: string): string => `https://commonwealth.im/${chain}/${path}/${HASH_PATHS.includes(path) ? (hash || '') : data.toString()}`, + homepage: 'https://commonwealth.im/', isActive: true, - logo: externalLogos.commonwealth as string, paths: { council: 'proposal/councilmotion', democracyProposal: 'proposal/democracyproposal', democracyReferendum: 'proposal/referendum', treasury: 'proposal/treasuryproposal' }, - url: 'https://commonwealth.im/' + uiLogo: externalLogos.commonwealth as string }; diff --git a/packages/apps-config/src/links/dotreasury.ts b/packages/apps-config/src/links/dotreasury.ts index 4c29874bf7..d38aa59cc9 100644 --- a/packages/apps-config/src/links/dotreasury.ts +++ b/packages/apps-config/src/links/dotreasury.ts @@ -13,12 +13,12 @@ export const Dotreasury: ExternalDef = { }, create: (chain: string, path: string, data: BN | number | string): string => `https://www.dotreasury.com/${chain}/${path}/${data.toString()}`, + homepage: 'https://dotreasury.com/', isActive: true, - logo: externalLogos.dotreasury as string, paths: { bounty: 'bounties', tip: 'tips', treasury: 'proposals' }, - url: 'https://dotreasury.com/' + uiLogo: externalLogos.dotreasury as string }; diff --git a/packages/apps-config/src/links/dotscanner.ts b/packages/apps-config/src/links/dotscanner.ts index 73e6177f9d..91b2e55721 100644 --- a/packages/apps-config/src/links/dotscanner.ts +++ b/packages/apps-config/src/links/dotscanner.ts @@ -13,11 +13,11 @@ export const DotScanner: ExternalDef = { }, create: (chain: string, path: string, data: BN | number | string): string => `https://dotscanner.com/${chain}/${path}/${data.toString()}?utm_source=polkadotjs`, + homepage: 'https://dotscanner.com/', isActive: true, - logo: externalLogos.dotscanner as string, paths: { address: 'account', block: 'block' }, - url: 'https://dotscanner.com/' + uiLogo: externalLogos.dotscanner as string }; diff --git a/packages/apps-config/src/links/kodadot.ts b/packages/apps-config/src/links/kodadot.ts index 86daec63b6..c11908055f 100644 --- a/packages/apps-config/src/links/kodadot.ts +++ b/packages/apps-config/src/links/kodadot.ts @@ -19,11 +19,12 @@ export const KodaDot: ExternalDef = { Westend: 'westend', Westmint: 'westmint' }, - create: (_chain: string, _path: string, data: BN | number | string): string => `${getNetwork(_chain)}${data.toString()}`, + create: (_chain: string, _path: string, data: BN | number | string): string => + `${getNetwork(_chain)}${data.toString()}`, + homepage: 'https://kodadot.xyz', isActive: true, - logo: externalLogos.kodadot as string, paths: { address: 'account' }, - url: 'https://kodadot.xyz' + uiLogo: externalLogos.kodadot as string }; diff --git a/packages/apps-config/src/links/polkaholic.ts b/packages/apps-config/src/links/polkaholic.ts index 902670104f..51714c0db1 100644 --- a/packages/apps-config/src/links/polkaholic.ts +++ b/packages/apps-config/src/links/polkaholic.ts @@ -60,12 +60,12 @@ export const Polkaholic: ExternalDef = { }, create: (chain: string, path: string, data: BN | number | string): string => `https://${chain}.polkaholic.io/${path}/${data.toString()}`, + homepage: 'https://polkaholic.io/', isActive: true, - logo: externalLogos.polkaholic as string, paths: { address: 'account', block: 'blockhash', extrinsic: 'tx' }, - url: 'https://polkaholic.io/' + uiLogo: externalLogos.polkaholic as string }; diff --git a/packages/apps-config/src/links/polkascan.ts b/packages/apps-config/src/links/polkascan.ts index 095328c4e7..1d2bd187b5 100644 --- a/packages/apps-config/src/links/polkascan.ts +++ b/packages/apps-config/src/links/polkascan.ts @@ -15,8 +15,8 @@ export const Polkascan: ExternalDef = { }, create: (chain: string, path: string, data: BN | number | string): string => `https://polkascan.io/${chain}/${path}/${data.toString()}`, + homepage: 'https://polkascan.io/', isActive: true, - logo: externalLogos.polkascan as string, paths: { address: 'account', block: 'block', @@ -27,5 +27,5 @@ export const Polkascan: ExternalDef = { techcomm: 'techcomm/proposal', treasury: 'treasury/proposal' }, - url: 'https://polkascan.io/' + uiLogo: externalLogos.polkascan as string }; diff --git a/packages/apps-config/src/links/polkassembly.ts b/packages/apps-config/src/links/polkassembly.ts index a52b7823e8..5091fa0359 100644 --- a/packages/apps-config/src/links/polkassembly.ts +++ b/packages/apps-config/src/links/polkassembly.ts @@ -27,8 +27,8 @@ export const PolkassemblyIo: ExternalDef = { }, create: (chain: string, path: string, data: BN | number | string): string => `https://${chain}.polkassembly.io/${path}/${data.toString()}`, + homepage: 'https://polkassembly.io/', isActive: true, - logo: externalLogos.polkassembly as string, paths: { bounty: 'bounty', council: 'motion', @@ -38,7 +38,7 @@ export const PolkassemblyIo: ExternalDef = { tip: 'tip', treasury: 'treasury' }, - url: 'https://polkassembly.io/' + uiLogo: externalLogos.polkassembly as string }; export const PolkassemblyNetwork: ExternalDef = { @@ -54,5 +54,5 @@ export const PolkassemblyNetwork: ExternalDef = { }, create: (chain: string, path: string, data: BN | number | string): string => `https://${chain}.polkassembly.network/${path}/${data.toString()}`, - url: 'https://polkassembly.network/' + homepage: 'https://polkassembly.network/' }; diff --git a/packages/apps-config/src/links/polkastats.ts b/packages/apps-config/src/links/polkastats.ts index 0f415fc950..07685590fc 100644 --- a/packages/apps-config/src/links/polkastats.ts +++ b/packages/apps-config/src/links/polkastats.ts @@ -17,13 +17,13 @@ export const Polkastats: ExternalDef = { }, create: (chain: string, path: string, data: BN | number | string): string => `https://${chain}.polkastats.io/${path}/${data.toString()}`, + homepage: 'https://polkastats.io/', isActive: true, - logo: externalLogos.polkastats as string, paths: { address: 'account', block: 'block', extrinsic: 'extrinsic', validator: 'validator' }, - url: 'https://polkastats.io/' + uiLogo: externalLogos.polkastats as string }; diff --git a/packages/apps-config/src/links/singular.ts b/packages/apps-config/src/links/singular.ts index 366963041f..69779ed262 100644 --- a/packages/apps-config/src/links/singular.ts +++ b/packages/apps-config/src/links/singular.ts @@ -22,10 +22,10 @@ export const Singular: ExternalDef = { }, create: (_chain: string, _path: string, data: BN | number | string): string => `https://singular.app/space/${getNetwork(_chain)}${data.toString()}`, + homepage: 'https://singular.app', isActive: true, - logo: externalLogos.singular as string, paths: { address: 'account' }, - url: 'https://singular.app' + uiLogo: externalLogos.singular as string }; diff --git a/packages/apps-config/src/links/statescan.ts b/packages/apps-config/src/links/statescan.ts index b70f132187..65ac7cc10b 100644 --- a/packages/apps-config/src/links/statescan.ts +++ b/packages/apps-config/src/links/statescan.ts @@ -14,11 +14,11 @@ export const Statescan: ExternalDef = { }, create: (chain: string, path: string, data: BN | number | string): string => `https://${chain}.statescan.io/${path}/${data.toString()}`, + homepage: 'https://statescan.io/', isActive: true, - logo: externalLogos.statescan as string, paths: { address: 'account', block: 'block' }, - url: 'https://statescan.io/' + uiLogo: externalLogos.statescan as string }; diff --git a/packages/apps-config/src/links/subid.ts b/packages/apps-config/src/links/subid.ts index 01dd7c4d04..0d29ea32cb 100644 --- a/packages/apps-config/src/links/subid.ts +++ b/packages/apps-config/src/links/subid.ts @@ -26,10 +26,10 @@ export const SubId: ExternalDef = { }, create: (_chain: string, _path: string, data: BN | number | string): string => `https://sub.id/${data.toString()}`, + homepage: 'https://sub.id', isActive: true, - logo: externalLogos.subid as string, paths: { address: 'account' }, - url: 'https://sub.id' + uiLogo: externalLogos.subid as string }; diff --git a/packages/apps-config/src/links/subscan.ts b/packages/apps-config/src/links/subscan.ts index 715e8aab78..9ca158384e 100644 --- a/packages/apps-config/src/links/subscan.ts +++ b/packages/apps-config/src/links/subscan.ts @@ -85,8 +85,8 @@ export const Subscan: ExternalDef = { }, create: (chain: string, path: string, data: BN | number | string): string => `https://${chain}.subscan.io/${path}/${data.toString()}`, + homepage: 'https://subscan.io/', isActive: true, - logo: externalLogos.subscan as string, paths: { address: 'account', block: 'block', @@ -100,5 +100,5 @@ export const Subscan: ExternalDef = { treasury: 'treasury', validator: 'validator' }, - url: 'https://subscan.io/' + uiLogo: externalLogos.subscan as string }; diff --git a/packages/apps-config/src/links/subsquare.ts b/packages/apps-config/src/links/subsquare.ts index 491c486651..8b3feedb42 100644 --- a/packages/apps-config/src/links/subsquare.ts +++ b/packages/apps-config/src/links/subsquare.ts @@ -30,8 +30,8 @@ export const Subsquare: ExternalDef = { }, create: (chain: string, path: string, data: BN | number | string): string => `https://${chain}.subsquare.io/${path}/${data.toString()}`, + homepage: 'https://subsquare.io/', isActive: true, - logo: externalLogos.subsquare as string, paths: { bounty: 'treasury/bounty', council: 'council/motion', @@ -43,5 +43,5 @@ export const Subsquare: ExternalDef = { tip: 'treasury/tip', treasury: 'treasury/proposal' }, - url: 'https://subsquare.io/' + uiLogo: externalLogos.subsquare as string }; diff --git a/packages/apps-config/src/links/types.ts b/packages/apps-config/src/links/types.ts index f346813d61..132ec98838 100644 --- a/packages/apps-config/src/links/types.ts +++ b/packages/apps-config/src/links/types.ts @@ -30,9 +30,10 @@ export type LinkTypes = keyof LinkPath; export interface ExternalDef { chains: Record; + homepage: string; isActive: boolean; - logo: string; paths: LinkPath; - url: string; + uiLogo: string; + create: (chain: string, path: string, data: BN | number | string, hash?: string) => string; } diff --git a/packages/apps-config/src/settings/types.ts b/packages/apps-config/src/settings/types.ts index 141e048911..472c06041b 100644 --- a/packages/apps-config/src/settings/types.ts +++ b/packages/apps-config/src/settings/types.ts @@ -8,16 +8,3 @@ export interface Option { text: React.ReactNode; value: string | number; } - -export interface LinkOption extends Option { - dnslink?: string; - genesisHash?: string; - genesisHashRelay?: string; - isChild?: boolean; - isDevelopment?: boolean; - isSpaced?: boolean; - isLightClient?: boolean; - linked?: LinkOption[]; - paraId?: number; - textBy: string; -} diff --git a/packages/react-api/src/types.ts b/packages/react-api/src/types.ts index d687bed162..397d95cd33 100644 --- a/packages/react-api/src/types.ts +++ b/packages/react-api/src/types.ts @@ -3,7 +3,7 @@ import type { ApiPromise } from '@polkadot/api'; import type { SubmittableExtrinsicFunction } from '@polkadot/api/promise/types'; -import type { LinkOption } from '@polkadot/apps-config/settings/types'; +import type { LinkOption } from '@polkadot/apps-config/endpoints/types'; import type { InjectedExtension } from '@polkadot/extension-inject/types'; // helpers for HOC props diff --git a/packages/react-components/src/LinkExternal.tsx b/packages/react-components/src/LinkExternal.tsx index 4292e26bda..dd447e54d8 100644 --- a/packages/react-components/src/LinkExternal.tsx +++ b/packages/react-components/src/LinkExternal.tsx @@ -26,7 +26,7 @@ interface Props { function genLinks (systemChain: string, { data, hash, isText, type }: Props): React.ReactNode[] { return Object .entries(externalLinks) - .map(([name, { chains, create, isActive, logo, paths, url }]): React.ReactNode | null => { + .map(([name, { chains, create, homepage, isActive, paths, uiLogo }]): React.ReactNode | null => { const extChain = chains[systemChain]; const extPath = paths[type]; @@ -40,11 +40,11 @@ function genLinks (systemChain: string, { data, hash, isText, type }: Props): Re key={name} rel='noopener noreferrer' target='_blank' - title={`${name}, ${url}`} + title={`${name}, ${homepage}`} > {isText ? name - : + : } ); @@ -55,6 +55,7 @@ function genLinks (systemChain: string, { data, hash, isText, type }: Props): Re function LinkExternal ({ className = '', data, hash, isSidebar, isSmall, isText, type, withTitle }: Props): React.ReactElement | null { const { t } = useTranslation(); const { systemChain } = useApi(); + const links = useMemo( () => genLinks(systemChain, { data, hash, isSidebar, isText, type }), [systemChain, data, hash, isSidebar, isText, type]