c7c23b795804640e94efdc3a29f9f04a9090019f
Follows quantus/common#6, which removed ed25519, sr25519, ecdsa and ethereum from the keyring (forks at 14.0.3-quantus.3). - restoreAccount now goes through keyring.createFromJson instead of building the pair itself. A restored backup therefore gets the same refusal as every other entry point: a polkadot{.js} export of an sr25519 or ed25519 account is told "<type> keys are not quantum-safe and cannot be held here", not decoded. - Version-0 JSON, which does not record its key type and so cannot be ML-DSA, is refused. Upstream guessed ed25519. - isEthereum is always false; it's kept so callers written against upstream still read a boolean. - loadAll already skips, with a warning, any stored account the keyring refuses, so a profile holding an old classical account still starts. The spec that pinned sr25519 restore as unchanged is replaced by the two refusals. ui-keyring 3.16.7-quantus.3, on the quantus.3 forks. yarn test 47 passing; lint clean. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012uDUodEcRbBwNRi3UCmw8f
@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 are not dependent on any framework -
- ui-keyring A browser-specific wrapper around the base @polkadot/keyring library
- ui-settings A browser local storage wrapper for app settings & configuration
- ui-shared Shared logic that is used across UI components, e.g. for icon generation
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%