Rebrand: Remove 3rd party chains, update domains to PezkuwiChain

- Remove all 3rd party parachain configurations from endpoints:
  - productionRelayPolkadot.ts: Keep only system parachains
  - productionRelayDicle.ts: Keep only system parachains
  - testingRelayZagros.ts: Keep only system parachains
  - testingRelayTeyrChain.ts: Keep only system parachains

- Update domain references:
  - polkadot.js.org → pezkuwichain.app
  - wiki.polkadot.network → wiki.pezkuwichain.io
  - dotapps.io → pezkuwichain.app
  - statement.polkadot.network → docs.pezkuwichain.io/statement
  - support.polkadot.network → docs.pezkuwichain.io

- Update repository references:
  - github.com/pezkuwi-js/apps → github.com/pezkuwichain/pwap

- Rename system parachains to Pezkuwi ecosystem:
  - PolkadotAssetHub → PezkuwiAssetHub
  - polkadotBridgeHub → pezkuwiBridgeHub
  - polkadotCollectives → pezkuwiCollectives
  - polkadotCoretime → pezkuwiCoretime
  - polkadotPeople → pezkuwiPeople

- Update network name in claims utility:
  - Polkadot → Pezkuwi
This commit is contained in:
2026-01-09 03:08:11 +03:00
parent 12b5976838
commit 971df8edba
3348 changed files with 4629 additions and 7040 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/apps authors & contributors
// Copyright 2017-2026 @pezkuwi/apps authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { BareProps as Props } from '@pezkuwi/react-components/types';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/apps authors & contributors
// Copyright 2017-2026 @pezkuwi/apps authors & contributors
// SPDX-License-Identifier: Apache-2.0
import React, { useEffect, useState } from 'react';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/apps authors & contributors
// Copyright 2017-2026 @pezkuwi/apps authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { RouteProps } from '@pezkuwi/apps-routing/types';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/apps authors & contributors
// Copyright 2017-2026 @pezkuwi/apps authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { ActionStatus } from '@pezkuwi/react-components/Status/types';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/apps authors & contributors
// Copyright 2017-2026 @pezkuwi/apps authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { Route } from '@pezkuwi/apps-routing/types';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/apps authors & contributors
// Copyright 2017-2026 @pezkuwi/apps authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { Group, IFavoriteChainProps, IFavoriteChainsStorage } from './types.js';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/apps authors & contributors
// Copyright 2017-2026 @pezkuwi/apps authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { IFavoriteChainProps, Network } from './types.js';
@@ -82,7 +82,7 @@ function NetworkDisplay ({ apiUrl, className = '', isFavorite, setApiUrl, toggle
? t('{{relay}} System', { replace: { relay } })
: paraId && paraId < 2000
? t('{{relay}} Common', { replace: { relay } })
: t('{{relay}} Parachain', { replace: { relay } })
: t('{{relay}} TeyrChain', { replace: { relay } })
}
</div>
)}
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/apps authors & contributors
// Copyright 2017-2026 @pezkuwi/apps authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { LinkOption } from '@pezkuwi/apps-config/endpoints/types';
@@ -106,7 +106,7 @@ function combineEndpoints (endpoints: LinkOption[]): Group[] {
// Swap first two items in `networks` if first item is relay chain
combinedEndpoints.forEach((r) => {
if (r.networks.length >= 2 && r.networks[0].isRelay && r.header?.toString().includes('parachains')) {
if (r.networks.length >= 2 && r.networks[0].isRelay && r.header?.toString().includes('teyrchains')) {
[r.networks[0], r.networks[1]] = [r.networks[1], r.networks[0]];
}
});
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/apps authors & contributors
// Copyright 2017-2026 @pezkuwi/apps authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type React from 'react';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/apps authors & contributors
// Copyright 2017-2026 @pezkuwi/apps authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { IFavoriteChainProps, IFavoriteChainsStorage } from './types.js';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/apps authors & contributors
// Copyright 2017-2026 @pezkuwi/apps authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { RuntimeVersion } from '@pezkuwi/types/interfaces';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/apps authors & contributors
// Copyright 2017-2026 @pezkuwi/apps authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { Group } from './types.js';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/apps authors & contributors
// Copyright 2017-2026 @pezkuwi/apps authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { ItemRoute } from './types.js';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/apps authors & contributors
// Copyright 2017-2026 @pezkuwi/apps authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { BareProps as Props } from '@pezkuwi/react-components/types';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/apps authors & contributors
// Copyright 2017-2026 @pezkuwi/apps authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { Route, Routes } from '@pezkuwi/apps-routing/types';
@@ -27,13 +27,13 @@ interface Props {
function createExternals (t: (key: string, optionsOrText?: string | { replace: Record<string, unknown> }, options?: { ns: string }) => string): ItemRoute[] {
return [
{
href: 'https://github.com/polkadot-js/apps',
href: 'https://github.com/pezkuwichain/pwap',
icon: 'code-branch',
name: 'github',
text: t('nav.github', 'GitHub', { ns: 'apps-routing' })
},
{
href: 'https://wiki.polkadot.network',
href: 'https://wiki.pezkuwichain.io',
icon: 'book',
name: 'wiki',
text: t('nav.wiki', 'Wiki', { ns: 'apps-routing' })
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/apps authors & contributors
// Copyright 2017-2026 @pezkuwi/apps authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { IconName } from '@fortawesome/fontawesome-svg-core';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/apps authors & contributors
// Copyright 2017-2026 @pezkuwi/apps authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { ThemeDef } from '@pezkuwi/react-components/types';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/apps authors & contributors
// Copyright 2017-2026 @pezkuwi/apps authors & contributors
// SPDX-License-Identifier: Apache-2.0
// Unused atm, experiment as a replacement for NodeInfo on the SideBar
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/apps authors & contributors
// Copyright 2017-2026 @pezkuwi/apps authors & contributors
// SPDX-License-Identifier: Apache-2.0
import React, { useEffect, useState } from 'react';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/apps authors & contributors
// Copyright 2017-2026 @pezkuwi/apps authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { ApiPromise } from '@pezkuwi/api';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/apps authors & contributors
// Copyright 2017-2026 @pezkuwi/apps authors & contributors
// SPDX-License-Identifier: Apache-2.0
// setup these right at front
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/apps authors & contributors
// Copyright 2017-2026 @pezkuwi/apps authors & contributors
// SPDX-License-Identifier: Apache-2.0
import { xglobal } from '@pezkuwi/x-global';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/apps authors & contributors
// Copyright 2017-2026 @pezkuwi/apps authors & contributors
// SPDX-License-Identifier: Apache-2.0
import queryString from 'query-string';
@@ -27,7 +27,7 @@ function getApiUrl (): string {
if (urlOptions.rpc) {
assert(!Array.isArray(urlOptions.rpc), 'Invalid WS endpoint specified');
// https://polkadot.js.org/apps/?rpc=ws://127.0.0.1:9944#/explorer;
// https://pezkuwichain.app/?rpc=ws://127.0.0.1:9944#/explorer;
const url = decodeURIComponent(urlOptions.rpc.split('#')[0]);
assert(url.startsWith('ws://') || url.startsWith('wss://') || url.startsWith('light://'), 'Non-prefixed ws/wss/light url');
@@ -58,7 +58,7 @@ function getApiUrl (): string {
: 'ws://127.0.0.1:9944'; // nothing found, go local
}
// There cannot be a Substrate Connect light client default (expect only jrpc EndpointType)
// There cannot be a Bizinikiwi Connect light client default (expect only jrpc EndpointType)
const apiUrl = getApiUrl();
// set the default as retrieved here
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/apps authors & contributors
// Copyright 2017-2026 @pezkuwi/apps authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { IconName } from '@fortawesome/fontawesome-svg-core';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/apps authors & contributors
// Copyright 2017-2026 @pezkuwi/apps authors & contributors
// SPDX-License-Identifier: Apache-2.0
import React from 'react';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/apps authors & contributors
// Copyright 2017-2026 @pezkuwi/apps authors & contributors
// SPDX-License-Identifier: Apache-2.0
import React from 'react';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/apps authors & contributors
// Copyright 2017-2026 @pezkuwi/apps authors & contributors
// SPDX-License-Identifier: Apache-2.0
import React from 'react';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/apps authors & contributors
// Copyright 2017-2026 @pezkuwi/apps authors & contributors
// SPDX-License-Identifier: Apache-2.0
import React, { useMemo } from 'react';
@@ -9,7 +9,7 @@ import { useApi } from '@pezkuwi/react-hooks';
import { useTranslation } from '../translate.js';
import BaseOverlay from './Base.js';
const isDev = window.location.host.startsWith('polkadot.js.org');
const isDev = window.location.host.startsWith('pezkuwichain.app');
const dnsLinks = createWsEndpoints(() => '')
.map((e) => e.dnslink)
.reduce((all: string[], dnslink) => {
@@ -33,8 +33,8 @@ function DotApps ({ className }: Props): React.ReactElement<Props> | null {
const lowerChain = systemChain?.toLowerCase();
return (lowerChain && dnsLinks.includes(lowerChain))
? `https://${lowerChain}.dotapps.io`
: 'https://dotapps.io';
? `https://${lowerChain}.pezkuwichain.app`
: 'https://pezkuwichain.app';
},
[systemChain]
);
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/apps authors & contributors
// Copyright 2017-2026 @pezkuwi/apps authors & contributors
// SPDX-License-Identifier: Apache-2.0
import React from 'react';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/apps authors & contributors
// Copyright 2017-2026 @pezkuwi/apps authors & contributors
// SPDX-License-Identifier: Apache-2.0
import { useTranslation as useTranslationBase } from 'react-i18next';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/apps authors & contributors
// Copyright 2017-2026 @pezkuwi/apps authors & contributors
// SPDX-License-Identifier: Apache-2.0
declare module '*.gif' {
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/apps authors & contributors
// Copyright 2017-2026 @pezkuwi/apps authors & contributors
// SPDX-License-Identifier: Apache-2.0
declare module '*.md' {
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/apps authors & contributors
// Copyright 2017-2026 @pezkuwi/apps authors & contributors
// SPDX-License-Identifier: Apache-2.0
declare module '*.png' {
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/apps authors & contributors
// Copyright 2017-2026 @pezkuwi/apps authors & contributors
// SPDX-License-Identifier: Apache-2.0
declare module '*.svg' {