# bcoin

> Bitcoin bike-shed

Latest version **1.0.2** (published 2018-07-13) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install bcoin
pnpm add bcoin
yarn add bcoin
bun add bcoin
```

Provides the commands `bcoin`, `bwallet`, `bcoin-node`, `bcoin-spvnode`.

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2018-07-13 |
| First published | 2014-05-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=8.0.0 |
| Dependencies | 26 |
| Unpacked size | 2 MB |
| Known vulnerabilities | 0 (+2 in 2 direct dependencies) |
| Install scripts | no |
| GitHub stars | 3069 |
| Author | Fedor Indutny |
| Maintainers | chjj, indutny |
| Keywords | bcoin, bitcoin, blockchain, cryptocurrency, wallet |

## Links

- npm: https://www.npmjs.com/package/bcoin
- Repository: https://github.com/bcoin-org/bcoin
- Issues: https://github.com/bcoin-org/bcoin/issues
- npm.io page: https://npm.io/package/bcoin

## Dependencies (26)

- [bdb](https://npm.io/package/bdb.md) ~0.2.1
- [n64](https://npm.io/package/n64.md) ~0.2.0
- [bcfg](https://npm.io/package/bcfg.md) ~0.1.0
- [bdns](https://npm.io/package/bdns.md) ~0.1.0
- [blgr](https://npm.io/package/blgr.md) ~0.1.0
- [blru](https://npm.io/package/blru.md) ~0.1.0
- [blst](https://npm.io/package/blst.md) ~0.1.0
- [bsip](https://npm.io/package/bsip.md) ~0.1.0
- [btcp](https://npm.io/package/btcp.md) ~0.1.0
- [bval](https://npm.io/package/bval.md) ~0.1.0
- [bweb](https://npm.io/package/bweb.md) ~0.1.1
- [mrmr](https://npm.io/package/mrmr.md) ~0.1.0
- [bfile](https://npm.io/package/bfile.md) ~0.1.0
- [bheep](https://npm.io/package/bheep.md) ~0.1.0
- [binet](https://npm.io/package/binet.md) ~0.3.0
- [bn.js](https://npm.io/package/bn.js.md) ~4.11.8
- [bsock](https://npm.io/package/bsock.md) ~0.1.0
- [bufio](https://npm.io/package/bufio.md) ~0.2.0
- [bupnp](https://npm.io/package/bupnp.md) ~0.2.1
- [bevent](https://npm.io/package/bevent.md) ~0.1.0
- [bmutex](https://npm.io/package/bmutex.md) ~0.1.0
- [bsocks](https://npm.io/package/bsocks.md) ~0.2.0
- [bclient](https://npm.io/package/bclient.md) ~0.1.1
- [bcrypto](https://npm.io/package/bcrypto.md) ~0.3.7
- [bfilter](https://npm.io/package/bfilter.md) ~0.2.0
- [bstring](https://npm.io/package/bstring.md) ~0.1.0

## Alternatives

- [@gemini-wallet/core](https://npm.io/package/@gemini-wallet/core.md) — 515.6K weekly downloads
- [utility](https://npm.io/package/utility.md) — 416.6K weekly downloads
- [@primno/dpapi](https://npm.io/package/@primno/dpapi.md) — 7.2K weekly downloads
- [pi-readseek](https://npm.io/package/pi-readseek.md) — 3.7K weekly downloads
- [@emilia-protocol/verify](https://npm.io/package/@emilia-protocol/verify.md) — 1.1K weekly downloads

## Recent versions

- 1.0.2 (latest) — 2018-07-13
- 1.0.1 — 2018-07-13
- 1.0.0 — 2018-07-12
- 1.0.0-beta.15 — 2017-09-10
- 1.0.0-beta.14 — 2017-07-23
- 1.0.0-beta.13 — 2017-07-23
- 1.0.0-beta.12 — 2017-03-26
- 1.0.0-beta.11 — 2017-03-25
- 1.0.0-beta.10 — 2017-03-16
- 1.0.0-beta.9 — 2017-03-06
- 1.0.0-beta.8 — 2017-03-01
- 1.0.0-beta.7 — 2017-03-01
- 1.0.0-beta.6 — 2017-02-28
- 1.0.0-beta.5 — 2017-02-28
- 1.0.0-beta.4 — 2017-02-27
- … 42 more at https://npm.io/package/bcoin/versions

## README

# Bcoin

[![Build Status][circleci-status-img]][circleci-status-url]
[![Coverage Status][coverage-status-img]][coverage-status-url]

__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
[purse.io][purse].

## Uses

- 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: http://bcoin.io/browser.html

## Install

```
$ git clone git://github.com/bcoin-org/bcoin.git
$ cd bcoin
$ npm install
$ ./bin/bcoin
```

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

## Documentation

- API Docs: http://bcoin.io/docs/
- REST Docs: http://bcoin.io/api-docs/index.html
- Docs: [docs/](docs/README.md)

## Support

Join us on [freenode][freenode] in the [#bcoin][irc] channel.

## Disclaimer

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>`

## License

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

See LICENSE for more info.

[purse]: https://purse.io
[guide]: https://github.com/bcoin-org/bcoin/blob/master/docs/Beginner's-Guide.md
[freenode]: https://freenode.net/
[irc]: irc://irc.freenode.net/bcoin
[changelog]: https://github.com/bcoin-org/bcoin/blob/master/CHANGELOG.md

[coverage-status-img]: https://codecov.io/gh/bcoin-org/bcoin/badge.svg?branch=master
[coverage-status-url]: https://codecov.io/gh/bcoin-org/bcoin?branch=master
[circleci-status-img]: https://circleci.com/gh/bcoin-org/bcoin/tree/master.svg?style=shield
[circleci-status-url]: https://circleci.com/gh/bcoin-org/bcoin/tree/master

---
_Source: https://npm.io/package/bcoin · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
