a307306cf67d78fdc0408bb31b595b0089cf6f88
@polkadot/ui
Basic browser and framework agnostic UI components for creating apps using the polkadot{.js} libraries
overview
The following UI components are currently available -
- 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 uos (Substrate/Polkadot only)
Additionally some shared libraries, that is not dependent on any framework -
- ui-assets Static assets, images and others, shared accross projects
- ui-keyring A browser-specific wrapper around the base @polkadot/util-keyring library
- ui-settings A browser local storage wrapper for app settings & configuration
- ui-shared Shared logic that is used accross UI components, e.g. for icon generation
examples
In addition to the above packages, there are examples available for intergation of ui-keyring, ui-settings & the relevant *-identicon package. These are
- example-react - start with
yarn example:reactand view onhttp://localhost:8080 - example-vue - start with
yarn example:vueand view onhttp://localhost:8080
Description
Fork of polkadot-js/ui. @polkadot/ui-keyring reconstructs a pair's public key from its address, which a Quantus account id (a one-way Poseidon2 hash of the public key) cannot supply — account restore has to read the key from the encrypted blob instead.
Languages
TypeScript
98.4%
JavaScript
1%
HTML
0.6%