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

lightning tips #43

Closed
murdawkmedia opened this issue Jan 26, 2023 · 3 comments
Closed

lightning tips #43

murdawkmedia opened this issue Jan 26, 2023 · 3 comments

Comments

@murdawkmedia
Copy link

Are there plans to incorporate lightning tips? I use them often and don't see them.

Cheers!

@hopitas
Copy link

hopitas commented Jan 26, 2023

It would be awesome if they were integrated into app, so they could be used as likes/zaps. No need to open external wallet.

@kiwiidb
Copy link
Contributor

kiwiidb commented Jan 29, 2023

I agree that an integrated solution would provide top-notch UX, however the problem with current Lightning providers, both custodial and non-custodial, is that there is no common API. At Alby we've implemented the API of LND, CLN, Eclair and a whole host of custodial wallet providers. A possibility would be to integrate the LNDhub API. This would be interoperable with the following custodial wallet providers:

  • Alby
  • Bluewallet
  • Kollider (coming soon)
  • LNBits (has an extension with the LNDhub API)

In addition, you can run LNDhub yourself in front of your own node.

FYI, at Alby our accounts are powered by lndhub.go, an LNDhub server in Go with a PG backend.

A fallback mechanism for a user that does not want to do this would be to just hyperlink the lightning:lnbc.. links , which would open the user's wallet of choice on their phone, which is a bit worse UX-wise but is obviously interoperable with every Lightning wallet out there.

EDIT: I saw that LN invoices are already parsed and able to be opened by wallets. The lowest hanging fruit would thus be just support to fetch and open invoices from LN Addresses in bio's.

@vitorpamplona
Copy link
Owner

Solved: f0f9726

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

No branches or pull requests

4 participants