Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

hd-wallet

Package Overview
Dependencies
Maintainers
5
Versions
132
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hd-wallet

Data structures and algorithms for Bitcoin HD wallet.

  • 9.1.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
25
decreased by-41.86%
Maintainers
5
Weekly downloads
 
Created
Source

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

FAQs

Package last updated on 08 Jun 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc