successfully grafted a bunch of LDK code into my new lnsocket-rust library. I think this will be the first low-level lightning networking lib with async support out of the box

Reply to this note

Please Login to reply.

Discussion

first low-level *rust* lightning networking lib *

Nice one! I was thinking of doing this at some point as well, but will happily use your crate!

i only just got it to compile, but I grafted only the minimal subset of code I should need for the next steps:

https://github.com/jb55/lnsocket-rs

I’ll take a look and see if i can use it instead of lnmessage. Have you got to implementing the custom commando msgs yet?

going to do that next, since I need to for something I'm building.

Hell yeah! Looking forward to hearing what you have cooking.

isn’t lnmessage a js lib? Did you switch to rust or something ?

We use Tauri for our native app which has a Rust backend. I have already ported most of our logic to Rust, but i still need to do the CLN connection which is still running in the JS frontend. I would love to use TCP directly as well so that we don’t need the WS proxy anymore.