Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add partial CLN support with potential for other node types in the future #92

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

ericpp
Copy link
Collaborator

@ericpp ericpp commented Jul 16, 2024

Adds partial support for CLN:

CLN still doesn't store TLVs when storing invoices and payments (see ElementsProject/lightning#4470). However, they do now store a copy of the TLV into the description field of keysend invoices. They don't do the same for payments, unfortunately. This PR pulls out the boost info from the description field displays it to the user.

Full TLV support could be added through a CLN plugin like the following: https://github.com/cnixbtc/cln-podcast-payments . The interface could recommend this for users who want to see the sent boosts.

Adds generic LNClient trait and structures

Moves LND-specific code to LNDClient and adds a generic LNClient trait and structs that are implemented by LNDClient, CLNClient, and potentially others in the future.

Related: #70

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant