2.3 KiB
2.3 KiB
@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, namely utilities -
- util General utilities
- util-crypto Crypto and hashing utilities
- util-keyring Keyring management
- util-rlp RLP encoding & decoding
Various useful trie interfaces and utilities -
- db Sync memory and disk database interfaces
- trie-db Merkle Patricia Tree implementation adapcted for Polkadot
- trie-hash Calculate hashes (either ordered or unordered) from a set of inputs
Contributing
- Bootstrap the dependencies,
yarn - Make any changes in the relevant package, on master merges new versions will be published automatically to npmjs