Author

Topic: [BitcoinTalk Node Tutorial #4] Connecting BISQ to our node (Read 95 times)

sr. member
Activity: 406
Merit: 896
Links to other tutorials from the series:
[BitcoinTalk Node Tutorial #1] Running Bitcoin Core on Raspbian Lite (GUI-less) https://bitcointalksearch.org/topic/bitcointalk-node-tutorial-1-running-bitcoin-core-on-raspbian-lite-gui-less-5476754
[BitcoinTalk Node Tutorial #2] Installing Electrs from source https://bitcointalksearch.org/topic/bitcointalk-node-tutorial-2-installing-electrs-from-source-5477339
[BitcoinTalk Node Tutorial #3] Sparrow terminal / infinite Whirlpool mixes https://bitcointalksearch.org/topic/bitcointalk-node-tutorial-3-sparrow-terminal-infinite-whirlpool-mixes-5470024
[BitcoinTalk Node Tutorial #5] Hosting a Monero node on the same machine https://bitcointalksearch.org/topic/bitcointalk-node-tutorial-5-hosting-a-monero-node-on-the-same-machine-5480371




Connecting BISQ to our node

This tutorial is slightly different. In this tutorial we will need another computer to install BISQ. Then we will connect BISQ to our Bitcoin Node through TOR. Doing that, BISQ will communicate with the Bitcoin network exclusively through our node.

Exposing Bitcoin Core as a TOR hidden service

We have already set up our bitcoin.conf to run behind TOR in our tutorial#1. Most of the times, the directive proxy=127.0.0.1:9050 is sufficient.

Now let's go to /etc/tor/torrc file and let's edit it. For me some of the following lines where already there but I had to uncomment them:
Code:
ControlPort 9051
CookieAuthentication 1
CookieAuthFileGroupReadable 1
DataDirectoryGroupReadable 1
HiddenServiceDir /var/lib/tor/bitcoin-service/
HiddenServicePort 8333 127.0.0.1:8333

Then, just restart the service with:
Code:
sudo systemctl restart tor

Now, it's time to read our .onion address:
Code:
cat /var/lib/tor/bitcoin-service/hostname

The address will be there for us.

Finally, we need to stop Bitcoin Core and add the ip in the configuration file.
Code:
bitcoin-cli --datadir=/media/apogio/BTC/bitcoincore stop
Code:
nano /media/apogio/BTC/bitcoincore/bitcoin.conf

Add the following directive:
Code:
externalip=

Installing BISQ

Since I am not a professional documentation writer, I certainly can't write the installation guide any better than the guys from BISQ. Therefore, depending on your OS, follow the equivalent guide from this page: https://bisq.wiki/Downloading_and_installing

Note: make sure to validate every signature and binary you download.


Connecting BISQ to our node

Luckily, this is very simple and you can just follow my screenshots.

Let's head to Settings - Network Info:



There, simply tick the "Use Tor for Bitcoin network" and "Use custom Bitcoin nodes". Then, add the address and press Enter.



If done properly, you should see that Bisq connect to Bitcoin network with 1 peer only. This peer, as you 've already guessed is your own node.



Jump to: