Utilities and base libraries for use across polkadot-js for Polkadot and Substrate. Includes base libraries, crypto helpers and cross-environment helpers.
261
stars
3,140
commits
TypeScript
primary language
Mar 23, 2026
updated
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.
This repository is split up into a number of internal packages, namely utilities -
Contributions are welcome!
To start off, this repo (along with others in the @polkadot family) uses yarn workspaces to organise the code. As such, after cloning, its dependencies should be installed via yarn, not via npm; the latter will result in broken dependencies.
To get started -
git clone https://github.com/polkadot-js/common <optional local path>yarnyarn run buildyarn vuepress dev docsLooking for tutorials to get started? Look at examples for guides on how to use the base utilities.
(top 30 of 73)
TypeScript
99.7%
Utilities and base libraries for use across polkadot-js for Polkadot and Substrate. Includes base libraries, crypto helpers and cross-environment helpers.
261
stars
3,140
commits
TypeScript
primary language
Mar 23, 2026
updated
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.
This repository is split up into a number of internal packages, namely utilities -
Contributions are welcome!
To start off, this repo (along with others in the @polkadot family) uses yarn workspaces to organise the code. As such, after cloning, its dependencies should be installed via yarn, not via npm; the latter will result in broken dependencies.
To get started -
git clone https://github.com/polkadot-js/common <optional local path>yarnyarn run buildyarn vuepress dev docsLooking for tutorials to get started? Look at examples for guides on how to use the base utilities.
(top 30 of 73)
TypeScript
99.7%