feat: complete Pezkuwi rebrand - remove other networks

- Remove all Polkadot ecosystem networks from chain selector
- Keep only: Pezkuwi Relay Chain, Zagros Relay Chain, Pezkuwi Beta Testnet
- Update extension ID from polkadot-js to pezkuwi
- Update PhishingDetected to use Pezkuwi branding
- Update metadataMock: Westend → Zagros, WND → ZGR
- Disable Ledger chains (no Pezkuwi Ledger app yet)
- Update Identicon to handle pezkuwi icon theme
- Clean up translation files

Breaking: Extension now only supports Pezkuwi networks
This commit is contained in:
2026-01-08 23:46:06 +03:00
parent 868937ad12
commit ea2db6558f
42 changed files with 348 additions and 75 deletions
+22 -11
View File
@@ -3,15 +3,26 @@
import type { MetadataDefBase } from '@pezkuwi/extension-inject/types';
import { selectableNetworks } from '@pezkuwi/networks';
// Pezkuwi networks only - clean and focused
const pezkuwiNetworks: MetadataDefBase[] = [
{
chain: 'Pezkuwi Relay Chain',
genesisHash: '0x0000000000000000000000000000000000000000000000000000000000000001',
icon: 'pezkuwi',
ss58Format: 42
},
{
chain: 'Zagros Relay Chain',
genesisHash: '0x0000000000000000000000000000000000000000000000000000000000000003',
icon: 'pezkuwi',
ss58Format: 42
},
{
chain: 'Pezkuwi Beta Testnet',
genesisHash: '0x0000000000000000000000000000000000000000000000000000000000000002',
icon: 'pezkuwi',
ss58Format: 42
}
];
const hashes: MetadataDefBase[] = selectableNetworks
.filter(({ genesisHash }) => !!genesisHash.length)
.map((network) => ({
chain: network.displayName,
genesisHash: network.genesisHash[0],
icon: network.icon,
ss58Format: network.prefix
}));
export default hashes;
export default pezkuwiNetworks;
@@ -18,6 +18,26 @@ export default function getLanguageOptions (): Option[] {
text: 'English',
value: 'en'
},
{
text: 'Kurmancî',
value: 'ku'
},
{
text: 'سۆرانی',
value: 'ckb'
},
{
text: 'Türkçe',
value: 'tr'
},
{
text: 'العربية',
value: 'ar'
},
{
text: 'فارسی',
value: 'fa'
},
{
text: '汉语',
value: 'zh'
@@ -26,10 +46,6 @@ export default function getLanguageOptions (): Option[] {
text: 'Français',
value: 'fr'
},
{
text: 'Türkce',
value: 'tr'
},
{
text: 'Polski',
value: 'pl'
@@ -1,6 +1,6 @@
// Copyright 2019-2025 @pezkuwi/extension-ui authors & contributors
// SPDX-License-Identifier: Apache-2.0
import { selectableNetworks } from '@pezkuwi/networks';
export default selectableNetworks.filter((network) => network.hasLedgerSupport);
// Pezkuwi networks - Ledger support will be added in future versions
// For now, return empty array as Pezkuwi doesn't have Ledger app yet
export default [];