MCPcopy
hub / github.com/bcoin-org/bcoin

github.com/bcoin-org/bcoin @v2.2.0 sqlite

repository ↗ · DeepWiki ↗ · release v2.2.0 ↗
4,019 symbols 12,300 edges 230 files 2,917 documented · 73%
README

Bcoin

Build Status Coverage Status

Bcoin is an alternative implementation of the Bitcoin protocol, written in JavaScript and C/C++ for 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.

Uses

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

Try it in the browser: https://bcoin.io/browser/

Install

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

See the Getting started guide for more in-depth installation instructions, including verifying releases. If you're upgrading, see the latest changes via the Changelog.

Documentation

  • General docs: docs/
  • Wallet and node API docs: https://bcoin.io/api-docs/
  • Library API docs: https://bcoin.io/docs/

Support

Join us on freenode in the #bcoin 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.

Core symbols most depended-on inside this repo

push
called by 419
lib/script/stack.js
equal
called by 381
lib/net/netaddress.js
encode
called by 280
lib/btc/amount.js
hash
called by 249
lib/primitives/tx.js
log
called by 234
browser/wsproxy.js
from
called by 204
lib/btc/amount.js
toString
called by 199
lib/btc/uri.js
addOutput
called by 190
lib/coins/coins.js

Shape

Method 3,269
Class 446
Function 304

Languages

TypeScript100%

Modules by API surface

lib/net/packets.js206 symbols
lib/script/script.js178 symbols
lib/net/pool.js165 symbols
lib/wallet/txdb.js139 symbols
lib/workers/packets.js133 symbols
lib/wallet/wallet.js120 symbols
lib/blockchain/chain.js114 symbols
lib/wallet/walletdb.js111 symbols
lib/node/rpc.js107 symbols
lib/mempool/mempool.js106 symbols
lib/primitives/tx.js100 symbols
lib/client/wallet.js100 symbols

Dependencies from manifests, versioned

bcfggit+https://github.c · 1×
bcryptogit+https://github.c · 1×
bcurlgit+https://github.c · 1×
bdbgit+https://github.c · 1×
bdnsgit+https://github.c · 1×
beventgit+https://github.c · 1×
bfilegit+https://github.c · 1×
bfiltergit+https://github.c · 1×
bheepgit+https://github.c · 1×
binetgit+https://github.c · 1×
blgrgit+https://github.c · 1×
blrugit+https://github.c · 1×

For agents

$ claude mcp add bcoin \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact