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,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/app-staking-async authors & contributors
// Copyright 2017-2026 @pezkuwi/app-staking-async authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { ApiPromise } from '@pezkuwi/api';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/app-staking-async authors & contributors
// Copyright 2017-2026 @pezkuwi/app-staking-async authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { KeypairType } from '@pezkuwi/util-crypto/types';
@@ -42,7 +42,7 @@ function InjectKeys ({ onClose }: Props): React.ReactElement<Props> | null {
{ text: t('Babe'), value: 'babe' },
{ text: t('Grandpa'), value: 'gran' },
{ text: t('I\'m Online'), value: 'imon' },
{ text: t('Parachains'), value: 'para' }
{ text: t('TeyrChains'), value: 'para' }
]);
useEffect((): void => {
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/app-staking-async authors & contributors
// Copyright 2017-2026 @pezkuwi/app-staking-async authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { DeriveBalancesAll } from '@pezkuwi/api-derive/types';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/app-staking-async authors & contributors
// Copyright 2017-2026 @pezkuwi/app-staking-async authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { DeriveBalancesAll } from '@pezkuwi/api-derive/types';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/app-staking-async authors & contributors
// Copyright 2017-2026 @pezkuwi/app-staking-async authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { I18nProps } from '@pezkuwi/react-components/types';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/app-staking-async authors & contributors
// Copyright 2017-2026 @pezkuwi/app-staking-async authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { BN } from '@pezkuwi/util';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/app-staking-async authors & contributors
// Copyright 2017-2026 @pezkuwi/app-staking-async authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { SubmittableExtrinsic } from '@pezkuwi/api/types';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/app-staking-async authors & contributors
// Copyright 2017-2026 @pezkuwi/app-staking-async authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { DeriveEraExposure, DeriveSessionIndexes } from '@pezkuwi/api-derive/types';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/app-staking-async authors & contributors
// Copyright 2017-2026 @pezkuwi/app-staking-async authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { SortedTargets } from '@pezkuwi/app-staking/types';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/app-staking-async authors & contributors
// Copyright 2017-2026 @pezkuwi/app-staking-async authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { DeriveStakingAccount } from '@pezkuwi/api-derive/types';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/app-staking-async authors & contributors
// Copyright 2017-2026 @pezkuwi/app-staking-async authors & contributors
// SPDX-License-Identifier: Apache-2.0
import React, { useCallback, useMemo, useState } from 'react';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/app-staking-async authors & contributors
// Copyright 2017-2026 @pezkuwi/app-staking-async authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { DeriveBalancesAll } from '@pezkuwi/api-derive/types';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/app-staking-async authors & contributors
// Copyright 2017-2026 @pezkuwi/app-staking-async authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { SessionInfo } from '../partials/types.js';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/app-staking-async authors & contributors
// Copyright 2017-2026 @pezkuwi/app-staking-async authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { PezpalletStakingStakingLedger } from '@pezkuwi/types/lookup';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/app-staking-async authors & contributors
// Copyright 2017-2026 @pezkuwi/app-staking-async authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { BN } from '@pezkuwi/util';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/app-staking-async authors & contributors
// Copyright 2017-2026 @pezkuwi/app-staking-async authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { DeriveStakingAccount } from '@pezkuwi/api-derive/types';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/app-staking-async authors & contributors
// Copyright 2017-2026 @pezkuwi/app-staking-async authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { ApiPromise } from '@pezkuwi/api';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/app-staking-async authors & contributors
// Copyright 2017-2026 @pezkuwi/app-staking-async authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { SortedTargets } from '@pezkuwi/app-staking/types';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/app-staking-async authors & contributors
// Copyright 2017-2026 @pezkuwi/app-staking-async authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { SortedTargets } from '@pezkuwi/app-staking/types';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/app-staking-async authors & contributors
// Copyright 2017-2026 @pezkuwi/app-staking-async authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { BondInfo } from './partials/types.js';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/app-staking-async authors & contributors
// Copyright 2017-2026 @pezkuwi/app-staking-async authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { SortedTargets } from '@pezkuwi/app-staking/types';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/app-staking-async authors & contributors
// Copyright 2017-2026 @pezkuwi/app-staking-async authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { DeriveSessionProgress, DeriveUnlocking } from '@pezkuwi/api-derive/types';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/app-staking-async authors & contributors
// Copyright 2017-2026 @pezkuwi/app-staking-async authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { BN } from '@pezkuwi/util';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/app-staking-async authors & contributors
// Copyright 2017-2026 @pezkuwi/app-staking-async authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { BN } from '@pezkuwi/util';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/app-staking-async authors & contributors
// Copyright 2017-2026 @pezkuwi/app-staking-async authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { DeriveSessionProgress } from '@pezkuwi/api-derive/types';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/app-staking-async authors & contributors
// Copyright 2017-2026 @pezkuwi/app-staking-async authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { PezpalletNominationPoolsPoolMember } from '@pezkuwi/types/lookup';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/app-staking-async authors & contributors
// Copyright 2017-2026 @pezkuwi/app-staking-async authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { Option } from '@pezkuwi/types';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/app-staking-async authors & contributors
// Copyright 2017-2026 @pezkuwi/app-staking-async authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { DeriveSessionProgress } from '@pezkuwi/api-derive/types';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/app-staking-async authors & contributors
// Copyright 2017-2026 @pezkuwi/app-staking-async authors & contributors
// SPDX-License-Identifier: Apache-2.0
import React from 'react';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/react-components authors & contributors
// Copyright 2017-2026 @pezkuwi/react-components authors & contributors
// SPDX-License-Identifier: Apache-2.0
interface Option {
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/app-staking-async authors & contributors
// Copyright 2017-2026 @pezkuwi/app-staking-async authors & contributors
// SPDX-License-Identifier: Apache-2.0
import '@pezkuwi/api-augment';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/app-staking-async authors & contributors
// Copyright 2017-2026 @pezkuwi/app-staking-async authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { DeriveBalancesAll } from '@pezkuwi/api-derive/types';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/app-staking-async authors & contributors
// Copyright 2017-2026 @pezkuwi/app-staking-async authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { SortedTargets } from '@pezkuwi/app-staking/types';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/app-staking-async authors & contributors
// Copyright 2017-2026 @pezkuwi/app-staking-async authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { BN } from '@pezkuwi/util';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/app-staking-async authors & contributors
// Copyright 2017-2026 @pezkuwi/app-staking-async authors & contributors
// SPDX-License-Identifier: Apache-2.0
import React from 'react';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/app-staking-async authors & contributors
// Copyright 2017-2026 @pezkuwi/app-staking-async authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { SessionInfo } from './types.js';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/app-staking-async authors & contributors
// Copyright 2017-2026 @pezkuwi/app-staking-async authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { ValidateInfo } from './types.js';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/app-staking-async authors & contributors
// Copyright 2017-2026 @pezkuwi/app-staking-async authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { SubmittableExtrinsic } from '@pezkuwi/api/types';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/app-staking-async authors & contributors
// Copyright 2017-2026 @pezkuwi/app-staking-async authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { AccountId, Balance, UnappliedSlashOther } from '@pezkuwi/types/interfaces';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/app-staking-async authors & contributors
// Copyright 2017-2026 @pezkuwi/app-staking-async authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { ApiPromise } from '@pezkuwi/api';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/app-staking-async authors & contributors
// Copyright 2017-2026 @pezkuwi/app-staking-async authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { Option } from '@pezkuwi/types';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/app-staking-async authors & contributors
// Copyright 2017-2026 @pezkuwi/app-staking-async authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { DeriveSessionInfo } from '@pezkuwi/api-derive/types';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/app-staking-async authors & contributors
// Copyright 2017-2026 @pezkuwi/app-staking-async authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { ReactNode } from 'react';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/app-staking-async authors & contributors
// Copyright 2017-2026 @pezkuwi/app-staking-async authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { ApiPromise } from '@pezkuwi/api';
@@ -43,7 +43,7 @@ export interface IRcOutput {
validatorCount?: number,
electionPhase?: string
},
parachainConfig?: {
teyrchainConfig?: {
maxDownwardMessageSize: number,
maxUpwardMessageSize: number
}
@@ -145,18 +145,18 @@ const commandCenterHandler = async (
// Validator points
const validatorPointsKeys = await rcApi.query.stakingAhClient.validatorPoints.keys();
// Parachain config
let parachainConfig;
// TeyrChain config
let teyrchainConfig;
try {
const configuration = await rcApi.query.configuration.activeConfig() as PezkuwiRuntimeTeyrchainsConfigurationHostConfiguration;
parachainConfig = {
teyrchainConfig = {
maxDownwardMessageSize: configuration.maxDownwardMessageSize?.toNumber() || 0,
maxUpwardMessageSize: configuration.maxUpwardMessageSize?.toNumber() || 0
};
} catch {
parachainConfig = undefined;
teyrchainConfig = undefined;
}
// Events that we are interested in from RC:
@@ -173,7 +173,7 @@ const commandCenterHandler = async (
setRcOutput({
finalizedBlock: header.number.toNumber(),
parachainConfig,
teyrchainConfig,
session: {
hasQueuedInSession: hasQueuedInSession.isTrue,
historicalRange: historicalRange.isSome
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/app-staking-async authors & contributors
// Copyright 2017-2026 @pezkuwi/app-staking-async authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { ReactNode } from 'react';
@@ -101,13 +101,13 @@ function RelaySection ({ children, isRelayChain, rcApi, rcEvents, rcOutput, rcUr
</div>
</div>
<div className='section'>
<h4>{t('Parachain Config')}</h4>
<h4>{t('TeyrChain Config')}</h4>
<div className='stats'>
<CardSummary label={t('max downward msg size')}>
{rcOutput.parachainConfig ? formatNumber(rcOutput.parachainConfig.maxDownwardMessageSize) : 'None'}
{rcOutput.teyrchainConfig ? formatNumber(rcOutput.teyrchainConfig.maxDownwardMessageSize) : 'None'}
</CardSummary>
<CardSummary label={t('max upward msg size')}>
{rcOutput.parachainConfig ? formatNumber(rcOutput.parachainConfig.maxUpwardMessageSize) : 'None'}
{rcOutput.teyrchainConfig ? formatNumber(rcOutput.teyrchainConfig.maxUpwardMessageSize) : 'None'}
</CardSummary>
</div>
</div>
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/app-staking-async authors & contributors
// Copyright 2017-2026 @pezkuwi/app-staking-async authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type BN from 'bn.js';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/app-staking-async authors & contributors
// Copyright 2017-2026 @pezkuwi/app-staking-async authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { ApiPromise } from '@pezkuwi/api';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/app-staking-async authors & contributors
// Copyright 2017-2026 @pezkuwi/app-staking-async authors & contributors
// SPDX-License-Identifier: Apache-2.0
import React from 'react';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/app-staking-async authors & contributors
// Copyright 2017-2026 @pezkuwi/app-staking-async authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { ApiPromise } from '@pezkuwi/api';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/app-staking-async authors & contributors
// Copyright 2017-2026 @pezkuwi/app-staking-async authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { u32 } from '@pezkuwi/types';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/app-staking-async authors & contributors
// Copyright 2017-2026 @pezkuwi/app-staking-async authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { BN } from '@pezkuwi/util';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/app-staking-async authors & contributors
// Copyright 2017-2026 @pezkuwi/app-staking-async authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { ApiPromise } from '@pezkuwi/api';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/app-staking-async authors & contributors
// Copyright 2017-2026 @pezkuwi/app-staking-async authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { Balance } from '@pezkuwi/types/interfaces';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/app-staking-async authors & contributors
// Copyright 2017-2026 @pezkuwi/app-staking-async authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { DeriveHeartbeats, DeriveStakingOverview } from '@pezkuwi/api-derive/types';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/app-staking-async authors & contributors
// Copyright 2017-2026 @pezkuwi/app-staking-async authors & contributors
// SPDX-License-Identifier: Apache-2.0
import React from 'react';
@@ -15,8 +15,8 @@ function StakingAsyncOverview ({ children, className = '', withIcon = true }: Pr
return (
<StyledArticle className={`${className} mark warning`}>
{withIcon && <Icon icon='exclamation-triangle' />}
<strong>Staking Async is Polkadot&apos;s staking system</strong> which elects validators <em>for the Relay Chain</em>, <em>on AssetHub</em>.
The actual collators of the AssetHub parachain are managed by the collator-selection system. To nominate a Relay Chain validator, please use this page and everything works as before. To setup a validator, please see{' '}
<strong>Staking Async is Pezkuwi&apos;s staking system</strong> which elects validators <em>for the Relay Chain</em>, <em>on AssetHub</em>.
The actual collators of the AssetHub teyrchain are managed by the collator-selection system. To nominate a Relay Chain validator, please use this page and everything works as before. To setup a validator, please see{' '}
<a
href='https://docs.google.com/document/d/1X4EjL-7he70vtUumNhEqnUs7XdTCDj8TQpGJhNuAklY/edit?tab=t.0#heading=h.xh97bpw96bkk'
rel='noreferrer'
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/app-staking-async authors & contributors
// Copyright 2017-2026 @pezkuwi/app-staking-async authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { DeriveStakingOverview } from '@pezkuwi/api-derive/types';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/app-staking-async authors & contributors
// Copyright 2017-2026 @pezkuwi/app-staking-async authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { DeriveSessionProgress } from '@pezkuwi/api-derive/types';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/app-staking-async authors & contributors
// Copyright 2017-2026 @pezkuwi/app-staking-async authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { DeriveHeartbeats, DeriveStakingOverview } from '@pezkuwi/api-derive/types';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/app-staking-async authors & contributors
// Copyright 2017-2026 @pezkuwi/app-staking-async authors & contributors
// SPDX-License-Identifier: Apache-2.0
export const STORE_FAVS_BASE = 'staking:favorites';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/app-staking-async authors & contributors
// Copyright 2017-2026 @pezkuwi/app-staking-async authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { AppProps as Props } from '@pezkuwi/react-components/types';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/app-staking-async authors & contributors
// Copyright 2017-2026 @pezkuwi/app-staking-async authors & contributors
// SPDX-License-Identifier: Apache-2.0
import { useTranslation as useTranslationBase } from 'react-i18next';