A minimal C library for connecting to the lightning network
git clone git://jb55.com/lnsocket
Log | Files | Refs | Submodules | README | LICENSE

commit 8a8516d8fd501c388facc6a9d4e82b086611ccab
parent e1fe02a6a3550e5a8f632700e621328859b12a00
Author: William Casarin <jb55@jb55.com>
Date:   Mon, 17 Jan 2022 21:22:01 -0800

creds and motivation

MREADME | 14++++++++++++++
1 file changed, 14 insertions(+), 0 deletions(-)

diff --git a/README b/README @@ -6,6 +6,20 @@ A simple C library for sending messages over the lightning network Work in progress! +Thanks to Rusty and the clightning project for much of this code, I have +adapted it to be more library friendly. I've removed references to tal, Rusty's +hierarchical allocator. The library only allocates once and uses that chunk of +memory for all operations. + + +Motivation +---------- + +I wanted a way to send custom messages to my lightning node, such as RPC. +Building this as a simple C library will allow you to speak the lightning +network in native applications, like on mobile. I have not tested this on iOS +yet but that is planned and is the motivating use case. + Dependencies ------------