mirror of
https://github.com/pezkuwichain/pezkuwi-extension.git
synced 2026-07-15 16:55:40 +00:00
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:
@@ -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 [];
|
||||
|
||||
Reference in New Issue
Block a user