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

Reply to this note

Please Login to reply.

Discussion

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.