GithubHelp home page GithubHelp logo

qpc-github / hd-wallet Goto Github PK

View Code? Open in Web Editor NEW

This project forked from trezor/hd-wallet

1.0 2.0 1.0 6.34 MB

:moneybag: High-performance Bitcoin HD Wallet in Javascript

License: GNU Lesser General Public License v3.0

JavaScript 98.79% C 0.01% Nix 0.11% Makefile 0.85% HTML 0.24%

hd-wallet's Introduction

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

hd-wallet's People

Contributors

karelbilek avatar jpochyla avatar szymonlesisz avatar dependabot[bot] avatar prusnak avatar tomaszorvan avatar vladimirvolek avatar michal-novacek avatar sebastiengllmt avatar mroz22 avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.