App Development

Build a lightning application using Core Lightning APIs.

There are several ways to connect and interact with a Core Lightning node in order to build a lightning app or integrate lightning in your application.

  • Using JSON-RPC commands if you're building an application in the same system as the CLN node.
  • Using REST APIs if you're building an application in a remote client and want to connect to the CLN node over a secure network using REST interface.
  • Using gRPC APIs if you're building an application in a remote client and want to connect to the CLN node over a secure network using gRPC interface.
  • Using Commando to connect to a CLN node over the lightning network and issue commands.
  • Using WSS Proxy to connect to a CLN node over web secure socket proxy.
  • Third-party libraries that offer JSON over HTTPS or GraphQL (deprecated) frameworks to connect to a CLN node remotely.
A visual chart of all interface and transport protocols to interact with a CLN node.

A visual chart of available API interfaces and transport protocols for interacting with a CLN node