Files
common/docs/index.html
T
2019-02-26 15:09:10 +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.18194d4f.js" as="script"><link rel="preload" href="/common/assets/js/2.d4a769c9.js" as="script"><link rel="preload" href="/common/assets/js/6.f21429bb.js" as="script"><link rel="prefetch" href="/common/assets/js/10.aeb7946d.js"><link rel="prefetch" href="/common/assets/js/100.fa71143a.js"><link rel="prefetch" href="/common/assets/js/101.a30f1648.js"><link rel="prefetch" href="/common/assets/js/102.726d4588.js"><link rel="prefetch" href="/common/assets/js/103.db6e07bb.js"><link rel="prefetch" href="/common/assets/js/104.67557f12.js"><link rel="prefetch" href="/common/assets/js/105.83ff9d05.js"><link rel="prefetch" href="/common/assets/js/106.ad3268dc.js"><link rel="prefetch" href="/common/assets/js/107.476987e9.js"><link rel="prefetch" href="/common/assets/js/108.c5dc9af6.js"><link rel="prefetch" href="/common/assets/js/109.d67ef8d0.js"><link rel="prefetch" href="/common/assets/js/11.9db1ea70.js"><link rel="prefetch" href="/common/assets/js/110.440ef496.js"><link rel="prefetch" href="/common/assets/js/111.72331224.js"><link rel="prefetch" href="/common/assets/js/112.fe4db84c.js"><link rel="prefetch" href="/common/assets/js/113.80e15741.js"><link rel="prefetch" href="/common/assets/js/114.82d6355e.js"><link rel="prefetch" href="/common/assets/js/115.b85988d2.js"><link rel="prefetch" href="/common/assets/js/116.cd78d195.js"><link rel="prefetch" href="/common/assets/js/117.17ee0294.js"><link rel="prefetch" href="/common/assets/js/118.4ef3fef9.js"><link rel="prefetch" href="/common/assets/js/119.d4ee97b2.js"><link rel="prefetch" href="/common/assets/js/12.ed1926ae.js"><link rel="prefetch" href="/common/assets/js/120.a17946a3.js"><link rel="prefetch" href="/common/assets/js/121.96be6a8e.js"><link rel="prefetch" href="/common/assets/js/122.2fa0d758.js"><link rel="prefetch" href="/common/assets/js/123.88514f8a.js"><link rel="prefetch" href="/common/assets/js/124.f74cd9ad.js"><link rel="prefetch" href="/common/assets/js/125.0a97266f.js"><link rel="prefetch" href="/common/assets/js/126.d2ae721f.js"><link rel="prefetch" href="/common/assets/js/127.4ecdc6ea.js"><link rel="prefetch" href="/common/assets/js/128.72db864b.js"><link rel="prefetch" href="/common/assets/js/129.2ff9d2ef.js"><link rel="prefetch" href="/common/assets/js/13.b959cb4d.js"><link rel="prefetch" href="/common/assets/js/130.d06f0c3c.js"><link rel="prefetch" href="/common/assets/js/131.17484397.js"><link rel="prefetch" href="/common/assets/js/132.e070cb90.js"><link rel="prefetch" href="/common/assets/js/133.c0431e54.js"><link rel="prefetch" href="/common/assets/js/134.b22f5f0d.js"><link rel="prefetch" href="/common/assets/js/135.5cc41c51.js"><link rel="prefetch" href="/common/assets/js/136.147023f3.js"><link rel="prefetch" href="/common/assets/js/137.42931df5.js"><link rel="prefetch" href="/common/assets/js/138.b4bbb4db.js"><link rel="prefetch" href="/common/assets/js/139.82bc4ad3.js"><link rel="prefetch" href="/common/assets/js/14.032a2848.js"><link rel="prefetch" href="/common/assets/js/140.fce8781e.js"><link rel="prefetch" href="/common/assets/js/141.26601aba.js"><link rel="prefetch" href="/common/assets/js/142.e00f5606.js"><link rel="prefetch" href="/common/assets/js/143.4111b1f3.js"><link rel="prefetch" href="/common/assets/js/144.0776e2dd.js"><link rel="prefetch" href="/common/assets/js/145.1adb9530.js"><link rel="prefetch" href="/common/assets/js/146.412d78c3.js"><link rel="prefetch" href="/common/assets/js/147.c8a9528f.js"><link rel="prefetch" href="/common/assets/js/148.202f77ec.js"><link rel="prefetch" href="/common/assets/js/149.70229024.js"><link rel="prefetch" href="/common/assets/js/15.7c452aa6.js"><link rel="prefetch" href="/common/assets/js/150.8d98203f.js"><link rel="prefetch" href="/common/assets/js/151.af5bc0f5.js"><link rel="prefetch" href="/common/assets/js/152.42cdb5b3.js"><link rel="prefetch" href="/common/assets/js/153.5c27674b.js"><link rel="prefetch" href="/common/assets/js/154.847afe83.js"><link rel="prefetch" href="/common/assets/js/155.6068a0ba.js"><link rel="prefetch" href="/common/assets/js/156.cca2e4ce.js"><link rel="prefetch" href="/common/assets/js/157.8a106491.js"><link rel="prefetch" href="/common/assets/js/158.b46ff7ee.js"><link rel="prefetch" href="/common/assets/js/159.8fd507c3.js"><link rel="prefetch" href="/common/assets/js/16.6dcc64ce.js"><link rel="prefetch" href="/common/assets/js/160.833cdd45.js"><link rel="prefetch" href="/common/assets/js/161.3496fa41.js"><link rel="prefetch" href="/common/assets/js/162.48b0fdbe.js"><link rel="prefetch" href="/common/assets/js/163.9ef27d9f.js"><link rel="prefetch" href="/common/assets/js/164.0f2d3118.js"><link rel="prefetch" href="/common/assets/js/165.a160873b.js"><link rel="prefetch" href="/common/assets/js/166.501ce12d.js"><link rel="prefetch" href="/common/assets/js/167.99fa3025.js"><link rel="prefetch" href="/common/assets/js/168.7ccc4634.js"><link rel="prefetch" href="/common/assets/js/169.08d2427a.js"><link rel="prefetch" href="/common/assets/js/17.b17bf66a.js"><link rel="prefetch" href="/common/assets/js/170.714e81b8.js"><link rel="prefetch" href="/common/assets/js/171.e44a8ab9.js"><link rel="prefetch" href="/common/assets/js/172.d1afffc0.js"><link rel="prefetch" href="/common/assets/js/173.b48b8ada.js"><link rel="prefetch" href="/common/assets/js/174.425af5aa.js"><link rel="prefetch" href="/common/assets/js/175.a572380f.js"><link rel="prefetch" href="/common/assets/js/176.14ee536c.js"><link rel="prefetch" href="/common/assets/js/177.52052555.js"><link rel="prefetch" href="/common/assets/js/178.6fc260b1.js"><link rel="prefetch" href="/common/assets/js/179.db22179f.js"><link rel="prefetch" href="/common/assets/js/18.829e720b.js"><link rel="prefetch" href="/common/assets/js/180.4c6a886c.js"><link rel="prefetch" href="/common/assets/js/181.004b402b.js"><link rel="prefetch" href="/common/assets/js/182.f0add510.js"><link rel="prefetch" href="/common/assets/js/183.100a2714.js"><link rel="prefetch" href="/common/assets/js/184.4ad7001e.js"><link rel="prefetch" href="/common/assets/js/185.8da9afcf.js"><link rel="prefetch" href="/common/assets/js/186.8172d2cf.js"><link rel="prefetch" href="/common/assets/js/187.23acc0a4.js"><link rel="prefetch" href="/common/assets/js/188.376b50e9.js"><link rel="prefetch" href="/common/assets/js/189.6c0c60ae.js"><link rel="prefetch" href="/common/assets/js/19.97179220.js"><link rel="prefetch" href="/common/assets/js/190.e187a839.js"><link rel="prefetch" href="/common/assets/js/191.2ffa7e1c.js"><link rel="prefetch" href="/common/assets/js/192.90321ed4.js"><link rel="prefetch" href="/common/assets/js/193.1d8da650.js"><link rel="prefetch" href="/common/assets/js/194.584a43fe.js"><link rel="prefetch" href="/common/assets/js/195.43ee6df7.js"><link rel="prefetch" href="/common/assets/js/196.6ecdd8d6.js"><link rel="prefetch" href="/common/assets/js/197.2f6af89c.js"><link rel="prefetch" href="/common/assets/js/198.5ed8a911.js"><link rel="prefetch" href="/common/assets/js/199.bfe990cb.js"><link rel="prefetch" href="/common/assets/js/20.32d6eb46.js"><link rel="prefetch" href="/common/assets/js/200.9ffef669.js"><link rel="prefetch" href="/common/assets/js/201.23c1b270.js"><link rel="prefetch" href="/common/assets/js/202.4c13b5ef.js"><link rel="prefetch" href="/common/assets/js/203.f3b79198.js"><link rel="prefetch" href="/common/assets/js/204.298dd953.js"><link rel="prefetch" href="/common/assets/js/205.c653ee4f.js"><link rel="prefetch" href="/common/assets/js/206.ec011962.js"><link rel="prefetch" href="/common/assets/js/207.8af068d7.js"><link rel="prefetch" href="/common/assets/js/208.0e944115.js"><link rel="prefetch" href="/common/assets/js/209.44f2a2f6.js"><link rel="prefetch" href="/common/assets/js/21.9c3c9411.js"><link rel="prefetch" href="/common/assets/js/210.83a8f950.js"><link rel="prefetch" href="/common/assets/js/211.03137d99.js"><link rel="prefetch" href="/common/assets/js/212.371e37ad.js"><link rel="prefetch" href="/common/assets/js/213.a202cec8.js"><link rel="prefetch" href="/common/assets/js/214.faf6d400.js"><link rel="prefetch" href="/common/assets/js/215.17d0c0c2.js"><link rel="prefetch" href="/common/assets/js/216.80eaf261.js"><link rel="prefetch" href="/common/assets/js/217.e66c4815.js"><link rel="prefetch" href="/common/assets/js/218.05db5f80.js"><link rel="prefetch" href="/common/assets/js/219.c6da797f.js"><link rel="prefetch" href="/common/assets/js/22.7cd88b6d.js"><link rel="prefetch" href="/common/assets/js/220.0ae8e3e2.js"><link rel="prefetch" href="/common/assets/js/221.17fa484d.js"><link rel="prefetch" href="/common/assets/js/222.b6cd6ae0.js"><link rel="prefetch" href="/common/assets/js/223.ffbde94e.js"><link rel="prefetch" href="/common/assets/js/224.d7a30918.js"><link rel="prefetch" href="/common/assets/js/225.ada740a5.js"><link rel="prefetch" href="/common/assets/js/226.6f0c6711.js"><link rel="prefetch" href="/common/assets/js/227.e12cc1c1.js"><link rel="prefetch" href="/common/assets/js/228.1fd87b4d.js"><link rel="prefetch" href="/common/assets/js/229.f257d38e.js"><link rel="prefetch" href="/common/assets/js/23.990a55fa.js"><link rel="prefetch" href="/common/assets/js/230.ab9c37a9.js"><link rel="prefetch" href="/common/assets/js/231.c2ca79bf.js"><link rel="prefetch" href="/common/assets/js/232.4d2da9d9.js"><link rel="prefetch" href="/common/assets/js/233.22d3eafb.js"><link rel="prefetch" href="/common/assets/js/234.50d6de07.js"><link rel="prefetch" href="/common/assets/js/235.85d97ec2.js"><link rel="prefetch" href="/common/assets/js/236.0c3a5469.js"><link rel="prefetch" href="/common/assets/js/237.7a83b0a4.js"><link rel="prefetch" href="/common/assets/js/238.968eb18b.js"><link rel="prefetch" href="/common/assets/js/239.c1aaee4b.js"><link rel="prefetch" href="/common/assets/js/24.9e330bc7.js"><link rel="prefetch" href="/common/assets/js/240.a80b78b9.js"><link rel="prefetch" href="/common/assets/js/241.d58a17f4.js"><link rel="prefetch" href="/common/assets/js/242.047b0e55.js"><link rel="prefetch" href="/common/assets/js/243.4ccb9095.js"><link rel="prefetch" href="/common/assets/js/25.7ec25337.js"><link rel="prefetch" href="/common/assets/js/26.aec96c42.js"><link rel="prefetch" href="/common/assets/js/27.987b33ff.js"><link rel="prefetch" href="/common/assets/js/28.76ffd36e.js"><link rel="prefetch" href="/common/assets/js/29.d78bc74d.js"><link rel="prefetch" href="/common/assets/js/3.b6889e19.js"><link rel="prefetch" href="/common/assets/js/30.05663f82.js"><link rel="prefetch" href="/common/assets/js/31.0f6494b1.js"><link rel="prefetch" href="/common/assets/js/32.66541427.js"><link rel="prefetch" href="/common/assets/js/33.e564d626.js"><link rel="prefetch" href="/common/assets/js/34.80071ca4.js"><link rel="prefetch" href="/common/assets/js/35.5c848441.js"><link rel="prefetch" href="/common/assets/js/36.8230c729.js"><link rel="prefetch" href="/common/assets/js/37.56c046f3.js"><link rel="prefetch" href="/common/assets/js/38.ae263165.js"><link rel="prefetch" href="/common/assets/js/39.27815369.js"><link rel="prefetch" href="/common/assets/js/4.47d9cea3.js"><link rel="prefetch" href="/common/assets/js/40.225dcdb9.js"><link rel="prefetch" href="/common/assets/js/41.11847fd4.js"><link rel="prefetch" href="/common/assets/js/42.ce20ba97.js"><link rel="prefetch" href="/common/assets/js/43.ed74a24b.js"><link rel="prefetch" href="/common/assets/js/44.9c6b37d7.js"><link rel="prefetch" href="/common/assets/js/45.431a8f2e.js"><link rel="prefetch" href="/common/assets/js/46.c848cd8f.js"><link rel="prefetch" href="/common/assets/js/47.e299abb0.js"><link rel="prefetch" href="/common/assets/js/48.7b4f8f82.js"><link rel="prefetch" href="/common/assets/js/49.31a283f8.js"><link rel="prefetch" href="/common/assets/js/5.d3d64cf4.js"><link rel="prefetch" href="/common/assets/js/50.9cabdd71.js"><link rel="prefetch" href="/common/assets/js/51.ba2b125c.js"><link rel="prefetch" href="/common/assets/js/52.c56f6000.js"><link rel="prefetch" href="/common/assets/js/53.12e0e763.js"><link rel="prefetch" href="/common/assets/js/54.8fa7bf18.js"><link rel="prefetch" href="/common/assets/js/55.18950e15.js"><link rel="prefetch" href="/common/assets/js/56.0d82d79a.js"><link rel="prefetch" href="/common/assets/js/57.72a1117a.js"><link rel="prefetch" href="/common/assets/js/58.70ff145a.js"><link rel="prefetch" href="/common/assets/js/59.ab716bfd.js"><link rel="prefetch" href="/common/assets/js/60.bb203df0.js"><link rel="prefetch" href="/common/assets/js/61.2d3cad63.js"><link rel="prefetch" href="/common/assets/js/62.da1de15f.js"><link rel="prefetch" href="/common/assets/js/63.dcf1f39e.js"><link rel="prefetch" href="/common/assets/js/64.17b8c833.js"><link rel="prefetch" href="/common/assets/js/65.e64cbfd1.js"><link rel="prefetch" href="/common/assets/js/66.dea91536.js"><link rel="prefetch" href="/common/assets/js/67.3e2303e6.js"><link rel="prefetch" href="/common/assets/js/68.4b760478.js"><link rel="prefetch" href="/common/assets/js/69.aae2c258.js"><link rel="prefetch" href="/common/assets/js/7.ca73c292.js"><link rel="prefetch" href="/common/assets/js/70.ce5ac9f4.js"><link rel="prefetch" href="/common/assets/js/71.b8617a74.js"><link rel="prefetch" href="/common/assets/js/72.19e4eeec.js"><link rel="prefetch" href="/common/assets/js/73.8a6b2174.js"><link rel="prefetch" href="/common/assets/js/74.efbd4c7e.js"><link rel="prefetch" href="/common/assets/js/75.d0f212cc.js"><link rel="prefetch" href="/common/assets/js/76.7fac27d7.js"><link rel="prefetch" href="/common/assets/js/77.e6af7b98.js"><link rel="prefetch" href="/common/assets/js/78.69d0f899.js"><link rel="prefetch" href="/common/assets/js/79.beb6db07.js"><link rel="prefetch" href="/common/assets/js/8.f41603fc.js"><link rel="prefetch" href="/common/assets/js/80.1640a68b.js"><link rel="prefetch" href="/common/assets/js/81.642b5781.js"><link rel="prefetch" href="/common/assets/js/82.8ad7086a.js"><link rel="prefetch" href="/common/assets/js/83.1c830a49.js"><link rel="prefetch" href="/common/assets/js/84.c310d4db.js"><link rel="prefetch" href="/common/assets/js/85.59dea405.js"><link rel="prefetch" href="/common/assets/js/86.161c2e9e.js"><link rel="prefetch" href="/common/assets/js/87.7e785c8c.js"><link rel="prefetch" href="/common/assets/js/88.872b8712.js"><link rel="prefetch" href="/common/assets/js/89.c51ac1a9.js"><link rel="prefetch" href="/common/assets/js/9.0ed9bc1c.js"><link rel="prefetch" href="/common/assets/js/90.72b01137.js"><link rel="prefetch" href="/common/assets/js/91.ed7a7fd2.js"><link rel="prefetch" href="/common/assets/js/92.be49de48.js"><link rel="prefetch" href="/common/assets/js/93.bd253e6a.js"><link rel="prefetch" href="/common/assets/js/94.7dd60e3e.js"><link rel="prefetch" href="/common/assets/js/95.5dc9a54b.js"><link rel="prefetch" href="/common/assets/js/96.65e13a38.js"><link rel="prefetch" href="/common/assets/js/97.f46579ba.js"><link rel="prefetch" href="/common/assets/js/98.f18656f8.js"><link rel="prefetch" href="/common/assets/js/99.69c06054.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"><!----> <div class="last-updated"><span class="prefix">Last Updated: </span> <span class="time">2/26/2019, 10:14:20 AM</span></div></footer> <!----> </main></div><div class="global-ui"></div></div>
<script src="/common/assets/js/app.18194d4f.js" defer></script><script src="/common/assets/js/2.d4a769c9.js" defer></script><script src="/common/assets/js/6.f21429bb.js" defer></script>
</body>
</html>