finally getting around to building proper rust bindings for #lnsocket https://github.com/jb55/lnsocket

this is a library I wrote awhile back for communicating directly with core-lightning nodes over lightning itself. you get the benefits of the noise protocol that lightning uses, avoiding web servers and TLS entirely.

handy for fetching invoices, checking pay statuses, etc. if you have a publicly facing CLN node (like the damus lightning node) you can communicate with it directly. no need to set up additional web servers to use RPCs on your node.

going to use this for #lmzap ( https://jb55.com/lmzap/ ) for fetching and waiting on invoice payments in realtime. lmzap is a high performance ai reverse proxy in rust. it uses the same tech that cloudflare uses for proxying so its super reliable.

another thing I plan on doing is lightning node failover for high availability. lnsocket can fallback to different core-lightning nodes in case one goes down or if liquidity is low. lnsocket would be great in this scenario: it could maintain connections to multiple nodes and use the ones that are available.

so yeah, sorry no damus april fools... but hopefully I will have a really cool demo of all of this stuff soon!

Reply to this note

Please Login to reply.

Discussion

No replies yet.