cdc848dce08d96c05669e58ffbf2da423dfd3bac
@polkadot/util
Various useful utility functions that are used across all projects in the @polkadot namespace. It provides utility functions with additional safety checks, allowing not only for consistent coding, but also reducing the general boilerplate.
It is split up into a number of internal packages -
- packages/util General utilities
- packages/util-crypto Crypto and hashing utilities
- packages/util-keyring Keyring management
- packages/util-rlp RLP encoding & decoding
- packages/util-triehash Calculation of trie hashes
Contributing
- Make sure you have Lerna installed,
yarn install -g lerna - Bootstrap the dependencies,
yarn - Make any changes in the relevant package, on master merges new versions will be published automatically
Description
Fork of polkadot-js/common. Carries the ML-DSA (Dilithium) keypair types in @polkadot/keyring and @polkadot/util-crypto: Quantus account ids are Poseidon2 hashes of 1952/2592-byte public keys, which upstream's 32-byte assumptions cannot express. Not upstreamable — see quantus/extension#1.
54 MiB
Languages
TypeScript
99.7%
JavaScript
0.2%
HTML
0.1%