common
Utilities and base libraries for use across polkadot-js for Polkadot and Substrate. Includes base libraries, crypto helpers and cross-environment helpers.
File Explorer
Download Latest Version (.zip)- auto-approve.yml
- auto-merge.yml
- lock.yml
- pr-any.yml
- push-master.yml
- issue_template.md
- .keep
- yarn-4.9.1.cjs
- .nojekyll
- 404.html
- index.html
- bundle.ts
- constants.ts
- defaults.spec.ts
- defaults.ts
- index.ts
- Ledger.ts
- LedgerGeneric.ts
- mod.ts
- packageDetect.ts
- packageInfo.ts
- types.ts
- package.json
- README.md
- tsconfig.build.json
- tsconfig.spec.json
- browser.ts
- empty.ts
- mod.ts
- node.ts
- packageDetect.ts
- packageInfo.ts
- react-native.ts
- types.ts
- util.ts
- package.json
- README.md
- tsconfig.build.json
- decode.spec.ts
- decode.ts
- defaults.ts
- encode.spec.ts
- encode.ts
- index.spec.ts
- index.ts
- nobody.ts
- toJson.spec.ts
- toJson.ts
- types.ts
- vrf.spec.ts
- bundle.ts
- defaults.ts
- index.spec.ts
- index.ts
- keyring.ts
- mod.ts
- packageDetect.ts
- packageInfo.ts
- pairs.ts
- suri.spec.ts
- testing.ts
- testingPairs.spec.ts
- testingPairs.ts
- types.ts
- package.json
- README.md
- tsconfig.build.json
- tsconfig.spec.json
- genesis.ts
- icons.ts
- index.ts
- ledger.ts
- testnets.ts
- defaults.spec.ts
- index.spec.ts
- index.ts
- interfaces.ts
- mod.ts
- packageDetect.ts
- packageInfo.ts
- ss58registry.spec.ts
- types.ts
- ss58registry.json
- package.json
- README.md
- tsconfig.build.json
- tsconfig.spec.json
- chunk.spec.ts
- chunk.ts
- filter.spec.ts
- filter.ts
- flatten.spec.ts
- flatten.ts
- index.ts
- range.spec.ts
- range.ts
- shuffle.spec.ts
- shuffle.ts
- unzip.spec.ts
- unzip.ts
- zip.spec.ts
- zip.ts
- consts.ts
- helpers.ts
- index.ts
- max.spec.ts
- min.spec.ts
- min.ts
- sqrt.spec.ts
- sqrt.ts
- toBigInt.spec.ts
- toBigInt.ts
- toHex.spec.ts
- toHex.ts
- toU8a.spec.ts
- toU8a.ts
- bn.ts
- consts.spec.ts
- consts.ts
- fromHex.spec.ts
- fromHex.ts
- index.ts
- max.spec.ts
- min.spec.ts
- min.ts
- sqrt.spec.ts
- sqrt.ts
- toBn.spec.ts
- toBn.ts
- toHex.spec.ts
- toHex.ts
- toU8a.spec.ts
- toU8a.ts
- index.ts
- toU8a.spec.ts
- toU8a.ts
- addLength.spec.ts
- addLength.ts
- defaults.ts
- fromU8a.spec.ts
- fromU8a.ts
- index.ts
- stripLength.spec.ts
- stripLength.ts
- toU8a.spec.ts
- toU8a.ts
- types.ts
- index.ts
- toU8a.spec.ts
- toU8a.ts
- formatBalance.spec.ts
- formatBalance.ts
- formatDate.spec.ts
- formatDate.ts
- formatDecimal.spec.ts
- formatDecimal.ts
- formatElapsed.spec.ts
- formatElapsed.ts
- formatNumber.spec.ts
- formatNumber.ts
- getSeparator.spec.ts
- getSeparator.ts
- index.ts
- si.ts
- addPrefix.spec.ts
- addPrefix.ts
- fixLength.spec.ts
- fixLength.ts
- hasPrefix.spec.ts
- hasPrefix.ts
- index.ts
- stripPrefix.spec.ts
- stripPrefix.ts
- toBigInt.spec.ts
- toBigInt.ts
- toBn.spec.ts
- toBn.ts
- toNumber.spec.ts
- toNumber.ts
- toString.spec.ts
- toString.ts
- toU8a.spec.ts
- toU8a.ts
- toU8aBuffer.spec.ts
- toU8aBuffer.ts
- array.spec.ts
- array.ts
- ascii.spec.ts
- ascii.ts
- bigInt.spec.ts
- bigInt.ts
- bn.spec.ts
- bn.ts
- boolean.spec.ts
- boolean.ts
- buffer.spec.ts
- buffer.ts
- childClass.spec.ts
- childClass.ts
- class.spec.ts
- class.ts
- codec.spec.ts
- codec.ts
- compact.spec.ts
- compact.ts
- error.spec.ts
- error.ts
- function.spec.ts
- function.ts
- helpers.ts
- hex.spec.ts
- hex.ts
- index.ts
- instanceOf.spec.ts
- instanceOf.ts
- ip.spec.ts
- ip.ts
- jsonObject.spec.ts
- jsonObject.ts
- null.spec.ts
- null.ts
- number.spec.ts
- number.ts
- object.spec.ts
- object.ts
- observable.spec.ts
- observable.ts
- promise.spec.ts
- promise.ts
- riscv.spec.ts
- riscv.ts
- string.spec.ts
- string.ts
- testChain.spec.ts
- testChain.ts
- toBigInt.spec.ts
- toBigInt.ts
- toBn.spec.ts
- toBn.ts
- u8a.spec.ts
- u8a.ts
- undefined.spec.ts
- undefined.ts
- utf8.spec.ts
- utf8.ts
- wasm.spec.ts
- wasm.ts
- index.ts
- toHex.spec.ts
- toHex.ts
- toU8a.spec.ts
- toU8a.ts
- clear.spec.ts
- clear.ts
- copy.spec.ts
- copy.ts
- entries.spec.ts
- entries.ts
- index.ts
- keys.spec.ts
- keys.ts
- property.spec.ts
- property.ts
- spread.spec.ts
- spread.ts
- values.spec.ts
- values.ts
- camelCase.spec.ts
- camelCase.ts
- index.ts
- lowerFirst.spec.ts
- lowerFirst.ts
- pascalCase.spec.ts
- shorten.spec.ts
- shorten.ts
- toHex.spec.ts
- toHex.ts
- toU8a.spec.ts
- toU8a.ts
- upperFirst.spec.ts
- index.ts
- performance.ts
- cmp.spec.ts
- cmp.ts
- concat.spec.ts
- concat.ts
- concatBuffer.ts
- empty.spec.ts
- empty.ts
- eq.spec.ts
- eq.ts
- fixLength.spec.ts
- fixLength.ts
- index.ts
- sorted.spec.ts
- sorted.ts
- toBigInt.spec.ts
- toBigInt.ts
- toBn.spec.ts
- toBn.ts
- toBuffer.spec.ts
- toBuffer.ts
- toFloat.spec.ts
- toFloat.ts
- toHex.spec.ts
- toHex.ts
- toHexBuffer.spec.ts
- toHexBuffer.ts
- toNumber.spec.ts
- toNumber.ts
- toString.spec.ts
- toString.ts
- toU8a.spec.ts
- toU8a.ts
- wrap.spec.ts
- wrap.ts
- assert.spec.ts
- assert.ts
- bundle.ts
- detectPackage.spec.ts
- detectPackage.ts
- extractTime.spec.ts
- extractTime.ts
- has.spec.ts
- has.ts
- index.spec.ts
- index.ts
- lazy.spec.ts
- lazy.ts
- logger.spec.ts
- logger.ts
- memoize.spec.ts
- memoize.ts
- mod.ts
- nextTick.ts
- noop.ts
- packageDetect.ts
- packageInfo.ts
- promisify.spec.ts
- promisify.ts
- stringify.spec.ts
- stringify.ts
- types.ts
- package.json
- README.md
- tsconfig.build.json
- tsconfig.spec.json
- addressToEvm.spec.ts
- addressToEvm.ts
- check.spec.ts
- check.ts
- checksum.spec.ts
- checksum.ts
- decode.spec.ts
- decode.ts
- defaults.ts
- derive.spec.ts
- derive.ts
- encode.spec.ts
- encode.ts
- encodeDerived.spec.ts
- encodeDerived.ts
- encodeMulti.spec.ts
- encodeMulti.ts
- eq.spec.ts
- eq.ts
- evmToAddress.spec.ts
- evmToAddress.ts
- index.ts
- is.spec.ts
- is.ts
- keyDerived.spec.ts
- keyDerived.ts
- keyMulti.spec.ts
- keyMulti.ts
- setSS58Format.spec.ts
- setSS58Format.ts
- sort.spec.ts
- sort.ts
- sshash.ts
- types.ts
- util.ts
- validate.spec.ts
- validate.ts
- bs32.ts
- decode.spec.ts
- encode.spec.ts
- helpers.ts
- index.ts
- is.spec.ts
- validate.spec.ts
- bs58.ts
- decode.spec.ts
- encode.spec.ts
- index.ts
- validate.spec.ts
- bs64.ts
- decode.spec.ts
- encode.spec.ts
- index.ts
- pad.spec.ts
- pad.ts
- trim.spec.ts
- trim.ts
- validate.spec.ts
- asHex.spec.ts
- asU8a.spec.ts
- asU8a.ts
- index.ts
- fromRandom.spec.ts
- fromRandom.ts
- fromSecret.spec.ts
- fromSecret.ts
- fromSeed.spec.ts
- fromSeed.ts
- fromString.spec.ts
- fromString.ts
- deriveHard.ts
- index.ts
- sign.spec.ts
- sign.ts
- verify.spec.ts
- verify.ts
- encode.spec.ts
- encode.ts
- index.ts
- isAddress.spec.ts
- isAddress.ts
- isChecksum.ts
- isCheksum.spec.ts
- index.spec.ts
- index.ts
- derivePrivate.ts
- index.spec.ts
- index.ts
- master.spec.ts
- master.ts
- index.ts
- validatePath.spec.ts
- validatePath.ts
- index.ts
- shaAsU8a.spec.ts
- shaAsU8a.ts
- constants.ts
- decrypt.ts
- decryptData.ts
- encrypt.ts
- encryptFormat.ts
- index.ts
- types.ts
- asHex.spec.ts
- asU8a.spec.ts
- asU8a.ts
- index.ts
- DeriveJunction.ts
- extractPath.spec.ts
- extractPath.ts
- extractSuri.spec.ts
- extractSuri.ts
- fromPath.ts
- hdkdDerive.ts
- hdkdEcdsa.ts
- hdkdEd25519.ts
- hdkdSr25519.ts
- index.ts
- en.ts
- es.ts
- fr.ts
- index.ts
- it.ts
- jp.ts
- ko.ts
- zh-s.ts
- zh-t.ts
- bip39.spec.ts
- bip39.ts
- generate.spec.ts
- generate.ts
- index.ts
- toEntropy.spec.ts
- toEntropy.ts
- toLegacySeed.spec.ts
- toLegacySeed.ts
- toMiniSecret.spec.ts
- toMiniSecret.ts
- toMiniSecretCmp.spec.ts
- validate.spec.ts
- validate.ts
- decrypt.spec.ts
- decrypt.ts
- encrypt.spec.ts
- encrypt.ts
- index.ts
- tweetnacl-secretbox-data.spec.ts
- tweetnacl-secretbox.spec.ts
- tweetnacl.ts
- encode.spec.ts
- encode.ts
- index.ts
- asHex.spec.ts
- asNumber.spec.ts
- asNumber.ts
- asU8a.spec.ts
- asU8a.ts
- index.ts
- defaults.ts
- encode.spec.ts
- encode.ts
- fromU8a.ts
- index.ts
- toU8a.ts
- types.ts
- fromSeed.spec.ts
- fromSeed.ts
- compress.spec.ts
- compress.ts
- deriveHard.ts
- expand.spec.ts
- expand.ts
- hasher.spec.ts
- hasher.ts
- index.ts
- recover.spec.ts
- recover.ts
- sign.spec.ts
- sign.ts
- signVerify.spec.ts
- tweakAdd.spec.ts
- tweakAdd.ts
- types.ts
- verify.spec.ts
- verify.ts
- asU8a.ts
- asU8a256.spec.ts
- asU8a512.spec.ts
- index.ts
- index.ts
- verify.spec.ts
- verify.ts
- fromSeed.spec.ts
- fromSeed.ts
- fromU8a.ts
- testing.spec.ts
- toU8a.ts
- agreement.spec.ts
- agreement.ts
- derive.ts
- deriveHard.ts
- derivePublic.ts
- deriveSoft.ts
- index.ts
- sign.spec.ts
- sign.ts
- verify.spec.ts
- verify.ts
- vrfSign.ts
- vrfSignVerify.spec.ts
- vrfVerify.ts
- index.ts
- performance.ts
- asHex.spec.ts
- asU8a.spec.ts
- asU8a.ts
- index.ts
- xxhash64.ts
- bn.ts
- bundle.ts
- bundleInit.ts
- crypto.spec.ts
- crypto.ts
- helpers.ts
- index.ts
- mod.ts
- networks.ts
- packageDetect.ts
- packageInfo.ts
- types.ts
- package.json
- README.md
- tsconfig.build.json
- tsconfig.spec.json
- index.ts
- mod.ts
- packageInfo.ts
- shim.ts
- package.json
- README.md
- tsconfig.build.json
- bn.js
- package.json
- buffer.ts
- crypto.ts
- dummy.ts
- empty.ts
- index.ts
- inherits.ts
- packageInfo.ts
- package.json
- README.md
- tsconfig.build.json
- browser.ts
- mod.ts
- node.ts
- packageInfo.ts
- react-native.ts
- shim.ts
- package.json
- README.md
- tsconfig.build.json
- index.ts
- mod.ts
- packageInfo.ts
- package.json
- README.md
- tsconfig.build.json
- browser.ts
- fallback.spec.ts
- fallback.ts
- mod.ts
- node.ts
- packageInfo.ts
- react-native.ts
- shim.ts
- package.json
- README.md
- tsconfig.build.json
- tsconfig.spec.json
- browser.ts
- fallback.spec.ts
- fallback.ts
- mod.ts
- node.spec.ts
- node.ts
- packageInfo.ts
- react-native.ts
- shim.ts
- typeCheck.ts
- package.json
- README.md
- tsconfig.build.json
- tsconfig.spec.json
- browser.ts
- fallback.spec.ts
- fallback.ts
- mod.ts
- node.spec.ts
- node.ts
- packageInfo.ts
- react-native.ts
- shim.ts
- typeCheck.ts
- package.json
- README.md
- tsconfig.build.json
- tsconfig.spec.json
- browser.ts
- mod.ts
- node.ts
- packageInfo.ts
- react-native.ts
- shim.ts
- package.json
- README.md
- tsconfig.build.json
- .editorconfig
- .gitignore
- .mailmap
- .npmignore
- .prettierignore
- .prettierrc.cjs
- .yarnrc.yml
- CHANGELOG.md
- CONTRIBUTING.md
- CONTRIBUTORS
- eslint.config.js
- import_map.in.json
- LICENSE
- package.json
- README.md
- rollup.config.js
- test-bundle.html
- tsconfig.base.json
- tsconfig.build.json
- tsconfig.eslint.json
- tsconfig.json
- yarn.lock
// repository documentation
Was this content helpful?
(0 ratings)
