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.
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.