Is there a way to use lndconnect on nostr:npub126ntw5mnermmj0znhjhgdk8lh2af72sm8qfzq48umdlnhaj9kuns3le9ll?

#asknostr

Reply to this note

Please Login to reply.

Discussion

You need access to the tls.cert file as the admin.macaroon file, no dependencies required. Concatenate both files and convert macaroon to base64 and feed into whatever lndconnect compatible application.

Reference (w/qrencode to create QRs):

echo 'lndconnect://example.com?cert='"`grep -v 'CERTIFICATE' tls.cert | tr -d '=' | tr '/+' '_-'`"'&macaroon='"`base64 admin.macaroon | tr -d '=' | tr '/+' '_-'`" | tr -d '\n' | qrencode -o /tmp/out.png

Do you know if its possible to get those files from LND on a start9 server?

Of course, both files are on the server. Just ssh in and find where lnd is running, the files are somewhere in the data directory. Tls certification + cookie/macaroon is how remote connections are able to access LND's grpc or REST interfaces

This is bad advice. Don't try offering advice for start9 anymore until you've actually used it. You're most likely making the experience more confusing for others.

Lol just click "Properties" in LND and copy/paste the LND Connect string...

Lol so I was looking for Lightning node connect not lndconnect...anyways I figured it out with Lightning terminal

This post is wildly incorrect. Have you ever used StartOS?

I haven't. the lnd specification is straightforward; I figured StartOS used lnd

Yes, LND is something you can install on StartOS. But the whole point of StartOS is to automate the syadmin skills that prevent people from running servers and nodes. Everything you just described to him is just a button when you run LND on StartOS.