lit icon indicating copy to clipboard operation
lit copied to clipboard

Exposing inter-node messaging through API

Open jooray opened this issue 6 years ago • 1 comments

It would be very useful to expose messaging and communication interface through an API. There are many decentralised finance applications built on top of the Lightning Network that would greatly benefit if nodes could exchange other messages than direct payment messages, for example negotiating settlements and parameters of various payment products. Since for communication all that is really needed is node pubkey, communicating using a different layer seems redundant and not very effective.

I propose creating a simple sendMessage, subscribeMessages (websocket?) with encryption and signature verification. This would greatly improve usability of lightning network besides of simple payment use-case.

jooray avatar May 15 '19 09:05 jooray

I very much agree, this would be useful for opencx as well, maybe we could increase the scope of the message bus system?

Rjected avatar May 23 '19 19:05 Rjected