jsbgl
Version:
JavaScript Bitgesell library
28 lines (20 loc) • 1.02 kB
Markdown
<img src="docs/img/jsbtc.png" width="100">
## JavaScript Bitcoin library
[](https://travis-ci.org/bitaps-com/jsbtc)
[](https://codecov.io/gh/bitaps-com/jsbtc)
[](https://www.npmjs.com/package/jsbtc.js/v/latest)
Crypto secp256k1 + wasm. Implemented: bip32, bip39, bip44, bip49, bip84, bip141. NIST random generation tests on the fly for entropy. Shamir's secret sharing for mnemonic.
### Build:
npm install jsbgl.js
npm run build:wasm:prebuild
npm run build:wasm
npm run build
npm run build:web
### Use in browser:
<script src="jsbtc.web.min.js"></script>
<script> ...
// inside async function
var jsbtc = await jsbtc.asyncInit();
... </script>
### Examples
https://github.com/bitaps-com/jsbtc/blob/master/test/jsbgl.test.js