Javascript bitcoin library for node.js and browsers
Latest commit 208c408 Dec 17, 2018
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci pkg/circleci: remove instanbul from dev dependencies. Nov 29, 2018
bench bcoin: use buffer-map. see #533. Aug 10, 2018
bin update link to bcoin docs Dec 11, 2018
browser browser: update script import (#622) Nov 1, 2018
docs Merge pull request #643 from pinheadmz/patch-7 Dec 5, 2018
etc net: remove bip150/bip151 support. Jul 12, 2018
lib test: get tests passing in chrome. Dec 8, 2018
migrate pkg: remove bn.js dependency. Aug 10, 2018
scripts deps: upgrade to bcrypto 2.0. upgrade other deps. Sep 29, 2018
snap v1.0.0 Jul 12, 2018
test test: get tests passing in chrome. Dec 8, 2018
.babelrc browser: fix error display. Mar 30, 2018
.editorconfig Add editorconfig rules Oct 5, 2016
.eslintfiles bcoin: switch to bsert for everything. Aug 10, 2018
.eslintrc.json bcoin: switch to bsert for everything. Aug 10, 2018
.gitignore pkg: add lockfile Nov 29, 2018
.npmignore gitignore/npmignore: ignore package-lock for now. Aug 6, 2017 changelog: add mention of bip151 & bip150. Jul 12, 2018
LICENSE docs: get jsdoc compiling again. Feb 4, 2017
Makefile build: improve no-compat webpack build. Mar 30, 2018 readme: update browser link Nov 16, 2018
jsdoc.json Move docs from wiki Jul 20, 2017
package-lock.json pkg: upgrade bmocha (again). Dec 18, 2018
package.json pkg: upgrade bmocha (again). Dec 18, 2018 remove bcrypto/compat Aug 24, 2018
webpack.browser.js remove bcrypto/compat Aug 24, 2018
webpack.compat.js remove bcrypto/compat from compat webpack Aug 28, 2018


Build Status Coverage Status

NOTE: The latest release of bcoin contains a non-backward compatible change to the rest API. Please read the changelog's "migrating" section for more details.

Bcoin is an alternative implementation of the bitcoin protocol, written in node.js.

Bcoin is well tested and aware of all known consensus rules. It is currently used in production as the consensus backend and wallet system for


  • Full Node
  • SPV Node
  • Wallet Backend (bip44 derivation)
  • Mining Backend (getblocktemplate support)
  • Layer 2 Backend (lightning)
  • General Purpose Bitcoin Library

Try it in the browser:


$ git clone git://
$ cd bcoin
$ npm install
$ ./bin/bcoin

See the Beginner's Guide for more in-depth installation instructions.



Join us on freenode in the #bcoin channel.


Bcoin does not guarantee you against theft or lost funds due to bugs, mishaps, or your own incompetence. You and you alone are responsible for securing your money.

Contribution and License Agreement

If you contribute code to this project, you are implicitly allowing your code to be distributed under the MIT license. You are also implicitly verifying that all code is your original work. </legalese>


  • Copyright (c) 2014-2015, Fedor Indutny (MIT License).
  • Copyright (c) 2014-2017, Christopher Jeffrey (MIT License).

See LICENSE for more info.