LND Connect
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.
cd ~
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.mod go mod init github.com/LN-Zap/lndconnectgo get github.com/lightningnetwork/lnd/tor@v0.14.3-betago mod tidy
Finally, we can install.
make
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.
lndconnect://192.168.1.6:10009?macaroon=[ONE_LONG_LINE_WITH_SEEMINGLY_RANDOM_LETTERS_AND_NUMBERS]
With this output, you can go to Zap wallet to connect to your node.