mirror of
https://github.com/pezkuwichain/pezkuwi-extension.git
synced 2026-07-14 03:45:42 +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;
|
||||
|
||||
Reference in New Issue
Block a user