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
@@ -2,4 +2,4 @@
WARNING: This is not deemed stable yet for external use in React-based apps and still included in the [polkadot-js/apps](https://github.com/polkadot-js/apps) repo. Since these are generic HOC components for React, they will move to the [polkadot-js/ui](https://github.com/polkadot-js/ui) repo once deemed stable and usable by external projects.
For the existing sharable components usable in external React-based projects, take a look at the [polkadot-js/ui documentation](https://polkadot.js.org/ui/)
For the existing sharable components usable in external React-based projects, take a look at the [polkadot-js/ui documentation](https://js.pezkuwichain.app/ui/)
@@ -23,7 +23,7 @@
"@pezkuwi/api": "^16.5.6",
"@pezkuwi/extension-compat-metamask": "^0.62.10",
"@pezkuwi/extension-dapp": "^0.62.11",
"@pezkuwi/extension-inject": "^0.62.11",
"@pezkuwi/extension-inject": "^0.62.14",
"@pezkuwi/rpc-provider": "^16.5.6",
"fflate": "^0.8.1",
"rxjs": "^7.8.1"
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/react-api authors & contributors
// Copyright 2017-2026 @pezkuwi/react-api authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { Blockchain } from '@acala-network/chopsticks-core';
@@ -85,7 +85,7 @@ async function getInjectedAccounts (injectedPromise: Promise<InjectedExtension[]
return accounts.map(({ address, meta, type }, whenCreated): InjectedAccountExt => ({
address,
meta: objectSpread({}, meta, {
name: `${meta.name || 'unknown'} (${meta.source === 'polkadot-js' ? 'extension' : meta.source})`,
name: `${meta.name || 'unknown'} (${meta.source === 'pezkuwi-js' ? 'extension' : meta.source})`,
whenCreated
}),
type: type || 'sr25519'
@@ -100,7 +100,7 @@ async function getInjectedAccounts (injectedPromise: Promise<InjectedExtension[]
function makeCreateLink (baseApiUrl: string, isElectron: boolean): (path: string) => string {
return (path: string, apiUrl?: string): string =>
`${isElectron
? 'https://polkadot.js.org/apps/'
? 'https://pezkuwichain.app/'
: `${window.location.origin}${window.location.pathname}`
}?rpc=${encodeURIComponent(apiUrl || baseApiUrl)}#${path}`;
}
@@ -213,7 +213,7 @@ async function loadOnReady (api: ApiPromise, endpoint: LinkOption | null, fork:
/**
* @internal
* Creates a ScProvider from a <relay>[/parachain] string
* Creates a ScProvider from a <relay>[/teyrchain] string
*/
async function getLightProvider (chain: string): Promise<ScProvider> {
const [sc, relayName, paraName] = chain.split('/');
@@ -290,7 +290,7 @@ async function createApi (apiUrl: string, signer: ApiSigner, isLocalFork: boolea
typesBundle
});
// See https://github.com/polkadot-js/api/pull/4672#issuecomment-1078843960
// See https://github.com/pezkuwi-js/api/pull/4672#issuecomment-1078843960
if (isLight) {
await provider?.connect();
}
@@ -338,7 +338,7 @@ export function ApiCtxRoot ({ apiUrl, beforeApiInit, children, isElectron, store
[apiUrl, isElectron]
);
const enableIdentity = apiEndpoint?.isPeople ||
// Ensure that parachains that don't have isPeopleForIdentity set, can access there own identity pallet.
// Ensure that teyrchains that don't have isPeopleForIdentity set, can access there own identity pallet.
(isNumber(apiEndpoint?.paraId) && (apiEndpoint?.paraId >= 2000) && !apiEndpoint?.isPeopleForIdentity) ||
// Ensure that when isPeopleForIdentity is set to false that it enables the identity pallet access.
(typeof apiEndpoint?.isPeopleForIdentity === 'boolean' && !apiEndpoint?.isPeopleForIdentity);
@@ -361,7 +361,7 @@ export function ApiCtxRoot ({ apiUrl, beforeApiInit, children, isElectron, store
statics.api.on('disconnected', () => setIsApiConnected(false));
statics.api.on('error', onError);
statics.api.on('ready', (): void => {
const injectedPromise = web3Enable('polkadot-js/apps');
const injectedPromise = web3Enable('pezkuwi-js/apps');
injectedPromise
.then(setExtensions)
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/react-api authors & contributors
// Copyright 2017-2026 @pezkuwi/react-api authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { ApiProps, SubtractProps } from '../types.js';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/react-api authors & contributors
// Copyright 2017-2026 @pezkuwi/react-api authors & contributors
// SPDX-License-Identifier: Apache-2.0
// SInce this file is deemed deprecated (and awaiting removal), we just don't care
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/react-api authors & contributors
// Copyright 2017-2026 @pezkuwi/react-api authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { BaseProps } from '../types.js';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/react-api authors & contributors
// Copyright 2017-2026 @pezkuwi/react-api authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type React from 'react';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/react-api authors & contributors
// Copyright 2017-2026 @pezkuwi/react-api authors & contributors
// SPDX-License-Identifier: Apache-2.0
export { default as withApi } from './api.js';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/react-api authors & contributors
// Copyright 2017-2026 @pezkuwi/react-api authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type React from 'react';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/react-api authors & contributors
// Copyright 2017-2026 @pezkuwi/react-api authors & contributors
// SPDX-License-Identifier: Apache-2.0
// TODO: Lots of duplicated code between this and withObservable, surely there is a better way of doing this?
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/app-accounts authors & contributors
// Copyright 2017-2026 @pezkuwi/app-accounts authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { ComponentType } from 'react';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/react-api authors & contributors
// Copyright 2017-2026 @pezkuwi/react-api authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type React from 'react';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/react-api authors & contributors
// Copyright 2017-2026 @pezkuwi/react-api authors & contributors
// SPDX-License-Identifier: Apache-2.0
export { ApiCtxRoot, DEFAULT_DECIMALS, DEFAULT_SS58 } from './Api.js';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/react-api authors & contributors
// Copyright 2017-2026 @pezkuwi/react-api authors & contributors
// SPDX-License-Identifier: Apache-2.0
/// <reference types="@pezkuwi/dev-test/globals.d.ts" />
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/react-api authors & contributors
// Copyright 2017-2026 @pezkuwi/react-api authors & contributors
// SPDX-License-Identifier: Apache-2.0
import { WellKnownChain } from '@substrate/connect';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/react-api authors & contributors
// Copyright 2017-2026 @pezkuwi/react-api authors & contributors
// SPDX-License-Identifier: Apache-2.0
// Add your imported spec here in alphabetical order.
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/react-api authors & contributors
// Copyright 2017-2026 @pezkuwi/react-api authors & contributors
// SPDX-License-Identifier: Apache-2.0
// Add your imported spec here in alphabetical order.
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/react-api authors & contributors
// Copyright 2017-2026 @pezkuwi/react-api authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { ApiPromise } from '@pezkuwi/api';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/react-api authors & contributors
// Copyright 2017-2026 @pezkuwi/react-api authors & contributors
// SPDX-License-Identifier: Apache-2.0
export default function echoTransform <T> (x: T, _index: number): T {
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/react-api authors & contributors
// Copyright 2017-2026 @pezkuwi/react-api authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { Blockchain } from '@acala-network/chopsticks-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 { unzlibSync, zlibSync } from 'fflate';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/app-accounts authors & contributors
// Copyright 2017-2026 @pezkuwi/app-accounts authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { Environment } from '../types.js';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/react-api authors & contributors
// Copyright 2017-2026 @pezkuwi/react-api authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { Hash } from '@pezkuwi/types/interfaces';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/react-api authors & contributors
// Copyright 2017-2026 @pezkuwi/react-api authors & contributors
// SPDX-License-Identifier: Apache-2.0
export { getEnvironment } from './getEnvironment.js';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/react-api authors & contributors
// Copyright 2017-2026 @pezkuwi/react-api authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type React from 'react';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/react-api authors & contributors
// Copyright 2017-2026 @pezkuwi/react-api authors & contributors
// SPDX-License-Identifier: Apache-2.0
function flatten (_key: string | null, value?: unknown): unknown {
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/react-api authors & contributors
// Copyright 2017-2026 @pezkuwi/react-api authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { OnChangeCb } from '../types.js';