Skip to content

How to connect ZAP (zap-android) to lnd daemon and get the lndconnect scheme right? #6490

Discussion options

You must be logged in to vote

lnd.conf has no (known) option to expose the grpc port on the tor hidden service v3.

thus proceed manually in lnd.conf by #5750

listen=localhost
tor.active=true
tor.streamisolation=true
externalip=lndroutekytme3xds6cmbxaniretdgox2hk4cpu4k27jnub3gkfeuhqd.onion:9735

and edit torrc

HiddenServiceDir /var/lib/tor/lnd
HiddenServicePort 10009 127.0.0.1:10009 # interface for wallet rpc
HiddenServicePort 9735 127.0.0.1:9735 # interface for p2p network

then sudo systemctl restart tor and restart lnd

if you encounter 'problem: Connection failed TLS ALPN negotiation failed with protocols: [h2]' it is due bad mapping 10009 to the lnd announced grpc 127.0.0.1:8080 (which seems logical but errors) ins…

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by droid192
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #6488 on May 02, 2022 07:38.