You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a client is paying a qr-code of an offer, give the client the possibility to include/send an offer for any amount. This allows the service to pay/refund to the client's wallet directly, without further client-service interaction. Note that it is already possible for a client (or his wallet) to send his offer to the service by using payer_note=lno1... in fetchinvoice but this would allow wallets to include it in a standard manner.
I'm aware of invoicerequest and sendinvoice but as far as I understand it, this still requires service-client interaction for a refund after the payment by the client.
EDIT:
As a demonstration, I have now implemented this in my working spark-wallet by changing:
Also as a demonstration of my modified spark-wallet, I made a video where someone pays 100 sats + 30 sats deposit (let's say for a (very cheap) stay in an apartment) and after a few days gets the deposit back.
When a client is paying a qr-code of an offer, give the client the possibility to include/send an offer for any amount. This allows the service to pay/refund to the client's wallet directly, without further client-service interaction. Note that it is already possible for a client (or his wallet) to send his offer to the service by using
payer_note=lno1...
infetchinvoice
but this would allow wallets to include it in a standard manner.I'm aware of
invoicerequest
andsendinvoice
but as far as I understand it, this still requires service-client interaction for a refund after the payment by the client.EDIT:
As a demonstration, I have now implemented this in my working spark-wallet by changing:
into
in
src/cmd.js
This allows me to play my lightning game without registration, by just paying the initial bet and receiving double the reward if guessed right :-)
The text was updated successfully, but these errors were encountered: