No description
Find a file
Daniel 765c9d7315
fix: update sat symbol (#36)
* fix: update sat symbol

* Update public/sprite.svg

Co-authored-by: d11n <mail@dennisreimann.de>

Co-authored-by: d11n <mail@dennisreimann.de>
2022-02-01 14:14:50 +01:00
.github/workflows Add build workflow (#25) 2022-01-27 15:51:00 +01:00
.husky feat: setup code formatting (#21) 2022-01-27 10:20:31 +01:00
docker/regtest Formatting improvements 2022-01-23 14:45:34 +01:00
public fix: update sat symbol (#36) 2022-02-01 14:14:50 +01:00
src fix: initialize local storage with default values (#33) 2022-02-01 12:05:16 +01:00
.gitignore Use npm instead of yarn 2021-11-29 17:24:39 +01:00
LICENSE Add MIT license and update package info 2021-12-22 16:06:25 +01:00
package-lock.json Bump nanoid from 3.1.30 to 3.2.0 (#23) 2022-01-27 10:54:20 +01:00
package.json feat: setup code formatting (#21) 2022-01-27 10:20:31 +01:00
readme-header.svg Update readme (#8) 2022-01-21 18:11:28 +01:00
README.md Update readme (#8) 2022-01-21 18:11:28 +01:00

JoinMarket Web UI

JoinMarket Web UI

Top-notch privacy for your bitcoin.
⚠️ This is still work in progress. Use with caution. ⚠️

Integrations · Features · Installation · Development


A web UI for JoinMarket with a focus on user-friendliness. The UI aims to provide sensible defaults and be easy to use for beginners while still providing the features advanced users expect.

  • 💬 Join our Telegram group.
  • 📚 Check out the Wiki for resources such as meeting notes, call recordings, ideas, and discussions.

This project builds upon work done by Shobhitaa, Abhishek, and Adam (waxwing) himself: JoinMarket-Org/jm-web-client.

📦 Integrations

We're aiming to make the JoinMarket Web UI available for different node systems. If your node of choice is missing, feel free to integrate it and let us know so we can add it here.

Features

  • Spending from the wallet without Coinjoin
  • Simple CoinJoins
  • Running the yield generator
  • TBD

👩‍🔧 Installation

These instructions assume you want to run the web UI locally and connect it to a JoinMarket instance on your RaspiBlitz. See Development for setting up a regtest development environment.

🚨 Prerequisite: JoinMarket on RaspiBlitz

To run the web UI locally you need to connect it to a running JoinMarket instance.

1. JoininBox

Install JoininBox on your RaspiBlitz:

Services > j [BTC JoinMarket+JoininBox menu]

🚨 Prerequisite: JoinMarket API Service

This app makes use of the JoinMarket RPC API. For this, you will need JoinMarket version 0.9.3 or higher. If needed you can upgrade JoinMarket to the latest commit via the JoininBox menu on your RaspiBlitz: Type jm in the command line and select UPDATE > ADVANCED > JMCOMMIT. This will install the latest development version from JoinMarket's master branch.

2. SSL Certificate

As the joinmarket user on your RaspiBlitz, generate a self-signed certificate for the JoinMarket API Service as described here, and put the certificate and the key in the ~/.joinmarket/ssl/ directory.

Hint: To login as the JoinMarket user, you can ssh into your RaspiBlitz, type jm, and exit the JoininBox menu.

Create the SSL directory:

(jmvenv) joinmarket@raspberrypi:~ $ mkdir ~/.joinmarket/ssl/

Generate the certificate and associated key:

openssl req -newkey rsa:4096 -x509 -sha256 -days 3650 -nodes -out ~/.joinmarket/ssl/cert.pem -keyout ~/.joinmarket/ssl/key.pem

Hint: You don't have to enter anything meaningful, you can just hit the return key a couple of times.

3. API Service

Start the JoinMarket API service:

(jmvenv) joinmarket@raspberrypi:~/joinmarket-clientserver/scripts $ python jmwalletd.py

You should see the following:

2021-11-18 18:16:57,639 [INFO]  Starting jmwalletd on port: 28183
2021-11-18 18:16:57,661 [INFO]  Joinmarket daemon listening on port 27183

4. SSH Tunnel

Create an SSH tunnel for the API service. On the machine where you want to run the web UI, add the following lines to your ~/.ssh/config file:

Host raspiblitz
  HostName 192.168.X.X # (IP address of your RaspiBlitz)
  User admin
  ForwardAgent yes
  LocalForward 28183 localhost:28183

💻 Download and Install the Web UI

In short:

git clone https://github.com/joinmarket-webui/joinmarket-webui.git
cd joinmarket-webui
npm install && npm start

👨‍💻 Development

This project was bootstrapped with Create React App.

Available Scripts

In the project directory, you can run:

npm start

Runs the app in the development mode. Open http://localhost:3000 to view it in the browser. The page will reload if you make edits. You will also see any lint errors in the console.

npm test

Launches the test runner in the interactive watch mode.

See the section about running tests for more information.

npm run build

Builds the app for production to the build folder. It correctly bundles React in production mode and optimizes the build for the best performance. The build is minified and the filenames include the hashes. Your app is ready to be deployed!

See the section about deployment for more information.

JoinMarket Development Environment

For a complete development environment you need a local JoinMarket instance that the web UI can interact with. We provide a regtest environment that should give you everything needed to get started developing with JoinMarket. You can find details here: docker/regtest/readme.md.