justinmoon / junction

UI For Using Hardware Wallets With Bitcoin Core
MIT License
60 stars 13 forks source link

image

Usage

Prerequisites

See this tweetstorm for screenshots. They'll probably go out-of-date quickly ...

Junction project uses HWI to communicate with hardware wallets. Follow these instructions to install libusb dependency for HWI (don't do the poetry install step). If you're on Linux you may need to install udev rules.

python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
npm install

Run backend in terminal window with virtual environment active:

cd server
python server.py

Run frontend in another terminal window:

npm start

Open localhost:3000 in your browser

Features

Limitations

This is buggy, alpha, proof-of-concept software

Testing

To run tests:

Install bitcoind to test directory

$ ./test/install_bitcoind.sh

Run tests

python -m unittest test.test_wallet

Windows libusb dependencies:

(following these instructions)

copy C:\Users\justin\Downloads\MS64\dll\libusb-1.0.dll C:\Windows\System32
copy C:\Users\justin\Downloads\MS32\dll\libusb-1.0.dll C:\Windows\SysWOW64