Files
pwap/pezkuwi-sdk-ui/packages/test-support/src/mockData/index.ts
T
Claude c71ddb6e0d Add Pezkuwi SDK UI - Polkadot.js Apps clone
- Clone Polkadot.js Apps repository
- Update package.json with Pezkuwi branding
- Add Pezkuwi endpoint to production chains (wss://pezkuwichain.app:9944)
- Create comprehensive README for SDK UI
- Set up project structure with all packages

Next steps:
- Apply Kurdistan colors (Kesk, Sor, Zer, Spi + Black) to UI theme
- Replace logos with Pezkuwi branding
- Test build and deployment
2025-11-14 00:55:17 +00:00

48 lines
1.2 KiB
TypeScript

// Copyright 2017-2025 @polkadot/test-supports authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { Registrar } from '@polkadot/react-hooks/types';
import { statics } from '@polkadot/react-api';
import { bob, charlie, ferdie } from '../keyring/index.js';
export const mockRegistration = {
judgements: [
[
statics.registry.createType('RegistrarIndex', '0'),
{
isReasonable: true
}
],
[
statics.registry.createType('RegistrarIndex', '1'),
{
isKnownGood: true
}
],
[
statics.registry.createType('RegistrarIndex', '2'),
{
isErroneous: true
}
],
[
statics.registry.createType('RegistrarIndex', '3'),
{
isReasonable: true
}
]
]
};
export const bobRegistrar: Registrar = { address: bob, index: 0 };
export const charlieRegistrar: Registrar = { address: charlie, index: 1 };
export const ferdieRegistrar: Registrar = { address: ferdie, index: 3 };
export const registrars: Registrar[] = [bobRegistrar, charlieRegistrar, ferdieRegistrar];
export const bobShortAddress = '5FHneW…M694ty';
export const charlieShortAddress = '5DAAnr…3PTXFy';
export const ferdieShortAddress = '5CiPPs…SK2DjL';