* refactor: Destructure imports together from same source in example util-crypto 01 * refactor: Destructure imports together example util-crypto 02. Avoid using default import. Show data to user * refactor: Destructure imports together example util-crypto 03. Show data to user * refactor: Split import over two lines looks cleaner * fix: Address review comments. Update dependencies in examples
Polkadot Javascript Common
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 -
- keyring Keyring management
- util General utilities
- util-crypto Crypto and hashing utilities
- util-rlp RLP encoding & decoding
Various useful trie and database interfaces -
- 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
This guide describes Polkadot Javascript Common.
{% include "SUMMARY.md" %}
The Polkadot Project
You can read more about the Polkadot Network at https://polkadot.network/
Github repositories
You can find the Polkadot repositories at:
- https://github.com/polkadot-js
- https://github.com/paritytech/polkadot
- https://github.com/paritytech/substrate
This documentation is generated from https://github.com/polkadot-js/api
Contributing
Contribution to Polkadot JS Common are more than welcome. You can report issues and log feature requests.