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

Allow sending lightning sats to nodes that accept keysend payments #159

Open
blankscreengithub opened this issue Jun 5, 2021 · 3 comments

Comments

@blankscreengithub
Copy link

I think it's a game changer for operability and greater adoption.

  1. Coffee shop has public key as QR code at checkout.
  2. I open my Phoenix Wallet
  3. I enter the amount to send
  4. I scan the QR code
  5. Barista at terminal sees my transaction come in
  6. I get my goods

No invoice needed. This would also work for small shops, craft vendors, garage sales, etc.

@t-bast
Copy link
Member

t-bast commented Jun 7, 2021

Addressing this scenario is important, but it's unclear yet how it should be addressed.
Keysend was never standardized and is being deprecated (in favor of AMP but there is no spec proposal describing it yet unless I missed it @cfromknecht ?).
Offers is another attempt at addressing this issue but it has only been implemented by c-lightning so far.

@Kixunil
Copy link

Kixunil commented Jun 11, 2021

@blankscreengithub while I agree that sending to node ID is useful, I believe your scenario is not motivating. Having such scheme would have two significant problems:

  1. If two people are attempting to pay at the same time and one of them fails, there's no way to tell which one paid.
  2. On-chain transfers in this way had many problems of people sending incorrect amount. This was a huge pain in the ass for merchants. Invoices fix this but your scenario destroys this solution.

Keysend is useful for donations and sending between trusted friends.

@fresheneesz
Copy link

fresheneesz commented Aug 9, 2021

It sounds like Offers solves this use case pretty elegantly. Is there a plan to implement it in Phoenix yet?

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