mirror of
https://github.com/pezkuwichain/pezkuwi-ui.git
synced 2026-10-20 18:56:22 +00:00
479df8c4f9be4902299b50cf4496c54609464b13
The address format list had an entry per network, and Pezkuwi, Zagros and Bizinikiwi all use prefix 42, so it showed three options with the same value; choosing one could not be told apart from the others. prefixOptions keeps one option per prefix and lists every network using it in its text. ui-settings gets the tsconfig.spec.json the other packages with specs have, so the build leaves the spec out.
@pezkuwi/ui
Basic browser and framework agnostic UI components for creating apps using the PezkuwiChain libraries.
Developed by Dijital Kurdistan Tech Institute
Overview
This package provides UI components for building applications on PezkuwiChain.
Packages
UI Components
- react-identicon - React identity icon generator with address as input
- reactnative-identicon - React Native identity icon generator with address as input
- vue-identicon - Vue identity icon generator with address as input
- react-qr - QR code generator/reader for PezkuwiChain
Shared Libraries
- ui-keyring - A browser-specific wrapper around @pezkuwi/keyring
- ui-settings - A browser local storage wrapper for app settings
- ui-shared - Shared logic used across UI components (e.g., icon generation)
Installation
# Using npm
npm install @pezkuwi/react-identicon
# Using yarn
yarn add @pezkuwi/react-identicon
Usage
import Identicon from '@pezkuwi/react-identicon';
function App() {
return (
<Identicon
value="5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY"
size={64}
theme="polkadot"
/>
);
}
Development
Prerequisites
- Node.js >= 18.14
- Yarn 4.x (via corepack)
Building
corepack enable
yarn install
yarn build
Links
- Website: https://pezkuwichain.io
- Documentation: https://docs.pezkuwichain.io
- GitHub: https://github.com/pezkuwichain
- API Docs: https://js.pezkuwichain.app
License
Apache-2.0
Author
Dijital Kurdistan Tech Institute
Languages
TypeScript
95.8%
Python
2.6%
JavaScript
1%
HTML
0.6%