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-coretime authors & contributors
// Copyright 2017-2026 @pezkuwi/app-coretime authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { ReactNode } from 'react';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/app-coretime authors & contributors
// Copyright 2017-2026 @pezkuwi/app-coretime authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { ApiPromise } from '@pezkuwi/api';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/app-coretime authors & contributors
// Copyright 2017-2026 @pezkuwi/app-coretime authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { ChainInformation } from '@pezkuwi/react-hooks/types';
@@ -87,11 +87,11 @@ function Filters ({ chainInfo, data: initialData, onFilter }: Props): React.Reac
<div style={{ alignItems: 'center', display: 'flex', flexDirection: 'row', gap: '10px' }}>
<div style={{ minWidth: '250px' }}>
<Input
aria-label={t('Search by parachain id or name')}
aria-label={t('Search by teyrchain id or name')}
className='full isSmall'
label={t('Search')}
onChange={onApplySearch}
placeholder={t('parachain id or name')}
placeholder={t('teyrchain id or name')}
value={searchValue}
/>
</div>
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/app-coretime authors & contributors
// Copyright 2017-2026 @pezkuwi/app-coretime authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { BrokerStatus, CoreDescription, PezpalletBrokerConfigRecord, PezpalletBrokerSaleInfoRecord, RegionInfo } from '@pezkuwi/react-hooks/types';
@@ -19,11 +19,11 @@ interface Props {
config: PezpalletBrokerConfigRecord,
region: RegionInfo[],
status: BrokerStatus,
parachainCount: number
teyrchainCount: number
relayName: RelayName,
}
function Summary ({ config, parachainCount, relayName, status }: Props): React.ReactElement<Props> {
function Summary ({ config, teyrchainCount, relayName, status }: Props): React.ReactElement<Props> {
const { t } = useTranslation();
const { coretimeInfo, currentRegionEnd, currentRegionStart, saleEndDate, saleStartDate } = useCoretimeContext();
@@ -52,8 +52,8 @@ function Summary ({ config, parachainCount, relayName, status }: Props): React.R
<CardSummary label={t('timeslice')}>
{status?.lastTimeslice}
</CardSummary>
<CardSummary label={t('parachains')}>
{parachainCount && parachainCount}
<CardSummary label={t('teyrchains')}>
{teyrchainCount && teyrchainCount}
</CardSummary>
{config && status && currentRegionEnd && saleEndDate && saleStartDate && timeslicesSinceCycleStart && coretimeInfo?.constants &&
<>
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/app-coretime authors & contributors
// Copyright 2017-2026 @pezkuwi/app-coretime authors & contributors
// SPDX-License-Identifier: Apache-2.0
export * from '../../types.js';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/app-coretime authors & contributors
// Copyright 2017-2026 @pezkuwi/app-coretime authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { ChainInformation } from '@pezkuwi/react-hooks/types';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/app-coretime authors & contributors
// Copyright 2017-2026 @pezkuwi/app-coretime authors & contributors
// SPDX-License-Identifier: Apache-2.0
import React, { useCallback, useMemo, useState } from 'react';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/app-coretime authors & contributors
// Copyright 2017-2026 @pezkuwi/app-coretime authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { FlagColor } from '@pezkuwi/react-components/types';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/app-coretime authors & contributors
// Copyright 2017-2026 @pezkuwi/app-coretime authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { RelayName } from '../types.js';
@@ -22,7 +22,7 @@ function Overview ({ className, relayName }: Props): React.ReactElement<Props> {
{coretimeInfo && (
<Summary
config={coretimeInfo?.config}
parachainCount={coretimeInfo.taskIds?.length || 0}
teyrchainCount={coretimeInfo.taskIds?.length || 0}
region={coretimeInfo?.region}
relayName={relayName}
saleInfo={coretimeInfo?.salesInfo}
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/app-coretime authors & contributors
// Copyright 2017-2026 @pezkuwi/app-coretime authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { ChainInformation, ChainWorkTaskInformation } from '@pezkuwi/react-hooks/types';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/app-coretime authors & contributors
// Copyright 2017-2026 @pezkuwi/app-coretime authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { RelayName } from './types.js';
@@ -20,7 +20,7 @@ interface Props {
function ParachainsTable ({ coretimeInfo, relayName }: Props): React.ReactElement<Props> {
const { t } = useTranslation();
const headerRef = useRef<([React.ReactNode?, string?, number?] | false)[]>([
[t('parachains'), 'start'],
[t('teyrchains'), 'start'],
[t('name'), 'start media--800'],
[t('core number'), 'start'],
[t('type'), 'start'],
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/app-coretime authors & contributors
// Copyright 2017-2026 @pezkuwi/app-coretime authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { FlagColor } from '@pezkuwi/react-components/types';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/app-coretime authors & contributors
// Copyright 2017-2026 @pezkuwi/app-coretime authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { PhaseConfig } from '../types.js';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/app-coretime authors & contributors
// Copyright 2017-2026 @pezkuwi/app-coretime authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { RelayName, SaleParameters } from '../types.js';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/app-coretime authors & contributors
// Copyright 2017-2026 @pezkuwi/app-coretime authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { SaleParameters } from '../types.js';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/app-coretime authors & contributors
// Copyright 2017-2026 @pezkuwi/app-coretime authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { ApiPromise } from '@pezkuwi/api';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/app-coretime authors & contributors
// Copyright 2017-2026 @pezkuwi/app-coretime authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { CoretimeInformation } from '@pezkuwi/react-hooks/types';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/app-coretime authors & contributors
// Copyright 2017-2026 @pezkuwi/app-coretime authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { SaleParameters } from 'page-coretime/src/types.js';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/app-coretime authors & contributors
// Copyright 2017-2026 @pezkuwi/app-coretime authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { SaleParameters } from 'page-coretime/src/types.js';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/app-coretime authors & contributors
// Copyright 2017-2026 @pezkuwi/app-coretime authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { RelayName, SaleParameters } from '../types.js';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/app-coretime authors & contributors
// Copyright 2017-2026 @pezkuwi/app-coretime authors & contributors
// SPDX-License-Identifier: Apache-2.0
import React, { type ReactNode } from 'react';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/app-coretime authors & contributors
// Copyright 2017-2026 @pezkuwi/app-coretime authors & contributors
// SPDX-License-Identifier: Apache-2.0
export const PhaseName = {
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/app-coretime authors & contributors
// Copyright 2017-2026 @pezkuwi/app-coretime authors & contributors
// SPDX-License-Identifier: Apache-2.0
import React from 'react';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/app-coretime authors & contributors
// Copyright 2017-2026 @pezkuwi/app-coretime authors & contributors
// SPDX-License-Identifier: Apache-2.0
import { useTranslation as useTranslationBase } from 'react-i18next';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/app-coretime authors & contributors
// Copyright 2017-2026 @pezkuwi/app-coretime authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { ChainInformation } from '@pezkuwi/react-hooks/types';
@@ -83,7 +83,7 @@ export interface RegionInfo {
regionEnd: number;
}
export type RelayName = 'kusama' | 'polkadot' | 'paseo testnet' | 'westend'
export type RelayName = 'dicle' | 'pezkuwi' | 'paseo testnet' | 'zagros'
export interface GetResponse {
blocks: {
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/app-coretime authors & contributors
// Copyright 2017-2026 @pezkuwi/app-coretime authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { ChainBlockConstants, ChainConstants, CoretimeInformation } from '@pezkuwi/react-hooks/types';
@@ -19,18 +19,18 @@ Record<RelayName, number>
export const FirstCycleStart: FirstCycleStartType = {
block: {
coretime: {
kusama: 53793,
dicle: 53793,
'paseo testnet': 22316,
polkadot: 100988,
westend: 7363
pezkuwi: 100988,
zagros: 7363
}
},
timeslice: {
coretime: {
kusama: 284920,
dicle: 284920,
'paseo testnet': 38469,
polkadot: 282525,
westend: 245402
pezkuwi: 282525,
zagros: 245402
}
}
};
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @pezkuwi/app-coretime authors & contributors
// Copyright 2017-2026 @pezkuwi/app-coretime authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { ChainConstants, PezpalletBrokerConfigRecord, PezpalletBrokerSaleInfoRecord } from '@pezkuwi/react-hooks/types';
@@ -200,9 +200,9 @@ export const getSaleParameters = (
let currentRegionInfo: SaleParameters['currentRegion'];
if (chosenSaleNumber !== -1) {
// A hack for Kusama as one of the sales had an unusual length
// A hack for Dicle as one of the sales had an unusual length
// checked against Subscan historical sales
if (relayName === 'kusama') {
if (relayName === 'dicle') {
const irregularRegionLength = 848;
if (chosenSaleNumber === 0) {