Files
common/docs/index.html
T
2019-02-27 14:33:22 +00:00

22 lines
26 KiB
HTML

<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>Polkadot Javascript Common | polkadot-js/common</title>
<meta name="description" content="Utilities and libraries in-use accross @polkadot projects">
<link rel="preload" href="/common/assets/css/0.styles.07dd9036.css" as="style"><link rel="preload" href="/common/assets/js/app.6bac3e36.js" as="script"><link rel="preload" href="/common/assets/js/2.91658b52.js" as="script"><link rel="preload" href="/common/assets/js/6.4bae575e.js" as="script"><link rel="prefetch" href="/common/assets/js/10.a7d62b8e.js"><link rel="prefetch" href="/common/assets/js/100.79a4527e.js"><link rel="prefetch" href="/common/assets/js/101.83e6fdbf.js"><link rel="prefetch" href="/common/assets/js/102.bbdf1551.js"><link rel="prefetch" href="/common/assets/js/103.2b40a00a.js"><link rel="prefetch" href="/common/assets/js/104.c7ceac59.js"><link rel="prefetch" href="/common/assets/js/105.f6e07a2b.js"><link rel="prefetch" href="/common/assets/js/106.da6df1a5.js"><link rel="prefetch" href="/common/assets/js/107.5f7e5c5f.js"><link rel="prefetch" href="/common/assets/js/108.4b0bb2fe.js"><link rel="prefetch" href="/common/assets/js/109.d11b7f73.js"><link rel="prefetch" href="/common/assets/js/11.b724d799.js"><link rel="prefetch" href="/common/assets/js/110.a164004c.js"><link rel="prefetch" href="/common/assets/js/111.b00ef71d.js"><link rel="prefetch" href="/common/assets/js/112.632e6ba9.js"><link rel="prefetch" href="/common/assets/js/113.04101207.js"><link rel="prefetch" href="/common/assets/js/114.e4fda19a.js"><link rel="prefetch" href="/common/assets/js/115.eceee7f5.js"><link rel="prefetch" href="/common/assets/js/116.1dd89c9b.js"><link rel="prefetch" href="/common/assets/js/117.85c78ed2.js"><link rel="prefetch" href="/common/assets/js/118.94d7fef4.js"><link rel="prefetch" href="/common/assets/js/119.294e232e.js"><link rel="prefetch" href="/common/assets/js/12.42d95e86.js"><link rel="prefetch" href="/common/assets/js/120.fb1284ce.js"><link rel="prefetch" href="/common/assets/js/121.822872a9.js"><link rel="prefetch" href="/common/assets/js/122.8b3fe42b.js"><link rel="prefetch" href="/common/assets/js/123.bed646e9.js"><link rel="prefetch" href="/common/assets/js/124.bf8a9f43.js"><link rel="prefetch" href="/common/assets/js/125.f7a60723.js"><link rel="prefetch" href="/common/assets/js/126.fca854d2.js"><link rel="prefetch" href="/common/assets/js/127.a516880c.js"><link rel="prefetch" href="/common/assets/js/128.112261ac.js"><link rel="prefetch" href="/common/assets/js/129.547cd79f.js"><link rel="prefetch" href="/common/assets/js/13.10b6985f.js"><link rel="prefetch" href="/common/assets/js/130.76060d49.js"><link rel="prefetch" href="/common/assets/js/131.a1fcf1b2.js"><link rel="prefetch" href="/common/assets/js/132.beae7e01.js"><link rel="prefetch" href="/common/assets/js/133.9f74c7b0.js"><link rel="prefetch" href="/common/assets/js/134.3076aa8f.js"><link rel="prefetch" href="/common/assets/js/135.dfa0959d.js"><link rel="prefetch" href="/common/assets/js/136.3e556a43.js"><link rel="prefetch" href="/common/assets/js/137.c810f6e1.js"><link rel="prefetch" href="/common/assets/js/138.35b02724.js"><link rel="prefetch" href="/common/assets/js/139.f3ef4f12.js"><link rel="prefetch" href="/common/assets/js/14.4ccf74d6.js"><link rel="prefetch" href="/common/assets/js/140.56bf2412.js"><link rel="prefetch" href="/common/assets/js/141.4a8da9b4.js"><link rel="prefetch" href="/common/assets/js/142.c80f907d.js"><link rel="prefetch" href="/common/assets/js/143.b63273ff.js"><link rel="prefetch" href="/common/assets/js/144.b2910012.js"><link rel="prefetch" href="/common/assets/js/145.c2212928.js"><link rel="prefetch" href="/common/assets/js/146.e9abb2b0.js"><link rel="prefetch" href="/common/assets/js/147.aee5b81e.js"><link rel="prefetch" href="/common/assets/js/148.087381dc.js"><link rel="prefetch" href="/common/assets/js/149.a09ae79f.js"><link rel="prefetch" href="/common/assets/js/15.f1b498f7.js"><link rel="prefetch" href="/common/assets/js/150.1f6d18c9.js"><link rel="prefetch" href="/common/assets/js/151.d6da7017.js"><link rel="prefetch" href="/common/assets/js/152.556d3ad8.js"><link rel="prefetch" href="/common/assets/js/153.96a517db.js"><link rel="prefetch" href="/common/assets/js/154.4883477c.js"><link rel="prefetch" href="/common/assets/js/155.9a0d14e0.js"><link rel="prefetch" href="/common/assets/js/156.b921702d.js"><link rel="prefetch" href="/common/assets/js/157.e582c056.js"><link rel="prefetch" href="/common/assets/js/158.f6c92eb8.js"><link rel="prefetch" href="/common/assets/js/159.fd5e0818.js"><link rel="prefetch" href="/common/assets/js/16.f37c730b.js"><link rel="prefetch" href="/common/assets/js/160.b3f26d32.js"><link rel="prefetch" href="/common/assets/js/161.7cf36eee.js"><link rel="prefetch" href="/common/assets/js/162.44f64348.js"><link rel="prefetch" href="/common/assets/js/163.2a0848e4.js"><link rel="prefetch" href="/common/assets/js/164.6dd6cf82.js"><link rel="prefetch" href="/common/assets/js/165.ef62c812.js"><link rel="prefetch" href="/common/assets/js/166.19e314c6.js"><link rel="prefetch" href="/common/assets/js/167.cdb3a2cc.js"><link rel="prefetch" href="/common/assets/js/168.1e929c08.js"><link rel="prefetch" href="/common/assets/js/169.f3560036.js"><link rel="prefetch" href="/common/assets/js/17.5054e4b2.js"><link rel="prefetch" href="/common/assets/js/170.cc4c6116.js"><link rel="prefetch" href="/common/assets/js/171.280f3d10.js"><link rel="prefetch" href="/common/assets/js/172.d6fe72c8.js"><link rel="prefetch" href="/common/assets/js/173.45b8133c.js"><link rel="prefetch" href="/common/assets/js/174.ceb97cb5.js"><link rel="prefetch" href="/common/assets/js/175.bea9ca77.js"><link rel="prefetch" href="/common/assets/js/176.888d16c1.js"><link rel="prefetch" href="/common/assets/js/177.41b7b52a.js"><link rel="prefetch" href="/common/assets/js/178.15534701.js"><link rel="prefetch" href="/common/assets/js/179.66fbf342.js"><link rel="prefetch" href="/common/assets/js/18.0fca21b0.js"><link rel="prefetch" href="/common/assets/js/180.67c2b634.js"><link rel="prefetch" href="/common/assets/js/181.2618ec21.js"><link rel="prefetch" href="/common/assets/js/182.16308067.js"><link rel="prefetch" href="/common/assets/js/183.5c321204.js"><link rel="prefetch" href="/common/assets/js/184.6793dce4.js"><link rel="prefetch" href="/common/assets/js/185.6c3879cf.js"><link rel="prefetch" href="/common/assets/js/186.83016d37.js"><link rel="prefetch" href="/common/assets/js/187.c79e4b25.js"><link rel="prefetch" href="/common/assets/js/188.c7142237.js"><link rel="prefetch" href="/common/assets/js/189.c5517d0b.js"><link rel="prefetch" href="/common/assets/js/19.d042e2b2.js"><link rel="prefetch" href="/common/assets/js/190.7f368124.js"><link rel="prefetch" href="/common/assets/js/191.131720dd.js"><link rel="prefetch" href="/common/assets/js/192.5a087e23.js"><link rel="prefetch" href="/common/assets/js/193.b457092f.js"><link rel="prefetch" href="/common/assets/js/194.297439cc.js"><link rel="prefetch" href="/common/assets/js/195.9badf042.js"><link rel="prefetch" href="/common/assets/js/196.46524ef0.js"><link rel="prefetch" href="/common/assets/js/197.1d35842c.js"><link rel="prefetch" href="/common/assets/js/198.90c04054.js"><link rel="prefetch" href="/common/assets/js/199.9a73ed9c.js"><link rel="prefetch" href="/common/assets/js/20.811cb399.js"><link rel="prefetch" href="/common/assets/js/200.fb4241a5.js"><link rel="prefetch" href="/common/assets/js/201.4f09c6f6.js"><link rel="prefetch" href="/common/assets/js/202.e7eaadbc.js"><link rel="prefetch" href="/common/assets/js/203.6e9564cb.js"><link rel="prefetch" href="/common/assets/js/204.91fde2b3.js"><link rel="prefetch" href="/common/assets/js/205.5b799873.js"><link rel="prefetch" href="/common/assets/js/206.689c134b.js"><link rel="prefetch" href="/common/assets/js/207.65269057.js"><link rel="prefetch" href="/common/assets/js/208.09b54615.js"><link rel="prefetch" href="/common/assets/js/209.9061dd5a.js"><link rel="prefetch" href="/common/assets/js/21.55a10739.js"><link rel="prefetch" href="/common/assets/js/210.f75680fc.js"><link rel="prefetch" href="/common/assets/js/211.1c1ecc13.js"><link rel="prefetch" href="/common/assets/js/212.1750c2fe.js"><link rel="prefetch" href="/common/assets/js/213.529907dd.js"><link rel="prefetch" href="/common/assets/js/214.eaddf55b.js"><link rel="prefetch" href="/common/assets/js/215.7f2d74b0.js"><link rel="prefetch" href="/common/assets/js/216.c94c7a8a.js"><link rel="prefetch" href="/common/assets/js/217.ddd8b484.js"><link rel="prefetch" href="/common/assets/js/218.a2f1dcdd.js"><link rel="prefetch" href="/common/assets/js/219.c629d18b.js"><link rel="prefetch" href="/common/assets/js/22.3567e1f6.js"><link rel="prefetch" href="/common/assets/js/220.0d6e5b88.js"><link rel="prefetch" href="/common/assets/js/221.a93736f7.js"><link rel="prefetch" href="/common/assets/js/222.b6d99e16.js"><link rel="prefetch" href="/common/assets/js/223.2d924626.js"><link rel="prefetch" href="/common/assets/js/224.bdbe97de.js"><link rel="prefetch" href="/common/assets/js/225.93a35929.js"><link rel="prefetch" href="/common/assets/js/226.8dea9412.js"><link rel="prefetch" href="/common/assets/js/227.0d081bcb.js"><link rel="prefetch" href="/common/assets/js/228.da48c454.js"><link rel="prefetch" href="/common/assets/js/229.168cc500.js"><link rel="prefetch" href="/common/assets/js/23.d960b1d3.js"><link rel="prefetch" href="/common/assets/js/230.1927edef.js"><link rel="prefetch" href="/common/assets/js/231.2fffd78d.js"><link rel="prefetch" href="/common/assets/js/232.a57a8cb2.js"><link rel="prefetch" href="/common/assets/js/233.d4050b2f.js"><link rel="prefetch" href="/common/assets/js/234.545e18c2.js"><link rel="prefetch" href="/common/assets/js/235.17a2c973.js"><link rel="prefetch" href="/common/assets/js/236.87657ac8.js"><link rel="prefetch" href="/common/assets/js/237.cfb9d6be.js"><link rel="prefetch" href="/common/assets/js/238.be414a01.js"><link rel="prefetch" href="/common/assets/js/239.1e012d1f.js"><link rel="prefetch" href="/common/assets/js/24.3a8ddcfc.js"><link rel="prefetch" href="/common/assets/js/240.e07194ea.js"><link rel="prefetch" href="/common/assets/js/241.423018b4.js"><link rel="prefetch" href="/common/assets/js/242.7d8ed685.js"><link rel="prefetch" href="/common/assets/js/243.d3bf27af.js"><link rel="prefetch" href="/common/assets/js/25.d76207a9.js"><link rel="prefetch" href="/common/assets/js/26.dc6f4706.js"><link rel="prefetch" href="/common/assets/js/27.632c6cd2.js"><link rel="prefetch" href="/common/assets/js/28.5729d897.js"><link rel="prefetch" href="/common/assets/js/29.8313abe7.js"><link rel="prefetch" href="/common/assets/js/3.927f0a66.js"><link rel="prefetch" href="/common/assets/js/30.ceb486fb.js"><link rel="prefetch" href="/common/assets/js/31.b1cd4b7f.js"><link rel="prefetch" href="/common/assets/js/32.c9b1699b.js"><link rel="prefetch" href="/common/assets/js/33.9cd88591.js"><link rel="prefetch" href="/common/assets/js/34.b26de6b6.js"><link rel="prefetch" href="/common/assets/js/35.5ebfb9f1.js"><link rel="prefetch" href="/common/assets/js/36.e712ae96.js"><link rel="prefetch" href="/common/assets/js/37.e2bf13b0.js"><link rel="prefetch" href="/common/assets/js/38.f4b813f8.js"><link rel="prefetch" href="/common/assets/js/39.16f5ec56.js"><link rel="prefetch" href="/common/assets/js/4.fa7ee3a8.js"><link rel="prefetch" href="/common/assets/js/40.3312f339.js"><link rel="prefetch" href="/common/assets/js/41.6b3483c8.js"><link rel="prefetch" href="/common/assets/js/42.7f31bca0.js"><link rel="prefetch" href="/common/assets/js/43.2e80fc64.js"><link rel="prefetch" href="/common/assets/js/44.e41ceb31.js"><link rel="prefetch" href="/common/assets/js/45.eb57e290.js"><link rel="prefetch" href="/common/assets/js/46.bc129317.js"><link rel="prefetch" href="/common/assets/js/47.308671c3.js"><link rel="prefetch" href="/common/assets/js/48.7224fd0d.js"><link rel="prefetch" href="/common/assets/js/49.de0bc67b.js"><link rel="prefetch" href="/common/assets/js/5.c10a21f1.js"><link rel="prefetch" href="/common/assets/js/50.6038feac.js"><link rel="prefetch" href="/common/assets/js/51.5841cdb8.js"><link rel="prefetch" href="/common/assets/js/52.4e84ed63.js"><link rel="prefetch" href="/common/assets/js/53.95738ad9.js"><link rel="prefetch" href="/common/assets/js/54.124f41b1.js"><link rel="prefetch" href="/common/assets/js/55.210cf109.js"><link rel="prefetch" href="/common/assets/js/56.b9456f9c.js"><link rel="prefetch" href="/common/assets/js/57.1cd5e1fe.js"><link rel="prefetch" href="/common/assets/js/58.09156fc6.js"><link rel="prefetch" href="/common/assets/js/59.f8eee148.js"><link rel="prefetch" href="/common/assets/js/60.ed868b37.js"><link rel="prefetch" href="/common/assets/js/61.1ae42463.js"><link rel="prefetch" href="/common/assets/js/62.e1a3e089.js"><link rel="prefetch" href="/common/assets/js/63.4ec7a5b6.js"><link rel="prefetch" href="/common/assets/js/64.7d3f0c21.js"><link rel="prefetch" href="/common/assets/js/65.1486e01b.js"><link rel="prefetch" href="/common/assets/js/66.db23b622.js"><link rel="prefetch" href="/common/assets/js/67.f1ea78fd.js"><link rel="prefetch" href="/common/assets/js/68.d6e94a26.js"><link rel="prefetch" href="/common/assets/js/69.5f8bf247.js"><link rel="prefetch" href="/common/assets/js/7.9cff3c08.js"><link rel="prefetch" href="/common/assets/js/70.81e210c4.js"><link rel="prefetch" href="/common/assets/js/71.115bca2f.js"><link rel="prefetch" href="/common/assets/js/72.2b075c81.js"><link rel="prefetch" href="/common/assets/js/73.8b2be556.js"><link rel="prefetch" href="/common/assets/js/74.841810f8.js"><link rel="prefetch" href="/common/assets/js/75.92e4abb2.js"><link rel="prefetch" href="/common/assets/js/76.5786ef1a.js"><link rel="prefetch" href="/common/assets/js/77.80b74117.js"><link rel="prefetch" href="/common/assets/js/78.ca222a4d.js"><link rel="prefetch" href="/common/assets/js/79.91a8f727.js"><link rel="prefetch" href="/common/assets/js/8.2bf8cee0.js"><link rel="prefetch" href="/common/assets/js/80.e8997650.js"><link rel="prefetch" href="/common/assets/js/81.12f2bc39.js"><link rel="prefetch" href="/common/assets/js/82.a5164ddf.js"><link rel="prefetch" href="/common/assets/js/83.e187b60d.js"><link rel="prefetch" href="/common/assets/js/84.19386e9f.js"><link rel="prefetch" href="/common/assets/js/85.8f701ee9.js"><link rel="prefetch" href="/common/assets/js/86.5c3f7cac.js"><link rel="prefetch" href="/common/assets/js/87.c3880025.js"><link rel="prefetch" href="/common/assets/js/88.11416da1.js"><link rel="prefetch" href="/common/assets/js/89.a73fda23.js"><link rel="prefetch" href="/common/assets/js/9.59c788c0.js"><link rel="prefetch" href="/common/assets/js/90.85a9fa03.js"><link rel="prefetch" href="/common/assets/js/91.1593312f.js"><link rel="prefetch" href="/common/assets/js/92.fbe2caac.js"><link rel="prefetch" href="/common/assets/js/93.47567730.js"><link rel="prefetch" href="/common/assets/js/94.fda6b338.js"><link rel="prefetch" href="/common/assets/js/95.fc1e896c.js"><link rel="prefetch" href="/common/assets/js/96.aab45d7e.js"><link rel="prefetch" href="/common/assets/js/97.40cefd91.js"><link rel="prefetch" href="/common/assets/js/98.d63e2247.js"><link rel="prefetch" href="/common/assets/js/99.b5e71317.js">
<link rel="stylesheet" href="/common/assets/css/0.styles.07dd9036.css">
</head>
<body>
<div id="app" data-server-rendered="true"><div class="theme-container"><header class="navbar"><div class="sidebar-button"><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" role="img" viewBox="0 0 448 512" class="icon"><path fill="currentColor" d="M436 124H12c-6.627 0-12-5.373-12-12V80c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12z"></path></svg></div> <a href="/common/" class="home-link router-link-exact-active router-link-active"><!----> <span class="site-name">polkadot-js/common</span></a> <div class="links"><div class="search-box"><input aria-label="Search" autocomplete="off" spellcheck="false" value=""> <!----></div> <nav class="nav-links can-hide"><div class="nav-item"><a href="https://github.com/polkadot-js/common" target="_blank" rel="noopener noreferrer" class="nav-link external">
GitHub
<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></div> <!----></nav></div></header> <div class="sidebar-mask"></div> <aside class="sidebar"><nav class="nav-links"><div class="nav-item"><a href="https://github.com/polkadot-js/common" target="_blank" rel="noopener noreferrer" class="nav-link external">
GitHub
<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></div> <!----></nav> <ul class="sidebar-links"><li><section class="sidebar-group depth-0"><a href="/common/examples/keyring/" class="sidebar-heading clickable open"><span>Examples (keyring)</span> <!----></a> <ul class="sidebar-links sidebar-group-items"><li><a href="/common/examples/keyring/01_create_account/" class="sidebar-link">Create account</a></li><li><a href="/common/examples/keyring/02_load_accounts/" class="sidebar-link">Load Accounts</a></li></ul></section></li><li><a href="/common/util/" class="sidebar-link">@polkadot/util</a><ul class="sidebar-sub-headers"><li class="sidebar-sub-header"><a href="/common/util/#usage" class="sidebar-link">Usage</a></li><li class="sidebar-sub-header"><a href="/common/util/#utilities" class="sidebar-link">Utilities</a></li></ul></li><li><a href="/common/util-crypto/" class="sidebar-link">@polkadot/util-crypto</a><ul class="sidebar-sub-headers"><li class="sidebar-sub-header"><a href="/common/util-crypto/#usage" class="sidebar-link">Usage</a></li><li class="sidebar-sub-header"><a href="/common/util-crypto/#utilities" class="sidebar-link">Utilities</a></li></ul></li><li><a href="/common/keyring/" class="sidebar-link">@polkadot/keyring</a><ul class="sidebar-sub-headers"><li class="sidebar-sub-header"><a href="/common/keyring/#usage" class="sidebar-link">Usage</a></li><li class="sidebar-sub-header"><a href="/common/keyring/#utilities" class="sidebar-link">Utilities</a></li></ul></li><li><a href="/common/CONTRIBUTING.html" class="sidebar-link">Contributing</a><ul class="sidebar-sub-headers"><li class="sidebar-sub-header"><a href="/common/CONTRIBUTING.html#what" class="sidebar-link">What?</a></li><li class="sidebar-sub-header"><a href="/common/CONTRIBUTING.html#rules" class="sidebar-link">Rules</a></li><li class="sidebar-sub-header"><a href="/common/CONTRIBUTING.html#releases" class="sidebar-link">Releases</a></li><li class="sidebar-sub-header"><a href="/common/CONTRIBUTING.html#changes-to-this-arrangement" class="sidebar-link">Changes to this arrangement</a></li><li class="sidebar-sub-header"><a href="/common/CONTRIBUTING.html#heritage" class="sidebar-link">Heritage</a></li></ul></li></ul> </aside> <main class="page"> <div class="content default"><h1 id="polkadot-javascript-common"><a href="#polkadot-javascript-common" aria-hidden="true" class="header-anchor">#</a> Polkadot Javascript Common</h1> <p>Various useful utility functions that are used across all projects in the <a href="https://polkadot.js.org" target="_blank" rel="noopener noreferrer">@polkadot<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a> namespace. It provides utility functions with additional safety checks, allowing not only for consistent coding, but also reducing the general boilerplate.</p> <p>It is split up into a number of internal packages, namely utilities -</p> <ul><li><a href="/common/keyring/">keyring</a> Keyring management</li> <li><a href="/common/util/">util</a> General utilities</li> <li><a href="/common/util-crypto/">util-crypto</a> Crypto and hashing utilities</li></ul> <h2 id="the-polkadot-project"><a href="#the-polkadot-project" aria-hidden="true" class="header-anchor">#</a> The Polkadot Project</h2> <p>You can read more about the Polkadot Network at <a href="https://polkadot.network/" target="_blank" rel="noopener noreferrer">https://polkadot.network/<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></p> <h2 id="github-repositories"><a href="#github-repositories" aria-hidden="true" class="header-anchor">#</a> Github repositories</h2> <p>You can find the Polkadot repositories at:</p> <ul><li><a href="https://github.com/polkadot-js" target="_blank" rel="noopener noreferrer">https://github.com/polkadot-js<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></li> <li><a href="https://github.com/paritytech/polkadot" target="_blank" rel="noopener noreferrer">https://github.com/paritytech/polkadot<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></li> <li><a href="https://github.com/paritytech/substrate" target="_blank" rel="noopener noreferrer">https://github.com/paritytech/substrate<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></li></ul> <p>This documentation is generated from <a href="https://github.com/polkadot-js/common" target="_blank" rel="noopener noreferrer">https://github.com/polkadot-js/common<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></p> <h2 id="contributing"><a href="#contributing" aria-hidden="true" class="header-anchor">#</a> Contributing</h2> <p>Contribution to Polkadot JS Common are more than welcome. You can <a href="https://github.com/polkadot-js/common/issues/new" target="_blank" rel="noopener noreferrer">report issues<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a> and <a href="https://github.com/polkadot-js/common/issues/new" target="_blank" rel="noopener noreferrer">log feature requests<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a>.</p></div> <footer class="page-edit"><!----> <!----></footer> <!----> </main></div><div class="global-ui"></div></div>
<script src="/common/assets/js/app.6bac3e36.js" defer></script><script src="/common/assets/js/2.91658b52.js" defer></script><script src="/common/assets/js/6.4bae575e.js" defer></script>
</body>
</html>