Intro
Installable via npm install --save libp2p-crypto-secp256k1
, it can also be used directly in the browser.
Download
The source is available for download from GitHub. Alternatively, you can install using npm:
$ npm install --save libp2p-crypto-secp256k1
You can then require()
libp2p-crypto-secp256k1 as normal:
const libp2PCryptoSecp256K1 = require('libp2p-crypto-secp256k1')
In the Browser
Libp2p-crypto-secp256k1 should work in any ES2015 environment out of the box.
Usage:
<script type="text/javascript" src="index.js"></script>
The portable versions of libp2p-crypto-secp256k1, including index.js
and index.min.js
, are included in the /dist
folder. Libp2p-crypto-secp256k1 can also be found on unpkg.com under