Building c-lightning plugin with .NET

This page summarizes the projects mentioned and recommended in the original post on dev.to

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • NLoop

    Generic Lightning Loop

  • 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?).

  • lightning

    Core Lightning — Lightning Network implementation focusing on spec compliance and performance

  • 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?).

  • 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.

    WorkOS logo
  • lnd

    Lightning Network Daemon ⚡️

  • 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?).

  • HelloWorldPlugin

    Example c-lightning plugin for .NET (C#)

  • 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.

  • 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.

  • 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.

  • Demo.AspNetCore.StreamJsonRpc

    Sample project for demonstrating JSON-RPC 2.0 in ASP.NET Core

  • 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.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts