mirror of
https://github.com/pezkuwichain/pwap.git
synced 2026-05-08 09:17:55 +00:00
c71ddb6e0d
- 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
18 lines
753 B
TypeScript
18 lines
753 B
TypeScript
// Copyright 2017-2025 @polkadot/apps authors & contributors
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
// @ts-ignore Warned on by nodenext resolution (while package does build in bundler mode)
|
|
import type { KeyringJson } from '@polkadot/ui-keyring/types';
|
|
|
|
import { contextBridge, ipcRenderer } from 'electron';
|
|
|
|
contextBridge.exposeInMainWorld('ElectronMain', {
|
|
accountStore: {
|
|
all: () => ipcRenderer.invoke('account-store-all'),
|
|
get: (key: string) => ipcRenderer.invoke('account-store-get', key),
|
|
remove: (key: string) => ipcRenderer.invoke('account-store-remove', key),
|
|
set: (key: string, value: KeyringJson) => ipcRenderer.invoke('account-store-set', key, value)
|
|
}
|
|
});
|