ln-ws-proxy

websockets to lightning proxy
git clone git://jb55.com/ln-ws-proxy
Log | Files | Refs | README

README.md (619B)


      1 
      2 # ln-ws-proxy
      3 
      4 A websockets to lightning proxy
      5 
      6 ## Usage
      7 
      8 `PORT=8085 ./ln-ws-proxy`
      9 
     10 requests to `ws://127.0.0.1:8085/24.84.152.187` will be proxied to `24.84.152.187:9735` over a real (non-websocket) connection
     11 
     12 ## Use cases
     13 
     14 - Using [lnsocket.js][lnsocket] in the browser in https mode without having to run a server, you can use a free or paid proxy
     15 
     16 - Hiding your lightning node when using [lnsocket.js][lnsocket] by replacing the ip with a hidden lookup string
     17 
     18 - Using [lnsocket.js][lnsocket] to connect to LND nodes which don't support direct websocket connections
     19 
     20 [lnsocket]: https://github.com/jb55/lnsocket