evansmj / cln-node-visualization

Core Lightning channel visualizer. Connect to your node, and see the channel graph. Used in workshops at Unconfiscatable, Bitcoin Atlantis, bitcoin++ Buenos Aires, and more. In conjunction with LNPlay (lnplay.guide).
https://lnplay.network
MIT License
5 stars 1 forks source link

Draft: visualize a transaction #34

Open evansmj opened 6 months ago

evansmj commented 6 months ago

We want a way to visualize transactions that occur. Maybe we see them travel across the arrows. In real time would be nice. This may require websocket work? lnMessage supposedly connects via WebSockets already.

Currently, it is using ln.commando to get information.

How do we get notification that something happened in real time? some other ln method to subscribe to event changes or data changes from certain calls?

something like if listchannels changes, update my graphData behaviorSubject?

Note: this will be hard potentially.

evansmj commented 6 months ago

this depends on https://github.com/evansmj/cln-node-visualization/issues/35