mirror of
https://github.com/pezkuwichain/pezkuwi-sdk-ui.git
synced 2026-06-12 21:41:09 +00:00
Initial commit: Pezkuwi SDK UI
Comprehensive web interface for interacting with Pezkuwi blockchain. Features: - Blockchain explorer - Wallet management - Staking interface - Governance participation - Developer tools Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
// Copyright 2017-2026 @pezkuwi/react-api authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import { WellKnownChain } from '@substrate/connect';
|
||||
|
||||
import { specs as kusama } from './kusama/index.js';
|
||||
import { specs as polkadot } from './polkadot/index.js';
|
||||
|
||||
export const lightSpecs: Record<string, Record<string, string>> =
|
||||
Object
|
||||
.entries({ kusama, polkadot })
|
||||
.reduce((all: Record<string, Record<string, string>>, [r, v]) => {
|
||||
all[r] = v.reduce((specs: Record<string, string>, k) => {
|
||||
specs[k] = `./light/${r}/${k}.json`;
|
||||
|
||||
return specs;
|
||||
}, {});
|
||||
|
||||
return all;
|
||||
}, {});
|
||||
|
||||
export const relaySpecs: Record<string, string> = {
|
||||
kusama: WellKnownChain.ksmcc3,
|
||||
polkadot: WellKnownChain.polkadot,
|
||||
rococo: WellKnownChain.rococo_v2_2,
|
||||
westend: WellKnownChain.westend2
|
||||
};
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,11 @@
|
||||
// Copyright 2017-2026 @pezkuwi/react-api authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Add your imported spec here in alphabetical order.
|
||||
// The key here reflects the URL of the light client endpoint.
|
||||
// e.g. light://substrate-connect/kusama/gm
|
||||
export const specs: string[] = [
|
||||
'gm',
|
||||
'shiden',
|
||||
'tinkernet'
|
||||
];
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1,10 @@
|
||||
// Copyright 2017-2026 @pezkuwi/react-api authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Add your imported spec here in alphabetical order.
|
||||
// The key here reflects the URL of the light client endpoint.
|
||||
// e.g. light://substrate-connect/polkadot/astar
|
||||
export const specs: string[] = [
|
||||
'astar',
|
||||
'laos'
|
||||
];
|
||||
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"name": "Laos Network",
|
||||
"id": "laos_network",
|
||||
"chainType": "Live",
|
||||
"bootNodes": [
|
||||
"/dns4/laos-boot-0.laosfoundation.io/tcp/30334/p2p/12D3KooWPwbNZK339oHX2BGrkp9UAkZ5XKaWkkejy4kj4ZU3aKM5",
|
||||
"/dns4/laos-boot-1.laosfoundation.io/tcp/30334/p2p/12D3KooWH9tUB68tBwUfP54NJkGxwx7cxKmuoLX5gpHkHiESLoeJ",
|
||||
"/dns4/laos-boot-2.laosfoundation.io/tcp/30334/p2p/12D3KooWEv926SQ6djXFEMMskZKKMuN3HwJYoCZKBHvymU8Dp5Qc",
|
||||
"/dns4/bootnode1.laos.gorengine.com/tcp/443/wss/p2p/12D3KooWQtyzyDVMFi5bctjrTtqQNdodRSwGE5hhhz8iWgYBdUvT",
|
||||
"/dns4/bootnode0.laos.gorengine.com/tcp/443/wss/p2p/12D3KooWPjWDdS8BNAsp2x5koLaFC4speG9J95eABWGU27ypfhAf"
|
||||
],
|
||||
"protocolId": "laos_network",
|
||||
"properties": {
|
||||
"ss58Format": 42,
|
||||
"tokenDecimals": 18,
|
||||
"tokenSymbol": "LAOS"
|
||||
},
|
||||
"relay_chain": "polkadot",
|
||||
"para_id": 3370,
|
||||
"codeSubstitutes": {},
|
||||
"genesis": {
|
||||
"stateRootHash": "0xd80e8c97286442f29e6bcb8a2d8e692099c15a1ab5fe3a337a7ddc8b4a62744f"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user