Core Lightning implementation of BOLT #11 invoices - part 1 | live #17

Published: 29 November 2023
on channel: Tony Aldon
150
2

https://lnroom.live/2023-11-23-live-0...

Abstract: In this live we see how to write JSON RPC commands in Core Lightning. Specifically, we write 3 JSON RPC commands foo, my-invoice and my-commands. The foo command takes no argument and returns {"foo": {"bar":"baz"}}. We also modify it to return the node id. Then we look at the invoice command which takes arguments and write my-invoice command that takes arguments. Finally, we write my-commands command which lists the commands registered in JSON RPC interface.

More live coding sessions and information about Core Lightning at #BuildOnL2 https://community.corelightning.org