Ride-The-Lightning / RTL

Ride The Lightning - A full function web browser app for LND, C-Lightning and Eclair
MIT License
738 stars 157 forks source link

QR code remote connections for mobile wallet with tor hidden service #138

Open seth586 opened 5 years ago

seth586 commented 5 years ago

RTL generate QR codes to serve remote wallet clients with tor hidden service

Other examples in the wild: ABCore Bitcoin Knots

How the feature would work

  1. bitcoin-p2p://onionaddress123456.onion for trusted SPV
  2. lndconnect://<onionaddress123456.onion>:<8080>?[cert=<base64url DER certifcate>&]macaroon=<base64url macaroon> Known to work with Zeus LN Wallet
  3. lndconnect://<onionaddress123456.onion>:<10009>?[cert=<base64url DER certifcate>&]macaroon=<base64url macaroon>
ZeusLN commented 5 years ago

here's the lndconnect spec including JS code: https://github.com/LN-Zap/lndconnect/blob/master/lnd_connect_uri.md

monkey-jsun commented 3 years ago

This would be really useful. Can't wait for it.