<oembed><type>rich</type><version>1.0</version><title>William Casarin [ARCHIVE] wrote</title><author_name>William Casarin [ARCHIVE] (npub1d7…93exj)</author_name><author_url>https://yabu.me/npub1d7e068ud72v0au6xf53qvek44eccfhlgnhzuclf6za6hnxrvx89sc93exj</author_url><provider_name>njump</provider_name><provider_url>https://yabu.me</provider_url><html>📅 Original date posted:2022-01-18&#xA;📝 Original message:&#xA;Hey Christian,&#xA;&#xA;I noticed you are doing RPC stuff... I&#39;m looking to do RPC over&#xA;lightning itself. I started a C library called lnsocket[1], scrounged&#xA;from clightning parts, so that I can send messages from iOS to control&#xA;my lightning node.&#xA;&#xA;I&#39;ve got to the point with lnsocket where I can send TLVs to my node,&#xA;and now I&#39;m starting to think about what format the RPC commands should&#xA;be.&#xA;&#xA;I noticed the commando c-lightning plugin just uses the JSON-RPC&#xA;payload, but perhaps something more compact and rpc-friendly like grpc&#xA;would be better... which is why this cln-grpc PR peaked my curiosity.&#xA;&#xA;I think the end goal of an RPC bolt would be super powerful, so that&#xA;lnsocket could talk to any lightning node, but that could be further&#xA;down the line. Choosing the right data format seemed like an important&#xA;step in that direction. Would love to hear your thoughts on this!&#xA;&#xA;I&#39;ve cc&#39;d clightning/lightning-dev as well to see if anyone else is&#xA;working on this or thinking about this stuff right now.&#xA;&#xA;Cheers,&#xA;Will&#xA;&#xA;[1] http://git.jb55.com/lnsocket&#xA;&#xA;On Tue, Jan 18, 2022 at 06:01:46AM -0800, Christian Decker wrote:&#xA;&gt;This is the final PR in the cln-* series. It uses all the primitives we&#xA;&gt;built in the previous 3 PRs and uses them to expose the JSON-RPC over&#xA;&gt;grpc, with mTLS authentication builtin. You can view, comment on, or&#xA;&gt;merge this pull request online at:&#xA;&gt;&#xA;&gt;  https://github.com/ElementsProject/lightning/pull/5013&#xA;&gt;&#xA;&gt;-- Commit Summary --&#xA;&gt;&#xA;&gt;  * cln-grpc-plugin: Add scaffolding for the cln-grpc-plugin&#xA;&gt;  * make: Add a hook for us to depend on generated files for tests&#xA;&gt;  * make: Generate grpc bindings if we want to test with rust enabled</html></oembed>