Time: 5 minutes
LND Connect (often called lndconnect) is a tool developed by the creators of Zap wallet. The tool generates a QR code or piece of text that can be used to connect a wallet to your node. In this part of the guide we will only install lndconnect. Usage will come back in wallet sections of this guide, such as the Zap section.
SSH to start in your Pi. If all goes well, you already have Go on your machine. That's good, because then we can get started right away. First go to your home directory.
Get the source code from lndconnect.
git clone https://github.com/LN-Zap/lndconnect
After downloading this, we need to go to the right directory. We also need to issue a few additional go commands because the source code has not yet been updated for recent versions of go.
cd lndconnectrm go.modgo mod init github.com/LN-Zap/lndconnectgo get firstname.lastname@example.org mod tidy
Finally, we can install.
And test if it works.
lndconnect --host IP-ADDRESS-OF-YOUR-PI -j
If all goes well, you'll get output similar to the following.
With this output, you can go to Zap wallet to connect to your node.