Why Nostr? What is Njump?
2023-06-09 12:53:58
in reply to

Giovanni P [ARCHIVE] on Nostr: šŸ“… Original date posted:2019-01-21 šŸ“ Original message: What about this? On ...

šŸ“… Original date posted:2019-01-21
šŸ“ Original message:
What about this?
https://github.com/btcontract/lnurl-rfc/blob/master/spec.md#2-withdrawing-funds-from-a-service

On Monday, January 21, 2019, Rusty Russell <rusty at rustcorp.com.au> wrote:
> Francis Pouliot <francis at satoshiportal.com> writes:
>> Here is how I picture the ux issues taking place.
>>
>> 1. User goes on my app to buy Bitcoin with fiat, and opts to be paid
out
>> via LN rather than on-chain BTC.
>> 2. My app will tell him: "make an invoice with the following:
msatoshi,
>> description.
>> 3. He will go in his wallet and type msatoshi, description.
>> 4. It's likey he won't pay too much attention, make a typo in
>> description, leave it blank, write his own description, etc.
>> 5. When my app tries to pay, we of course have to decode his bolt11
>> first.
>> 6. We have to have some logic that will compare the "h" or "d" that we
>> instructed him to create and the "h" or "d" that we got from the
decoded
>> bolt 11 (which is an extra hassle for devs)
>> 7. In the cases there they are not the same, we need to instruct the
>> user to create a new bolt 11 invoice because the one he created was
not
>> correct.
>
> Yes, there's a missing "give me an invoice" API for this kind of push
> payment. yalls.org has the same problem: there's a clumsy API where you
> give them an invoice and it pays it if you have that much.
>
> lninv: URL? Description, min and max amounts, submission URL? Ideally
> the browser would reach out to the wallet to get an invoice and do the
> submission itself (preserving sessions, cookies, etc) but I'm not sure
> how that part of the stack works?
>
> There was talk of something similar in Adelaide, but I hadn't
> appreciated the concrete problem at the time :(
>
> Cheers,
> Rusty.
> _______________________________________________
> Lightning-dev mailing list
> Lightning-dev at lists.linuxfoundation.org
> https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20190121/3b8879a1/attachment.html>;
Author Public Key
npub128eajqln247s6ucvlgmgdu6v82zcthcl2e6d8rxw5arvxuej42qsf8za72