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 C-Lightning Support #91

Open
KayBeSee opened this issue Oct 12, 2022 · 0 comments
Open

Add C-Lightning Support #91

KayBeSee opened this issue Oct 12, 2022 · 0 comments
Labels
tabconf Issues ideal for TABConf's Builder Day

Comments

@KayBeSee
Copy link
Collaborator

Context

Lily currently supports connecting to LND nodes to send and receive lightning channels as well as open and close channels to other accounts.

This logic required is outlined in the LightningBaseProvider abstract class.

Implementation

  • Add CLN.ts file to lily-wallet/packages/shared-server/src/LightningProviders
  • Create a class that extends LightningBaseProvider (export class LND extends LightningBaseProvider {...} )
  • Write logic that conforms to the inputs/outputs of the LightningBaseProvider class

It looks like there is a c-lightning-REST put out by Ride-The-Lightning that implements a REST API for CLN.

@KayBeSee KayBeSee added the tabconf Issues ideal for TABConf's Builder Day label Oct 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tabconf Issues ideal for TABConf's Builder Day
Projects
None yet
Development

No branches or pull requests

1 participant