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-teyrchain': bitcountryTeyrchain,
bittensor,
'bizinikiwi-contracts-node': bizinikiwiContractsNode,
centrifuge,
'centrifuge-chain': centrifugeChain,
chainx,
@@ -296,7 +297,6 @@ const spec: Record<string, OverrideBundleDefinition> = {
spanner,
stafi,
standard,
'bizinikiwi-contracts-node': bizinikiwiContractsNode,
steam: eave,
subdao,
subgame,
+1 -1
View File
@@ -51,11 +51,11 @@ export function getBalance (
instanceId,
(account: string): Observable<DeriveBalancesAll> =>
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,
+2 -33
View File
@@ -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,
+3 -4
View File
@@ -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',
@@ -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',
+3 -4
View File
@@ -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',
@@ -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',
+4 -3
View File
@@ -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'
},
@@ -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'
},
@@ -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
};
+18 -4
View File
@@ -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',
+18 -6
View File
@@ -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',
+7 -2
View File
@@ -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'
},
+18 -21
View File
@@ -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',
+6 -26
View File
@@ -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'
},
+17 -95
View File
@@ -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',
+11 -23
View File
@@ -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',