How to test Bisq node locally - bisq-network/bisq-mobile GitHub Wiki

How to Locally Test Bisq Android Node build

Step 1: Clone the Bisq2 Codebase

First, make sure you have Git installed. Then, clone the repository and navigate into the project folder:

git clone https://github.com/bisq-network/bisq2.git
cd bisq2

And follow README.md to build it

Step 2: run local seed node

PORT=8000
PORT2=8001
JAVA_OPTS="-Dapplication.appName=bisq2_seed1 \
    -Dapplication.devMode=true \
    -Dapplication.network.configByTransportType.clear.defaultNodePort=$PORT \
    -Dapplication.network.supportedTransportTypes.0=CLEAR \
    -Dapplication.network.seedAddressByTransportType.clear.0=127.0.0.1:$PORT \
    -Dapplication.network.seedAddressByTransportType.clear.1=127.0.0.1:$PORT2" \
    apps/seed-node-app/build/install/seed-node-app/bin/seed-node-app

Step 3: install the aab in your local computer android emulator (or debug from codebase)

  • you can do this by using Android SDK tools on terminal

Step 4: Run the app

  • the testing build is configured to search for the seed node in 127.0.0.1:8000

Further testing

  • to properly test local trading you can run a bisq2 desktop app in devMode