refactor: remove non-Pezkuwi blockchains from menu and update external service URLs

- Remove Paseo, prodChains, testChains from sidebar menu
- Keep only Pezkuwi, Dicle, Zagros networks and their parachains
- Update external service links to use Pezkuwi domains:
  - explorer.pezkuwichain.io (block explorer)
  - scan.pezkuwichain.io (blockchain scanner)
  - statescan.pezkuwichain.io (state explorer)
  - stats.pezkuwichain.io (validator stats)
  - treasury.pezkuwichain.io (treasury dashboard)
  - governance.pezkuwichain.io (governance portal)
- Disable non-applicable external services (Subsquare, KodaDot, etc.)
- Fix eslint errors (key ordering, unsafe member access)
This commit is contained in:
2026-01-08 11:16:24 +03:00
parent d9eb5d9715
commit 45320e6f27
17 changed files with 141 additions and 282 deletions
+1 -1
View File
@@ -170,6 +170,7 @@ const spec: Record<string, OverrideBundleDefinition> = {
'bitcountry-node': bitcountry, 'bitcountry-node': bitcountry,
'bitcountry-teyrchain': bitcountryTeyrchain, 'bitcountry-teyrchain': bitcountryTeyrchain,
bittensor, bittensor,
'bizinikiwi-contracts-node': bizinikiwiContractsNode,
centrifuge, centrifuge,
'centrifuge-chain': centrifugeChain, 'centrifuge-chain': centrifugeChain,
chainx, chainx,
@@ -296,7 +297,6 @@ const spec: Record<string, OverrideBundleDefinition> = {
spanner, spanner,
stafi, stafi,
standard, standard,
'bizinikiwi-contracts-node': bizinikiwiContractsNode,
steam: eave, steam: eave,
subdao, subdao,
subgame, subgame,
+1 -1
View File
@@ -51,11 +51,11 @@ export function getBalance (
instanceId, instanceId,
(account: string): Observable<DeriveBalancesAll> => (account: string): Observable<DeriveBalancesAll> =>
combineLatest<[any, any]>([api.query.tokens.accounts(account, 0), api.query.system.account(account)]).pipe( 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 => { map(([data, systemAccount]: [OrmlAccountData, FrameSystemAccountInfo]): DeriveBalancesAll => {
return { return {
...defaultAccountBalance(), ...defaultAccountBalance(),
accountId: api.registry.createType('AccountId', account), accountId: api.registry.createType('AccountId', account),
// eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
accountNonce: systemAccount.nonce, accountNonce: systemAccount.nonce,
availableBalance: api.registry.createType('Balance', data.free.sub(data.frozen)), availableBalance: api.registry.createType('Balance', data.free.sub(data.frozen)),
freeBalance: data.free, freeBalance: data.free,
+2 -33
View File
@@ -5,9 +5,8 @@ import type { TFunction, TOptions } from '../types.js';
import type { LinkOption } from './types.js'; import type { LinkOption } from './types.js';
import { createCustom, createDev, createOwn } from './development.js'; import { createCustom, createDev, createOwn } from './development.js';
import { prodChains, prodRelayDicle, prodRelayPezkuwi } from './production.js'; import { prodRelayDicle, prodRelayPezkuwi } from './production.js';
import { testChains, testRelayZagros } from './testing.js'; import { testRelayZagros } from './testing.js';
import { testRelayPaseo } from './testingRelayPaseo.js';
import { expandEndpoints } from './util.js'; import { expandEndpoints } from './util.js';
export { CUSTOM_ENDPOINT_KEY } from './development.js'; export { CUSTOM_ENDPOINT_KEY } from './development.js';
@@ -64,36 +63,6 @@ export function createWsEndpoints (t: TFunction = defaultT, firstOnly = false, w
value: '' value: ''
}, },
...expandEndpoints(t, [testRelayZagros], firstOnly, withSort), ...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, isDevelopment: true,
isDisabled: false, isDisabled: false,
+3 -4
View File
@@ -7,13 +7,12 @@ import type { ExternalDef } from './types.js';
import { externalCerestatsPNG } from '../ui/logos/external/index.js'; import { externalCerestatsPNG } from '../ui/logos/external/index.js';
export const CereStats: ExternalDef = { export const CereStats: ExternalDef = {
chains: { // CereStats is Cere-specific, not applicable to Pezkuwi networks
'Cere Mainnet Beta': 'cere' chains: {},
},
create: (_: string, path: string, data: BN | number | string): string => create: (_: string, path: string, data: BN | number | string): string =>
`https://stats.cere.network/${path}/${data.toString()}`, `https://stats.cere.network/${path}/${data.toString()}`,
homepage: 'https://stats.cere.network', homepage: 'https://stats.cere.network',
isActive: true, isActive: false,
paths: { paths: {
address: 'account', address: 'account',
block: 'block', block: 'block',
@@ -9,16 +9,16 @@ import { externalCommonwealthPNG } from '../ui/logos/external/index.js';
const HASH_PATHS = ['proposal/councilmotion']; const HASH_PATHS = ['proposal/councilmotion'];
export const Commonwealth: ExternalDef = { export const Commonwealth: ExternalDef = {
// Note: Commonwealth may not support Pezkuwi networks yet. These are placeholder entries.
chains: { chains: {
Dicle: 'dicle', Dicle: 'dicle',
'Dicle CC3': 'dicle', Pezkuwi: 'pezkuwi',
Edgeware: 'edgeware', Zagros: 'zagros'
Kulupu: 'kulupu'
}, },
create: (chain: string, path: string, data: BN | number | string, hash?: string): string => create: (chain: string, path: string, data: BN | number | string, hash?: string): string =>
`https://commonwealth.im/${chain}/${path}/${HASH_PATHS.includes(path) ? (hash || '') : data.toString()}`, `https://commonwealth.im/${chain}/${path}/${HASH_PATHS.includes(path) ? (hash || '') : data.toString()}`,
homepage: 'https://commonwealth.im/', homepage: 'https://commonwealth.im/',
isActive: true, isActive: false,
paths: { paths: {
council: 'proposal/councilmotion', council: 'proposal/councilmotion',
democracyProposal: 'proposal/democracyproposal', democracyProposal: 'proposal/democracyproposal',
+3 -4
View File
@@ -7,13 +7,12 @@ import type { ExternalDef } from './types.js';
import { externalEdgscanPNG } from '../ui/logos/external/index.js'; import { externalEdgscanPNG } from '../ui/logos/external/index.js';
export const Edgscan: ExternalDef = { export const Edgscan: ExternalDef = {
chains: { // Edgscan is Edgeware-specific, not applicable to Pezkuwi networks
Edgeware: 'edgeware' chains: {},
},
create: (_chain: string, path: string, data: BN | number | string): string => create: (_chain: string, path: string, data: BN | number | string): string =>
`https://edgscan.ink/#/${path}/${data.toString()}`, `https://edgscan.ink/#/${path}/${data.toString()}`,
homepage: 'https://edgscan.ink/', homepage: 'https://edgscan.ink/',
isActive: true, isActive: false,
paths: { paths: {
address: 'accounts', address: 'accounts',
block: 'blocks', block: 'blocks',
@@ -8,12 +8,13 @@ import { externalHeztreasurySVG } from '../ui/logos/external/index.js';
export const Heztreasury: ExternalDef = { export const Heztreasury: ExternalDef = {
chains: { chains: {
Dicle: 'ksm', Dicle: 'dicle',
Pezkuwi: 'dot' Pezkuwi: 'pezkuwi',
Zagros: 'zagros'
}, },
create: (chain: string, path: string, data: BN | number | string): string => create: (chain: string, path: string, data: BN | number | string): string =>
`https://www.dotreasury.com/${chain}/${path}/${data.toString()}`, `https://treasury.pezkuwichain.io/${chain}/${path}/${data.toString()}`,
homepage: 'https://dotreasury.com/', homepage: 'https://treasury.pezkuwichain.io/',
isActive: true, isActive: true,
paths: { paths: {
bounty: 'bounties', bounty: 'bounties',
+4 -3
View File
@@ -17,15 +17,16 @@ const getNetwork = (_chain: string) => {
}; };
export const KodaDot: ExternalDef = { export const KodaDot: ExternalDef = {
// Note: KodaDot may not support Pezkuwi networks yet. These are placeholder entries.
chains: { chains: {
Basilisk: 'basilisk',
'Dicle Asset Hub': 'statemine', '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 => create: (_chain: string, _path: string, data: BN | number | string): string =>
`${getNetwork(_chain)}${data.toString()}`, `${getNetwork(_chain)}${data.toString()}`,
homepage: 'https://kodadot.xyz', homepage: 'https://kodadot.xyz',
isActive: true, isActive: false,
paths: { paths: {
address: 'account' address: 'account'
}, },
@@ -7,15 +7,12 @@ import type { ExternalDef } from './types.js';
import { externalMoonbeamAppsSVG } from '../ui/logos/external/index.js'; import { externalMoonbeamAppsSVG } from '../ui/logos/external/index.js';
export const MoonbeamApps: ExternalDef = { export const MoonbeamApps: ExternalDef = {
chains: { // MoonbeamApps is Moonbeam-specific, not applicable to Pezkuwi networks
'Moonbase Alpha': 'moonbase-alpha', chains: {},
Moonbeam: 'moonbeam',
Moonriver: 'moonriver'
},
create: (chain: string, path: string, data: BN | number | string): string => create: (chain: string, path: string, data: BN | number | string): string =>
`https://apps.moonbeam.network/${chain}/${path}/${data.toString()}`, `https://apps.moonbeam.network/${chain}/${path}/${data.toString()}`,
homepage: 'https://apps.moonbeam.network/', homepage: 'https://apps.moonbeam.network/',
isActive: true, isActive: false,
paths: { paths: {
referenda: 'referendum' referenda: 'referendum'
}, },
@@ -8,44 +8,25 @@ import { externalPezkuwiassemblySVG } from '../ui/logos/external/index.js';
export const PezkuwiassemblyIo: ExternalDef = { export const PezkuwiassemblyIo: ExternalDef = {
chains: { 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: 'dicle',
'Dicle Asset Hub': 'dicle', 'Dicle Asset Hub': 'dicle/assethub',
'Dicle CC3': 'dicle', 'Dicle Collectives': 'dicle/collectives',
'Dicle People': 'dicle', 'Dicle Coretime': 'dicle/coretime',
Parallel: 'parallel', 'Dicle People': 'dicle/people',
'Parallel Heiko': 'heiko',
Picasso: 'picasso',
'Pioneer Network': 'pioneer',
'Polkadex Main Network': 'polkadex',
Pezkuwi: 'pezkuwi', Pezkuwi: 'pezkuwi',
'Pezkuwi Asset Hub': 'pezkuwi', 'Pezkuwi Asset Hub': 'pezkuwi/assethub',
Robonomics: 'robonomics', 'Pezkuwi Collectives': 'pezkuwi/collectives',
PezkuwiChain: 'pezkuwichain', 'Pezkuwi Coretime': 'pezkuwi/coretime',
Shibuya: 'shibuya', 'Pezkuwi People': 'pezkuwi/people',
Shiden: 'shiden', Zagros: 'zagros',
'Vara Network': 'vara', 'Zagros Asset Hub': 'zagros/assethub',
'Zagros Collectives': 'zagros-collectives', 'Zagros Collectives': 'zagros/collectives',
Zeitgeist: 'zeitgeist' 'Zagros Coretime': 'zagros/coretime',
'Zagros People': 'zagros/people'
}, },
create: (chain: string, path: string, data: BN | number | string): string => create: (chain: string, path: string, data: BN | number | string): string =>
`https://${chain}.polkassembly.io/${path}/${data.toString()}`, `https://governance.pezkuwichain.io/${chain}/${path}/${data.toString()}`,
homepage: 'https://polkassembly.io/', homepage: 'https://governance.pezkuwichain.io/',
isActive: true, isActive: true,
paths: { paths: {
address: 'address', address: 'address',
@@ -65,16 +46,10 @@ export const PezkuwiassemblyIo: ExternalDef = {
export const PezkuwiassemblyNetwork: ExternalDef = { export const PezkuwiassemblyNetwork: ExternalDef = {
...PezkuwiassemblyIo, ...PezkuwiassemblyIo,
chains: { // Secondary governance portal (alias)
Bifrost: 'bifrost', chains: {},
'KILT Spiritnet': 'kilt',
Karura: 'karura',
'Khala Network': 'khala',
'Moonbase Alpha': 'moonbase',
Moonbeam: 'moonbeam',
Moonriver: 'moonriver'
},
create: (chain: string, path: string, data: BN | number | string): string => create: (chain: string, path: string, data: BN | number | string): string =>
`https://${chain}.polkassembly.network/${path}/${data.toString()}`, `https://governance.pezkuwichain.io/${chain}/${path}/${data.toString()}`,
homepage: 'https://polkassembly.network/' homepage: 'https://governance.pezkuwichain.io/',
isActive: false
}; };
+18 -4
View File
@@ -8,14 +8,28 @@ import { externalPezkuwiscanSVG } from '../ui/logos/external/index.js';
export const Pezkuwiscan: ExternalDef = { export const Pezkuwiscan: ExternalDef = {
chains: { chains: {
// Kulupu: 'kulupu',
Dicle: 'dicle', 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', 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 => create: (chain: string, path: string, data: BN | number | string): string =>
`https://polkascan.io/${chain}/${path}/${data.toString()}`, `https://explorer.pezkuwichain.io/${chain}/${path}/${data.toString()}`,
homepage: 'https://polkascan.io/', homepage: 'https://explorer.pezkuwichain.io/',
isActive: true, isActive: true,
paths: { paths: {
address: 'account', address: 'account',
+18 -6
View File
@@ -6,18 +6,30 @@ import type { ExternalDef } from './types.js';
import { externalPezkuwistatsSVG } from '../ui/logos/external/index.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 = { export const Pezkuwistats: ExternalDef = {
chains: { chains: {
Dicle: 'dicle', 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', 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 => create: (chain: string, path: string, data: BN | number | string): string =>
`https://${chain}.polkastats.io/${path}/${data.toString()}`, `https://stats.pezkuwichain.io/${chain}/${path}/${data.toString()}`,
homepage: 'https://polkastats.io/', homepage: 'https://stats.pezkuwichain.io/',
isActive: true, isActive: true,
paths: { paths: {
address: 'account', address: 'account',
+7 -2
View File
@@ -16,14 +16,19 @@ const getNetwork = (_chain: string) => {
}; };
export const Singular: ExternalDef = { export const Singular: ExternalDef = {
// Note: Singular may not support Pezkuwi networks yet. These are placeholder entries.
chains: { chains: {
Dicle: 'dicle', 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 => create: (_chain: string, _path: string, data: BN | number | string): string =>
`https://singular.app/space/${getNetwork(_chain)}${data.toString()}`, `https://singular.app/space/${getNetwork(_chain)}${data.toString()}`,
homepage: 'https://singular.app', homepage: 'https://singular.app',
isActive: true, isActive: false,
paths: { paths: {
address: 'account' address: 'account'
}, },
+18 -21
View File
@@ -8,31 +8,28 @@ import { externalStatescanSVG } from '../ui/logos/external/index.js';
export const Statescan: ExternalDef = { export const Statescan: ExternalDef = {
chains: { chains: {
Collectives: 'Collectives',
Crust: 'crust-teyrchain',
'Crust Shadow': 'shadow',
Heima: 'heima',
'Hyperbridge (Nexus)': 'nexus',
'Hyperbridge (gargantua)': 'gargantua',
'InvArch Network': 'invarch',
Dicle: 'dicle', Dicle: 'dicle',
'Dicle Asset Hub': 'assethub-dicle', 'Dicle Asset Hub': 'dicle/assethub',
'Dicle BridgeHub': 'bridgehub-dicle', 'Dicle Bridge Hub': 'dicle/bridgehub',
'Dicle Coretime': 'coretime-dicle', 'Dicle Collectives': 'dicle/collectives',
'Dicle People': 'people-dicle', 'Dicle Coretime': 'dicle/coretime',
'Laos Network': 'laos', 'Dicle People': 'dicle/people',
'Paseo Testnet': 'paseo',
Pezkuwi: 'pezkuwi', Pezkuwi: 'pezkuwi',
'Pezkuwi Asset Hub': 'assethub-pezkuwi', 'Pezkuwi Asset Hub': 'pezkuwi/assethub',
'Pezkuwi BridgeHub': 'bridgehub-pezkuwi', 'Pezkuwi Bridge Hub': 'pezkuwi/bridgehub',
'Pezkuwi Coretime': 'coretime-pezkuwi', 'Pezkuwi Collectives': 'pezkuwi/collectives',
'Pezkuwi People': 'people-pezkuwi', 'Pezkuwi Coretime': 'pezkuwi/coretime',
'Tangle Mainnet': 'tangle', 'Pezkuwi People': 'pezkuwi/people',
'Zagros Asset Hub': 'assethub-zagros' 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 => create: (chain: string, path: string, data: BN | number | string): string =>
`https://${chain}.statescan.io/#/${path}/${data.toString()}`, `https://statescan.pezkuwichain.io/${chain}/#/${path}/${data.toString()}`,
homepage: 'https://statescan.io/', homepage: 'https://statescan.pezkuwichain.io/',
isActive: true, isActive: true,
paths: { paths: {
address: 'accounts', address: 'accounts',
+6 -26
View File
@@ -7,39 +7,19 @@ import type { ExternalDef } from './types.js';
import { externalSubidSVG } from '../ui/logos/external/index.js'; import { externalSubidSVG } from '../ui/logos/external/index.js';
export const SubId: ExternalDef = { export const SubId: ExternalDef = {
// Note: Sub.ID may not support Pezkuwi networks yet. These are placeholder entries.
chains: { 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: 'dicle',
'Dicle Asset Hub': 'statemine', 'Dicle Asset Hub': 'assethub-dicle',
Nodle: 'nodle',
Picasso: 'picasso',
'Pioneer Network': 'pioneer',
Pezkuwi: 'pezkuwi', Pezkuwi: 'pezkuwi',
'Pezkuwi Asset Hub': 'statemint', 'Pezkuwi Asset Hub': 'assethub-pezkuwi',
SORA: 'sora-bizinikiwi', Zagros: 'zagros',
Shiden: 'shiden', 'Zagros Asset Hub': 'assethub-zagros'
Subsocial: 'subsocial',
Zeitgeist: 'zeitgeist'
}, },
create: (_chain: string, _path: string, data: BN | number | string): string => create: (_chain: string, _path: string, data: BN | number | string): string =>
`https://sub.id/${data.toString()}`, `https://sub.id/${data.toString()}`,
homepage: 'https://sub.id', homepage: 'https://sub.id',
isActive: true, isActive: false,
paths: { paths: {
address: 'account' address: 'account'
}, },
+17 -95
View File
@@ -8,106 +8,28 @@ import { externalSubscanPNG } from '../ui/logos/external/index.js';
export const Subscan: ExternalDef = { export const Subscan: ExternalDef = {
chains: { 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: 'dicle',
'Dicle Asset Hub': 'assethub-dicle', 'Dicle Asset Hub': 'dicle/assethub',
'Mangata Dicle Mainnet': 'mangatax', 'Dicle Bridge Hub': 'dicle/bridgehub',
Manta: 'manta', 'Dicle Collectives': 'dicle/collectives',
'Moonbase Alpha': 'moonbase', 'Dicle Coretime': 'dicle/coretime',
Moonbeam: 'moonbeam', 'Dicle People': 'dicle/people',
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',
Pezkuwi: 'pezkuwi', Pezkuwi: 'pezkuwi',
'Pezkuwi Asset Hub': 'assethub-pezkuwi', 'Pezkuwi Asset Hub': 'pezkuwi/assethub',
Polymesh: 'polymesh', 'Pezkuwi Bridge Hub': 'pezkuwi/bridgehub',
'Polymesh Mainnet': 'polymesh', 'Pezkuwi Collectives': 'pezkuwi/collectives',
'Polymesh Testnet': 'polymesh-testnet', 'Pezkuwi Coretime': 'pezkuwi/coretime',
'QUARTZ by UNIQUE': 'quartz', 'Pezkuwi People': 'pezkuwi/people',
'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',
Zagros: 'zagros', Zagros: 'zagros',
Zeitgeist: 'zeitgeist', 'Zagros Asset Hub': 'zagros/assethub',
kintsugi: 'kintsugi' '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 => create: (chain: string, path: string, data: BN | number | string): string =>
`https://${chain}.subscan.io/${path}/${data.toString()}`, `https://scan.pezkuwichain.io/${chain}/${path}/${data.toString()}`,
homepage: 'https://subscan.io/', homepage: 'https://scan.pezkuwichain.io/',
isActive: true, isActive: true,
paths: { paths: {
address: 'account', address: 'account',
+11 -23
View File
@@ -7,40 +7,28 @@ import type { ExternalDef } from './types.js';
import { externalSubsquareSVG } from '../ui/logos/external/index.js'; import { externalSubsquareSVG } from '../ui/logos/external/index.js';
export const Subsquare: ExternalDef = { export const Subsquare: ExternalDef = {
// Note: Subsquare may not support Pezkuwi networks yet. These are placeholder entries.
chains: { 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: 'dicle',
'Dicle Asset Hub': 'dicle', 'Dicle Asset Hub': 'dicle',
'Laos Network': 'laos', 'Dicle Collectives': 'dicle',
'Paseo Asset Hub': 'paseo', 'Dicle Coretime': 'dicle',
'Paseo Testnet': 'paseo', 'Dicle People': 'dicle',
Phala: 'phala',
Pezkuwi: 'pezkuwi', Pezkuwi: 'pezkuwi',
'Pezkuwi Asset Hub': 'pezkuwi', 'Pezkuwi Asset Hub': 'pezkuwi',
'Vara Network': 'vara', 'Pezkuwi Collectives': 'pezkuwi',
'Pezkuwi Coretime': 'pezkuwi',
'Pezkuwi People': 'pezkuwi',
Zagros: 'zagros', Zagros: 'zagros',
'Zagros Asset Hub': 'zagros', 'Zagros Asset Hub': 'zagros',
Zeitgeist: 'zeitgeist', 'Zagros Collectives': 'zagros',
kintsugi: 'kintsugi' 'Zagros Coretime': 'zagros',
'Zagros People': 'zagros'
}, },
create: (chain: string, path: string, data: BN | number | string): string => create: (chain: string, path: string, data: BN | number | string): string =>
`https://${chain}.subsquare.io/${path}/${data.toString()}${path === 'user' ? '/votes' : ''}`, `https://${chain}.subsquare.io/${path}/${data.toString()}${path === 'user' ? '/votes' : ''}`,
homepage: 'https://subsquare.io/', homepage: 'https://subsquare.io/',
isActive: true, isActive: false,
paths: { paths: {
address: 'user', address: 'user',
bounty: 'treasury/bounty', bounty: 'treasury/bounty',