This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

hd-wallet

9.1.2 • Public • Published

High-performance Bitcoin HD Wallet

Build Status NPM

For now, mostly a PoC. Uses bitcore-node for transaction lookup and trezor-crypto for address derivation, compiled through emscripten and run in a web worker. Supports persisting discovered state and doing partial update later on. Should out-perform all wallets available today that do client-side chain discovery.

Example usage

Example is in example/index.js; it is compiled in makefile to gh-pages directory by make example.

Built version is in gh-pages branch.

You can also try it yourself here - http://trezor.github.io/hd-wallet/example.html (note that xpubs are preloaded there, but some simple GUI for inputing the XPUBs could be probably done).

Running regtest tests

Running the tests require an installed regtest-bitcore and an empty regtest blockchain, but there is a docker that runs the bitcore in background.

Before running coverage, do

  • make bitcore-test-docker

And you can normally run coverage tests.

License

LGPLv3, (C) 2016 Karel Bilek, Jan Pochyla

Coinselect MIT, (C) 2015 Daniel Cousens

Dependencies (5)

Dev Dependencies (38)

Package Sidebar

Install

npm i hd-wallet

Weekly Downloads

28

Version

9.1.2

License

LGPL-3.0+

Unpacked Size

522 kB

Total Files

80

Last publish

Collaborators

  • martin_varmuza
  • prusnak
  • tsusanka-sl
  • trezor-ci
  • szymonlesisz