Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/trezor/hd-wallet
:moneybag: High-performance Bitcoin HD Wallet in Javascript
https://github.com/trezor/hd-wallet
bitcoin trezor wallet
Last synced: 2 months ago
JSON representation
:moneybag: High-performance Bitcoin HD Wallet in Javascript
- Host: GitHub
- URL: https://github.com/trezor/hd-wallet
- Owner: trezor
- License: lgpl-3.0
- Archived: true
- Created: 2016-05-04T15:04:37.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2022-01-27T14:45:46.000Z (almost 3 years ago)
- Last Synced: 2024-04-10T16:07:39.619Z (10 months ago)
- Topics: bitcoin, trezor, wallet
- Language: JavaScript
- Homepage:
- Size: 6.19 MB
- Stars: 58
- Watchers: 19
- Forks: 32
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
README
# High-performance Bitcoin HD Wallet
[![Build Status](https://github.com/trezor/hd-wallet/actions/workflows/tests.yml/badge.svg)](https://github.com/trezor/hd-wallet/actions/workflows/tests.yml)
[![NPM](https://img.shields.io/npm/v/hd-wallet.svg)](https://www.npmjs.org/package/hd-wallet)For now, mostly a PoC. Uses
[bitcore-node](https://github.com/bitpay/bitcore-node)
for transaction lookup and
[trezor-crypto](https://github.com/trezor/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