Title: [BitcoinTalk Node Tutorial #4] Connecting BISQ to our node Post by: apogio on December 21, 2023, 07:29:33 AM Links to other tutorials from the series:
[BitcoinTalk Node Tutorial #1] Running Bitcoin Core on Raspbian Lite (GUI-less) https://bitcointalk.org/index.php?topic=5476754.0 [BitcoinTalk Node Tutorial #2] Installing Electrs from source https://bitcointalk.org/index.php?topic=5477339.0 [BitcoinTalk Node Tutorial #3] Sparrow terminal / infinite Whirlpool mixes https://bitcointalk.org/index.php?topic=5470024.0 [BitcoinTalk Node Tutorial #5] Hosting a Monero node on the same machine https://bitcointalk.org/index.php?topic=5480371.0 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 (https://bitcointalk.org/index.php?topic=5476754.0). 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 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=<the onion address> 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: https://talkimg.com/images/2023/12/21/IHwSP.png There, simply tick the "Use Tor for Bitcoin network" and "Use custom Bitcoin nodes". Then, add the address and press Enter. https://talkimg.com/images/2023/12/21/IHaMz.png 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. https://talkimg.com/images/2023/12/21/IHXJ2.png |