mirror of
https://github.com/pezkuwichain/pwap.git
synced 2026-07-24 20:35:41 +00:00
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
This commit is contained in:
@@ -0,0 +1,83 @@
|
||||
// Copyright 2017-2025 @polkadot/apps-config authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { OverrideBundleDefinition } from '@polkadot/types/types';
|
||||
|
||||
/* eslint-disable sort-keys */
|
||||
const definitions: OverrideBundleDefinition = {
|
||||
types: [
|
||||
{
|
||||
minmax: [
|
||||
266,
|
||||
281
|
||||
],
|
||||
types: {
|
||||
ChainId: 'u8',
|
||||
DepositNonce: 'u64',
|
||||
ResourceId: '[u8; 32]',
|
||||
ProposalStatus: {
|
||||
_enum: [
|
||||
'Initiated',
|
||||
'Approved',
|
||||
'Rejected'
|
||||
]
|
||||
},
|
||||
ProposalVotes: {
|
||||
votes_for: 'Vec<AccountId>',
|
||||
votes_against: 'Vec<AccountId>',
|
||||
status: 'ProposalStatus',
|
||||
expiry: 'BlockNumber'
|
||||
},
|
||||
TokenId: 'u256',
|
||||
Erc721Token: {
|
||||
id: 'TokenId',
|
||||
metadata: 'Vec<u8>'
|
||||
},
|
||||
Address: 'IndicesLookupSource',
|
||||
LookupSource: 'IndicesLookupSource',
|
||||
AccountInfo: 'AccountInfoWithDualRefCount',
|
||||
ValidatorPrefs: {
|
||||
commission: 'Compact<Perbill>'
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
minmax: [
|
||||
282,
|
||||
294
|
||||
],
|
||||
types: {
|
||||
ChainId: 'u8',
|
||||
DepositNonce: 'u64',
|
||||
ResourceId: '[u8; 32]',
|
||||
ProposalStatus: {
|
||||
_enum: [
|
||||
'Initiated',
|
||||
'Approved',
|
||||
'Rejected'
|
||||
]
|
||||
},
|
||||
ProposalVotes: {
|
||||
votes_for: 'Vec<AccountId>',
|
||||
votes_against: 'Vec<AccountId>',
|
||||
status: 'ProposalStatus',
|
||||
expiry: 'BlockNumber'
|
||||
},
|
||||
TokenId: 'u256',
|
||||
Erc721Token: {
|
||||
id: 'TokenId',
|
||||
metadata: 'Vec<u8>'
|
||||
},
|
||||
Address: 'MultiAddress',
|
||||
LookupSource: 'MultiAddress',
|
||||
AccountInfo: 'AccountInfoWithDualRefCount'
|
||||
}
|
||||
},
|
||||
{
|
||||
minmax: [295, null],
|
||||
types: {}
|
||||
}
|
||||
]
|
||||
};
|
||||
|
||||
export default definitions;
|
||||
@@ -0,0 +1,13 @@
|
||||
// Copyright 2017-2025 @polkadot/apps-config authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { OverrideBundleDefinition } from '@polkadot/types/types';
|
||||
|
||||
import cere from './cere.js';
|
||||
|
||||
// NOTE: The mapping is done from chain name in system.chain
|
||||
const chain: Record<string, OverrideBundleDefinition> = {
|
||||
'Cere Mainnet Beta': cere
|
||||
};
|
||||
|
||||
export default chain;
|
||||
Reference in New Issue
Block a user