Our great sponsors
-
lightning
Core Lightning — Lightning Network implementation focusing on spec compliance and performance
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
vs-streamjsonrpc
The StreamJsonRpc library offers JSON-RPC 2.0 over any .NET Stream, WebSocket, or Pipe. With bonus support for request cancellation, client proxy generation, and more.
Recently, I have been modifying my own Lapps to work as a c-lightning plugin in order to make them work with not only with LND but also with c-lightning (What are Lapps?).
Recently, I have been modifying my own Lapps to work as a c-lightning plugin in order to make them work with not only with LND but also with c-lightning (What are Lapps?).
Recently, I have been modifying my own Lapps to work as a c-lightning plugin in order to make them work with not only with LND but also with c-lightning (What are Lapps?).
I also made a sample application, so if you are more interested in the sample than the explanation, please go there. My application is in F#, but this sample is written in C#. The language is different, but the basic approach is the same in both cases.
First, create an application that acts as an ordinary JsonRPC 2.0 server. The standard way to do this is to use the StreamJsonRpc library authored by MS.
If you want to use it as a normal web server over HTTP, this sample is a good reference. However, the c-lightning plugin communicates with lightningd itself via standard input/output, so this time we will use Console.In and Console.Out for transport.
Related posts
- If I connect a personal wallet to my Bitcoin Lightning node, do I have to open a channel?
- recommendations for a docker container
- I have a dedicated LN seed phrase on a metal seed storage and would like to import it into an LN wallet + would like to have a basic backup of LN data on an encrypted cloud = Which wallet can handle this? Any advice? Note: I don’t want to run an LN node right now.
- How do you default LND to use Taproot and enable RBF (for on-chain transactions)?
- LND Channel Funds