diff --git a/packages/apps-config/src/api/spec/index.ts b/packages/apps-config/src/api/spec/index.ts index a82296f..4845c08 100644 --- a/packages/apps-config/src/api/spec/index.ts +++ b/packages/apps-config/src/api/spec/index.ts @@ -170,6 +170,7 @@ const spec: Record = { 'bitcountry-node': bitcountry, 'bitcountry-teyrchain': bitcountryTeyrchain, bittensor, + 'bizinikiwi-contracts-node': bizinikiwiContractsNode, centrifuge, 'centrifuge-chain': centrifugeChain, chainx, @@ -296,7 +297,6 @@ const spec: Record = { spanner, stafi, standard, - 'bizinikiwi-contracts-node': bizinikiwiContractsNode, steam: eave, subdao, subgame, diff --git a/packages/apps-config/src/api/spec/mangata.ts b/packages/apps-config/src/api/spec/mangata.ts index 58b2a02..316a5b4 100644 --- a/packages/apps-config/src/api/spec/mangata.ts +++ b/packages/apps-config/src/api/spec/mangata.ts @@ -51,11 +51,11 @@ export function getBalance ( instanceId, (account: string): Observable => combineLatest<[any, any]>([api.query.tokens.accounts(account, 0), api.query.system.account(account)]).pipe( - // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access map(([data, systemAccount]: [OrmlAccountData, FrameSystemAccountInfo]): DeriveBalancesAll => { return { ...defaultAccountBalance(), accountId: api.registry.createType('AccountId', account), + // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access accountNonce: systemAccount.nonce, availableBalance: api.registry.createType('Balance', data.free.sub(data.frozen)), freeBalance: data.free, diff --git a/packages/apps-config/src/endpoints/index.ts b/packages/apps-config/src/endpoints/index.ts index f98ab82..585adb8 100644 --- a/packages/apps-config/src/endpoints/index.ts +++ b/packages/apps-config/src/endpoints/index.ts @@ -5,9 +5,8 @@ import type { TFunction, TOptions } from '../types.js'; import type { LinkOption } from './types.js'; import { createCustom, createDev, createOwn } from './development.js'; -import { prodChains, prodRelayDicle, prodRelayPezkuwi } from './production.js'; -import { testChains, testRelayZagros } from './testing.js'; -import { testRelayPaseo } from './testingRelayPaseo.js'; +import { prodRelayDicle, prodRelayPezkuwi } from './production.js'; +import { testRelayZagros } from './testing.js'; import { expandEndpoints } from './util.js'; export { CUSTOM_ENDPOINT_KEY } from './development.js'; @@ -64,36 +63,6 @@ export function createWsEndpoints (t: TFunction = defaultT, firstOnly = false, w value: '' }, ...expandEndpoints(t, [testRelayZagros], firstOnly, withSort), - { - isDisabled: false, - isHeader: true, - isSpaced: true, - text: t('rpc.header.paseo.relay', 'Test Paseo & teyrchains', { ns: 'apps-config' }), - textBy: '', - ui: {}, - value: '' - }, - ...expandEndpoints(t, [testRelayPaseo], firstOnly, withSort), - { - isDisabled: false, - isHeader: true, - isSpaced: true, - text: t('rpc.header.live', 'Live networks', { ns: 'apps-config' }), - textBy: '', - ui: {}, - value: '' - }, - ...expandEndpoints(t, prodChains, firstOnly, withSort), - { - isDisabled: false, - isHeader: true, - isSpaced: true, - text: t('rpc.header.test', 'Test networks', { ns: 'apps-config' }), - textBy: '', - ui: {}, - value: '' - }, - ...expandEndpoints(t, testChains, firstOnly, withSort), { isDevelopment: true, isDisabled: false, diff --git a/packages/apps-config/src/links/cerestats.ts b/packages/apps-config/src/links/cerestats.ts index 65e5c9b..9f72572 100644 --- a/packages/apps-config/src/links/cerestats.ts +++ b/packages/apps-config/src/links/cerestats.ts @@ -7,13 +7,12 @@ import type { ExternalDef } from './types.js'; import { externalCerestatsPNG } from '../ui/logos/external/index.js'; export const CereStats: ExternalDef = { - chains: { - 'Cere Mainnet Beta': 'cere' - }, + // CereStats is Cere-specific, not applicable to Pezkuwi networks + chains: {}, create: (_: string, path: string, data: BN | number | string): string => `https://stats.cere.network/${path}/${data.toString()}`, homepage: 'https://stats.cere.network', - isActive: true, + isActive: false, paths: { address: 'account', block: 'block', diff --git a/packages/apps-config/src/links/commonwealth.ts b/packages/apps-config/src/links/commonwealth.ts index a9d4b86..d51384f 100644 --- a/packages/apps-config/src/links/commonwealth.ts +++ b/packages/apps-config/src/links/commonwealth.ts @@ -9,16 +9,16 @@ import { externalCommonwealthPNG } from '../ui/logos/external/index.js'; const HASH_PATHS = ['proposal/councilmotion']; export const Commonwealth: ExternalDef = { + // Note: Commonwealth may not support Pezkuwi networks yet. These are placeholder entries. chains: { Dicle: 'dicle', - 'Dicle CC3': 'dicle', - Edgeware: 'edgeware', - Kulupu: 'kulupu' + Pezkuwi: 'pezkuwi', + Zagros: 'zagros' }, 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, + isActive: false, paths: { council: 'proposal/councilmotion', democracyProposal: 'proposal/democracyproposal', diff --git a/packages/apps-config/src/links/edgscan.ts b/packages/apps-config/src/links/edgscan.ts index 6f7f973..5590521 100644 --- a/packages/apps-config/src/links/edgscan.ts +++ b/packages/apps-config/src/links/edgscan.ts @@ -7,13 +7,12 @@ import type { ExternalDef } from './types.js'; import { externalEdgscanPNG } from '../ui/logos/external/index.js'; export const Edgscan: ExternalDef = { - chains: { - Edgeware: 'edgeware' - }, + // Edgscan is Edgeware-specific, not applicable to Pezkuwi networks + chains: {}, create: (_chain: string, path: string, data: BN | number | string): string => `https://edgscan.ink/#/${path}/${data.toString()}`, homepage: 'https://edgscan.ink/', - isActive: true, + isActive: false, paths: { address: 'accounts', block: 'blocks', diff --git a/packages/apps-config/src/links/heztreasury.ts b/packages/apps-config/src/links/heztreasury.ts index 2c0a689..f90eb0f 100644 --- a/packages/apps-config/src/links/heztreasury.ts +++ b/packages/apps-config/src/links/heztreasury.ts @@ -8,12 +8,13 @@ import { externalHeztreasurySVG } from '../ui/logos/external/index.js'; export const Heztreasury: ExternalDef = { chains: { - Dicle: 'ksm', - Pezkuwi: 'dot' + Dicle: 'dicle', + Pezkuwi: 'pezkuwi', + Zagros: 'zagros' }, create: (chain: string, path: string, data: BN | number | string): string => - `https://www.dotreasury.com/${chain}/${path}/${data.toString()}`, - homepage: 'https://dotreasury.com/', + `https://treasury.pezkuwichain.io/${chain}/${path}/${data.toString()}`, + homepage: 'https://treasury.pezkuwichain.io/', isActive: true, paths: { bounty: 'bounties', diff --git a/packages/apps-config/src/links/kodadot.ts b/packages/apps-config/src/links/kodadot.ts index 36b1102..e6ec627 100644 --- a/packages/apps-config/src/links/kodadot.ts +++ b/packages/apps-config/src/links/kodadot.ts @@ -17,15 +17,16 @@ const getNetwork = (_chain: string) => { }; export const KodaDot: ExternalDef = { + // Note: KodaDot may not support Pezkuwi networks yet. These are placeholder entries. chains: { - Basilisk: 'basilisk', 'Dicle Asset Hub': 'statemine', - 'Pezkuwi Asset Hub': 'statemint' + 'Pezkuwi Asset Hub': 'statemint', + 'Zagros Asset Hub': 'statemint' }, create: (_chain: string, _path: string, data: BN | number | string): string => `${getNetwork(_chain)}${data.toString()}`, homepage: 'https://kodadot.xyz', - isActive: true, + isActive: false, paths: { address: 'account' }, diff --git a/packages/apps-config/src/links/moonbeamApps.ts b/packages/apps-config/src/links/moonbeamApps.ts index fc52be8..922e418 100644 --- a/packages/apps-config/src/links/moonbeamApps.ts +++ b/packages/apps-config/src/links/moonbeamApps.ts @@ -7,15 +7,12 @@ import type { ExternalDef } from './types.js'; import { externalMoonbeamAppsSVG } from '../ui/logos/external/index.js'; export const MoonbeamApps: ExternalDef = { - chains: { - 'Moonbase Alpha': 'moonbase-alpha', - Moonbeam: 'moonbeam', - Moonriver: 'moonriver' - }, + // MoonbeamApps is Moonbeam-specific, not applicable to Pezkuwi networks + chains: {}, create: (chain: string, path: string, data: BN | number | string): string => `https://apps.moonbeam.network/${chain}/${path}/${data.toString()}`, homepage: 'https://apps.moonbeam.network/', - isActive: true, + isActive: false, paths: { referenda: 'referendum' }, diff --git a/packages/apps-config/src/links/pezkuwiassembly.ts b/packages/apps-config/src/links/pezkuwiassembly.ts index 95682ef..0cef1f4 100644 --- a/packages/apps-config/src/links/pezkuwiassembly.ts +++ b/packages/apps-config/src/links/pezkuwiassembly.ts @@ -8,44 +8,25 @@ import { externalPezkuwiassemblySVG } from '../ui/logos/external/index.js'; export const PezkuwiassemblyIo: ExternalDef = { chains: { - Acala: 'acala', - Altair: 'altair', - Astar: 'astar', - Basilisk: 'basilisk', - 'Bifrost Pezkuwi': 'bifrost', - Calamari: 'calamari', - Centrifuge: 'centrifuge', - 'Centrifuge Mainnet': 'centrifuge', - 'Cere Mainnet Beta': 'cere', - Collectives: 'collectives', - 'Equilibrium teyrchain': 'equilibrium', - 'Hashed Network': 'hashed', - Hydration: 'hydradx', - 'Integritee Network (Dicle)': 'integritee', - Khala: 'khala', - Kintsugi: 'kintsugi', Dicle: 'dicle', - 'Dicle Asset Hub': 'dicle', - 'Dicle CC3': 'dicle', - 'Dicle People': 'dicle', - Parallel: 'parallel', - 'Parallel Heiko': 'heiko', - Picasso: 'picasso', - 'Pioneer Network': 'pioneer', - 'Polkadex Main Network': 'polkadex', + 'Dicle Asset Hub': 'dicle/assethub', + 'Dicle Collectives': 'dicle/collectives', + 'Dicle Coretime': 'dicle/coretime', + 'Dicle People': 'dicle/people', Pezkuwi: 'pezkuwi', - 'Pezkuwi Asset Hub': 'pezkuwi', - Robonomics: 'robonomics', - PezkuwiChain: 'pezkuwichain', - Shibuya: 'shibuya', - Shiden: 'shiden', - 'Vara Network': 'vara', - 'Zagros Collectives': 'zagros-collectives', - Zeitgeist: 'zeitgeist' + 'Pezkuwi Asset Hub': 'pezkuwi/assethub', + 'Pezkuwi Collectives': 'pezkuwi/collectives', + 'Pezkuwi Coretime': 'pezkuwi/coretime', + 'Pezkuwi People': 'pezkuwi/people', + Zagros: 'zagros', + 'Zagros Asset Hub': 'zagros/assethub', + 'Zagros Collectives': 'zagros/collectives', + 'Zagros Coretime': 'zagros/coretime', + 'Zagros People': 'zagros/people' }, create: (chain: string, path: string, data: BN | number | string): string => - `https://${chain}.polkassembly.io/${path}/${data.toString()}`, - homepage: 'https://polkassembly.io/', + `https://governance.pezkuwichain.io/${chain}/${path}/${data.toString()}`, + homepage: 'https://governance.pezkuwichain.io/', isActive: true, paths: { address: 'address', @@ -65,16 +46,10 @@ export const PezkuwiassemblyIo: ExternalDef = { export const PezkuwiassemblyNetwork: ExternalDef = { ...PezkuwiassemblyIo, - chains: { - Bifrost: 'bifrost', - 'KILT Spiritnet': 'kilt', - Karura: 'karura', - 'Khala Network': 'khala', - 'Moonbase Alpha': 'moonbase', - Moonbeam: 'moonbeam', - Moonriver: 'moonriver' - }, + // Secondary governance portal (alias) + chains: {}, create: (chain: string, path: string, data: BN | number | string): string => - `https://${chain}.polkassembly.network/${path}/${data.toString()}`, - homepage: 'https://polkassembly.network/' + `https://governance.pezkuwichain.io/${chain}/${path}/${data.toString()}`, + homepage: 'https://governance.pezkuwichain.io/', + isActive: false }; diff --git a/packages/apps-config/src/links/pezkuwiscan.ts b/packages/apps-config/src/links/pezkuwiscan.ts index 1cd66a7..cba5371 100644 --- a/packages/apps-config/src/links/pezkuwiscan.ts +++ b/packages/apps-config/src/links/pezkuwiscan.ts @@ -8,14 +8,28 @@ import { externalPezkuwiscanSVG } from '../ui/logos/external/index.js'; export const Pezkuwiscan: ExternalDef = { chains: { - // Kulupu: 'kulupu', Dicle: 'dicle', + 'Dicle Asset Hub': 'dicle/assethub', + 'Dicle Bridge Hub': 'dicle/bridgehub', + 'Dicle Collectives': 'dicle/collectives', + 'Dicle Coretime': 'dicle/coretime', + 'Dicle People': 'dicle/people', Pezkuwi: 'pezkuwi', - PezkuwiChain: 'pezkuwichain' + 'Pezkuwi Asset Hub': 'pezkuwi/assethub', + 'Pezkuwi Bridge Hub': 'pezkuwi/bridgehub', + 'Pezkuwi Collectives': 'pezkuwi/collectives', + 'Pezkuwi Coretime': 'pezkuwi/coretime', + 'Pezkuwi People': 'pezkuwi/people', + Zagros: 'zagros', + 'Zagros Asset Hub': 'zagros/assethub', + 'Zagros Bridge Hub': 'zagros/bridgehub', + 'Zagros Collectives': 'zagros/collectives', + 'Zagros Coretime': 'zagros/coretime', + 'Zagros People': 'zagros/people' }, create: (chain: string, path: string, data: BN | number | string): string => - `https://polkascan.io/${chain}/${path}/${data.toString()}`, - homepage: 'https://polkascan.io/', + `https://explorer.pezkuwichain.io/${chain}/${path}/${data.toString()}`, + homepage: 'https://explorer.pezkuwichain.io/', isActive: true, paths: { address: 'account', diff --git a/packages/apps-config/src/links/pezkuwistats.ts b/packages/apps-config/src/links/pezkuwistats.ts index eab31fc..b151254 100644 --- a/packages/apps-config/src/links/pezkuwistats.ts +++ b/packages/apps-config/src/links/pezkuwistats.ts @@ -6,18 +6,30 @@ import type { ExternalDef } from './types.js'; import { externalPezkuwistatsSVG } from '../ui/logos/external/index.js'; -// NOTE Not maintained, see breakage reports in -// https://github.com/pezkuwichain/pezkuwi-apps/issues/8903 export const Pezkuwistats: ExternalDef = { chains: { Dicle: 'dicle', + 'Dicle Asset Hub': 'dicle/assethub', + 'Dicle Bridge Hub': 'dicle/bridgehub', + 'Dicle Collectives': 'dicle/collectives', + 'Dicle Coretime': 'dicle/coretime', + 'Dicle People': 'dicle/people', Pezkuwi: 'pezkuwi', - Zagros: 'zagros' - + 'Pezkuwi Asset Hub': 'pezkuwi/assethub', + 'Pezkuwi Bridge Hub': 'pezkuwi/bridgehub', + 'Pezkuwi Collectives': 'pezkuwi/collectives', + 'Pezkuwi Coretime': 'pezkuwi/coretime', + 'Pezkuwi People': 'pezkuwi/people', + Zagros: 'zagros', + 'Zagros Asset Hub': 'zagros/assethub', + 'Zagros Bridge Hub': 'zagros/bridgehub', + 'Zagros Collectives': 'zagros/collectives', + 'Zagros Coretime': 'zagros/coretime', + 'Zagros People': 'zagros/people' }, create: (chain: string, path: string, data: BN | number | string): string => - `https://${chain}.polkastats.io/${path}/${data.toString()}`, - homepage: 'https://polkastats.io/', + `https://stats.pezkuwichain.io/${chain}/${path}/${data.toString()}`, + homepage: 'https://stats.pezkuwichain.io/', isActive: true, paths: { address: 'account', diff --git a/packages/apps-config/src/links/singular.ts b/packages/apps-config/src/links/singular.ts index b3af512..60f7d9c 100644 --- a/packages/apps-config/src/links/singular.ts +++ b/packages/apps-config/src/links/singular.ts @@ -16,14 +16,19 @@ const getNetwork = (_chain: string) => { }; export const Singular: ExternalDef = { + // Note: Singular may not support Pezkuwi networks yet. These are placeholder entries. chains: { Dicle: 'dicle', - Statemine: 'statemine' + 'Dicle Asset Hub': 'statemine', + Pezkuwi: 'pezkuwi', + 'Pezkuwi Asset Hub': 'statemint', + Zagros: 'zagros', + 'Zagros Asset Hub': 'statemint' }, create: (_chain: string, _path: string, data: BN | number | string): string => `https://singular.app/space/${getNetwork(_chain)}${data.toString()}`, homepage: 'https://singular.app', - isActive: true, + isActive: false, paths: { address: 'account' }, diff --git a/packages/apps-config/src/links/statescan.ts b/packages/apps-config/src/links/statescan.ts index 6d5eec4..9385bfd 100644 --- a/packages/apps-config/src/links/statescan.ts +++ b/packages/apps-config/src/links/statescan.ts @@ -8,31 +8,28 @@ import { externalStatescanSVG } from '../ui/logos/external/index.js'; export const Statescan: ExternalDef = { chains: { - Collectives: 'Collectives', - Crust: 'crust-teyrchain', - 'Crust Shadow': 'shadow', - Heima: 'heima', - 'Hyperbridge (Nexus)': 'nexus', - 'Hyperbridge (gargantua)': 'gargantua', - 'InvArch Network': 'invarch', Dicle: 'dicle', - 'Dicle Asset Hub': 'assethub-dicle', - 'Dicle BridgeHub': 'bridgehub-dicle', - 'Dicle Coretime': 'coretime-dicle', - 'Dicle People': 'people-dicle', - 'Laos Network': 'laos', - 'Paseo Testnet': 'paseo', + 'Dicle Asset Hub': 'dicle/assethub', + 'Dicle Bridge Hub': 'dicle/bridgehub', + 'Dicle Collectives': 'dicle/collectives', + 'Dicle Coretime': 'dicle/coretime', + 'Dicle People': 'dicle/people', Pezkuwi: 'pezkuwi', - 'Pezkuwi Asset Hub': 'assethub-pezkuwi', - 'Pezkuwi BridgeHub': 'bridgehub-pezkuwi', - 'Pezkuwi Coretime': 'coretime-pezkuwi', - 'Pezkuwi People': 'people-pezkuwi', - 'Tangle Mainnet': 'tangle', - 'Zagros Asset Hub': 'assethub-zagros' + 'Pezkuwi Asset Hub': 'pezkuwi/assethub', + 'Pezkuwi Bridge Hub': 'pezkuwi/bridgehub', + 'Pezkuwi Collectives': 'pezkuwi/collectives', + 'Pezkuwi Coretime': 'pezkuwi/coretime', + 'Pezkuwi People': 'pezkuwi/people', + Zagros: 'zagros', + 'Zagros Asset Hub': 'zagros/assethub', + 'Zagros Bridge Hub': 'zagros/bridgehub', + 'Zagros Collectives': 'zagros/collectives', + 'Zagros Coretime': 'zagros/coretime', + 'Zagros People': 'zagros/people' }, create: (chain: string, path: string, data: BN | number | string): string => - `https://${chain}.statescan.io/#/${path}/${data.toString()}`, - homepage: 'https://statescan.io/', + `https://statescan.pezkuwichain.io/${chain}/#/${path}/${data.toString()}`, + homepage: 'https://statescan.pezkuwichain.io/', isActive: true, paths: { address: 'accounts', diff --git a/packages/apps-config/src/links/subid.ts b/packages/apps-config/src/links/subid.ts index 4119b1f..e9fe73e 100644 --- a/packages/apps-config/src/links/subid.ts +++ b/packages/apps-config/src/links/subid.ts @@ -7,39 +7,19 @@ import type { ExternalDef } from './types.js'; import { externalSubidSVG } from '../ui/logos/external/index.js'; export const SubId: ExternalDef = { + // Note: Sub.ID may not support Pezkuwi networks yet. These are placeholder entries. chains: { - Acala: 'acala', - Altair: 'altair', - Astar: 'astar', - Basilisk: 'basilisk', - Bifrost: 'bifrost', - Centrifuge: 'centrifuge', - 'Centrifuge Mainnet': 'centrifuge', - ChainX: 'chainx', - 'Composable Finance': 'composable', - Edgeware: 'edgeware', - Hydration: 'hydration', - Interlay: 'interlay', - InvArch: 'invarch', - 'KILT Spiritnet': 'kilt', - Karura: 'karura', - Khala: 'khala', Dicle: 'dicle', - 'Dicle Asset Hub': 'statemine', - Nodle: 'nodle', - Picasso: 'picasso', - 'Pioneer Network': 'pioneer', + 'Dicle Asset Hub': 'assethub-dicle', Pezkuwi: 'pezkuwi', - 'Pezkuwi Asset Hub': 'statemint', - SORA: 'sora-bizinikiwi', - Shiden: 'shiden', - Subsocial: 'subsocial', - Zeitgeist: 'zeitgeist' + 'Pezkuwi Asset Hub': 'assethub-pezkuwi', + Zagros: 'zagros', + 'Zagros Asset Hub': 'assethub-zagros' }, create: (_chain: string, _path: string, data: BN | number | string): string => `https://sub.id/${data.toString()}`, homepage: 'https://sub.id', - isActive: true, + isActive: false, paths: { address: 'account' }, diff --git a/packages/apps-config/src/links/subscan.ts b/packages/apps-config/src/links/subscan.ts index de210ff..064318b 100644 --- a/packages/apps-config/src/links/subscan.ts +++ b/packages/apps-config/src/links/subscan.ts @@ -8,106 +8,28 @@ import { externalSubscanPNG } from '../ui/logos/external/index.js'; export const Subscan: ExternalDef = { chains: { - Acala: 'acala', - 'Acala Mandala TC5': 'acala-testnet', - Ajuna: 'ajuna', - 'Ajuna Pezkuwi': 'ajuna', - 'Aleph Zero': 'alephzero', - 'Aleph Zero Testnet': 'alephzero-testnet', - Altair: 'altair', - AssetHub: 'assethub-pezkuwi', - Astar: 'astar', - Autonomys: 'autonomys', - 'Bajun Dicle': 'bajun', - Basilisk: 'basilisk', - Bifrost: 'bifrost-dicle', - 'Bifrost Pezkuwi': 'bifrost', - BridgeHub: 'bridgehub-pezkuwi', - 'Calamari Teyrchain': 'calamari', - Centrifuge: 'centrifuge', - ChainX: 'chainx', - Clover: 'clover', - Collectives: 'collectives-pezkuwi', - 'Composable Finance': 'composable', - Continuum: 'continuum', - 'Continuum Network': 'continuum', - Coretime: 'coretime-pezkuwi', - Crab2: 'crab', - Creditcoin: 'creditcoin', - 'Creditcoin3 Testnet': 'creditcoin3-testnet', - Crust: 'crust', - 'Crust Network': 'crust-teyrchain', - 'Crust Shadow': 'shadow', - Darwinia: 'darwinia', - Darwinia2: 'darwinia', - Dock: 'dock', - 'Dolphin Teyrchain Testnet': 'dolphin', - 'Energy Web X': 'energywebx', - Heima: 'heima', - Humanode: 'humanode', - 'Humanode Mainnet': 'humanode', - Hydration: 'hydration', - 'Integritee Network (Dicle)': 'integritee', - Interlay: 'interlay', - Joystream: 'joystream', - 'KILT Peregrine': 'kilt-testnet', - 'KILT Spiritnet': 'spiritnet', - Karura: 'karura', - Khala: 'khala', Dicle: 'dicle', - 'Dicle Asset Hub': 'assethub-dicle', - 'Mangata Dicle Mainnet': 'mangatax', - Manta: 'manta', - 'Moonbase Alpha': 'moonbase', - Moonbeam: 'moonbeam', - Moonriver: 'moonriver', - Mythos: 'mythos', - NeuroWeb: 'neuroweb', - 'NeuroWeb Testnet': 'neuroweb-testnet', - Nodle: 'nodle', - 'Nodle Teyrchain': 'nodle', - 'OPAL by UNIQUE': 'opal', - 'Paseo Asset Hub': 'assethub-paseo', - 'Paseo Bridge Hub': 'bridgehub-paseo', - 'Paseo Coretime': 'coretime-paseo', - 'Paseo People': 'people-paseo', - 'Paseo Testnet': 'paseo', - Peaq: 'peaq', - Pendulum: 'pendulum', - People: 'people-pezkuwi', - Phala: 'phala', - 'Phala Network': 'phala', - Picasso: 'picasso', - 'Pioneer Network': 'pioneer', - Polkadex: 'polkadex-teyrchain', + 'Dicle Asset Hub': 'dicle/assethub', + 'Dicle Bridge Hub': 'dicle/bridgehub', + 'Dicle Collectives': 'dicle/collectives', + 'Dicle Coretime': 'dicle/coretime', + 'Dicle People': 'dicle/people', Pezkuwi: 'pezkuwi', - 'Pezkuwi Asset Hub': 'assethub-pezkuwi', - Polymesh: 'polymesh', - 'Polymesh Mainnet': 'polymesh', - 'Polymesh Testnet': 'polymesh-testnet', - 'QUARTZ by UNIQUE': 'quartz', - 'Robonomics Dicle': 'robonomics-freemium', - 'Robonomics Pezkuwi': 'robonomics', - PezkuwiChain: 'pezkuwichain', - 'PezkuwiChain Asset Hub': 'assethub-pezkuwichain', - 'PezkuwiChain BridgeHub': 'bridgeHub-pezkuwichain', - 'PezkuwiChain Coretime': 'coretime-pezkuwichain', - SORA: 'sora', - 'Shibuya Testnet': 'shibuya', - Shiden: 'shiden', - Stafi: 'stafi', - 'Turing Network': 'turing', - UNIQUE: 'unique', - Unique: 'unique', - Vara: 'vara', - 'Vara Network': 'vara', + 'Pezkuwi Asset Hub': 'pezkuwi/assethub', + 'Pezkuwi Bridge Hub': 'pezkuwi/bridgehub', + 'Pezkuwi Collectives': 'pezkuwi/collectives', + 'Pezkuwi Coretime': 'pezkuwi/coretime', + 'Pezkuwi People': 'pezkuwi/people', Zagros: 'zagros', - Zeitgeist: 'zeitgeist', - kintsugi: 'kintsugi' + 'Zagros Asset Hub': 'zagros/assethub', + 'Zagros Bridge Hub': 'zagros/bridgehub', + 'Zagros Collectives': 'zagros/collectives', + 'Zagros Coretime': 'zagros/coretime', + 'Zagros People': 'zagros/people' }, create: (chain: string, path: string, data: BN | number | string): string => - `https://${chain}.subscan.io/${path}/${data.toString()}`, - homepage: 'https://subscan.io/', + `https://scan.pezkuwichain.io/${chain}/${path}/${data.toString()}`, + homepage: 'https://scan.pezkuwichain.io/', isActive: true, paths: { address: 'account', diff --git a/packages/apps-config/src/links/subsquare.ts b/packages/apps-config/src/links/subsquare.ts index 8a7d100..e759c1c 100644 --- a/packages/apps-config/src/links/subsquare.ts +++ b/packages/apps-config/src/links/subsquare.ts @@ -7,40 +7,28 @@ import type { ExternalDef } from './types.js'; import { externalSubsquareSVG } from '../ui/logos/external/index.js'; export const Subsquare: ExternalDef = { + // Note: Subsquare may not support Pezkuwi networks yet. These are placeholder entries. chains: { - Acala: 'acala', - 'Ajuna Pezkuwi': 'ajuna', - Altair: 'altair', - Astar: 'astar', - Basilisk: 'basilisk', - Bifrost: 'bifrost-dicle', - 'Bifrost Pezkuwi': 'bifrost-pezkuwi', - Centrifuge: 'centrifuge', - Collectives: 'collectives', - Crust: 'crust', - Heima: 'heima', - Hydration: 'hydration', - 'Hyperbridge (Nexus)': 'hyperbridge', - Interlay: 'interlay', - Karura: 'karura', Dicle: 'dicle', 'Dicle Asset Hub': 'dicle', - 'Laos Network': 'laos', - 'Paseo Asset Hub': 'paseo', - 'Paseo Testnet': 'paseo', - Phala: 'phala', + 'Dicle Collectives': 'dicle', + 'Dicle Coretime': 'dicle', + 'Dicle People': 'dicle', Pezkuwi: 'pezkuwi', 'Pezkuwi Asset Hub': 'pezkuwi', - 'Vara Network': 'vara', + 'Pezkuwi Collectives': 'pezkuwi', + 'Pezkuwi Coretime': 'pezkuwi', + 'Pezkuwi People': 'pezkuwi', Zagros: 'zagros', 'Zagros Asset Hub': 'zagros', - Zeitgeist: 'zeitgeist', - kintsugi: 'kintsugi' + 'Zagros Collectives': 'zagros', + 'Zagros Coretime': 'zagros', + 'Zagros People': 'zagros' }, create: (chain: string, path: string, data: BN | number | string): string => `https://${chain}.subsquare.io/${path}/${data.toString()}${path === 'user' ? '/votes' : ''}`, homepage: 'https://subsquare.io/', - isActive: true, + isActive: false, paths: { address: 'user', bounty: 'treasury/bounty',