Giter Club home page Giter Club logo

dbb-app's Introduction

License Build Status

DBB-APP

A QT based application for the Digital Bitbox hardware wallet. The application support managing your dbb device (create new wallet, backup, set 2FA key, etc.). It also supports co-signing together with a Bitpay Copay Wallet.

dbb-app

The dbb-app Qt app will be built if qt5 is available on your system or if --with-gui=qt5 has been set.

dbb-cli

This package includes a cli tool "dbb-cli" which can be used to direcly talk with your Digital Bitbox.

Examples:

  • dbb-cli help
  • dbb-cli -newpassword=0000 password
  • dbb-cli -newpassword=test -password=0000 password
  • dbb-cli -password=test led
  • dbb-cli -password=test seed
  • dbb-cli -password=test -keypath=m/44/0 xpub
  • dbb-cli -password=test erase

Below are available commands with possible arguments (* indicates mandatory). Refer to the API documentation for explanations about each command.

  erase 
  password -*newpassword
  led 
  seed -source (default: create), -raw (default: false), -entropy (default: 0123456789abcde), -key (default: 1234), -filename (default: backup.dat)
  backuplist 
  backuperaseall 
  backuperasefile -*filename
  backup -key (default: 1234), -filename (default: backup.dat)
  sign -lock_pin (default: 1234), -meta (default: meta), -*hasharray, -pubkeyarray

    Example
    This signs the given hash(es) with the private key specified at the BIP32/44 keypath. The command must be sent two times in order to sign - refer to the API documentation. It also optionally checks if a pubkey matches the pubkey derived at the given keypath.
    =======
    dbb-cli --password=0000 sign -hasharray='[{"hash": "f6f4a3633eda92eef9dd96858dec2f5ea4dfebb67adac879c964194eb3b97d79", "keypath":"m/44/0"}]' -pubkeyarray='[{"pubkey":"0270526bf580ddb20ad18aad62b306d4beb3b09fae9a70b2b9a93349b653ef7fe9", "keypath":"m/44"}]' -meta=34982a264657cdf2635051bd778c99e73ce5eb2e8c7f9d32b8aaa7e547c7fd90

  xpub -*keypath
  random -mode (default: true)
  info 
  lock 
  verifypass -operation (default: create)
  aes -type (default: encrypt), -*data
  bootloaderunlock 
  bootloaderlock 
  firmware -filename
  hidden_password -*hiddenpassword 

Build Instructions

Dependencies:

dbb-cli and dbb-app depend on libbtc (https://github.com/libbtc/libbtc) for key generation, signing, hashing, crypto, etc. Libbtc is included as git subtree and will be compiled during the normal build process.

OSX:

brew install hidapi libevent qt5

Linux (Ubuntu 15.04):

sudo apt-get install build-essential libtool autotools-dev autoconf pkg-config git
sudo apt-get install libusb-1.0-0-dev libcurl4-openssl-dev libudev-dev libqrencode-dev
sudo apt-get install libqt5gui5 libqt5core5a libqt5dbus5 qttools5-dev qttools5-dev-tools libqt5websockets5-dev libavahi-compat-libdnssd-dev

Linux (Fedora 21/22):

sudo yum groupinstall "C Development Tests and Libraries"
sudo yum install git hidapi-devel
sudo yum install mesa-libGL-devel qt5-qttools-devel

*nix depends secure build (from hash-verified source)

Optionally probably want to create out-of-tree directory to save latest source & built binaries:

mkdir -p deps-cache/sources/

git clone https://github.com/digitalbitbox/dbb-app.git
cd dbb-app/depends
make -j4 BASE_CACHE=(absolute-path-here)/deps-cache/ SOURCES_PATH=(absolute-path-here)/deps-cache/sources/
cd ..
./autogen.sh
./configure --prefix=`pwd`/depends/x86_64-pc-linux-gnu --enable-debug --with-gui=qt5
make

Basic build steps:

./autogen.sh
./configure --enable-debug --with-gui=qt5 --enable-libusb
make
sudo make install

dbb-app's People

Contributors

benma avatar douglasbakkum avatar jonasschnelli avatar laanwj avatar randy-waterhouse avatar saleemrashid avatar thecharlatan 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.