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
I believe the commonly described use-cases today are only the "podcasting extra data" bLIP - sending extra data with a keysend payment to indicate that you're tipping while listening to a podcast with metadata about the current timestamp. If you're doing it via invoice data you should probably do it using the new payment metadata info instead, but for application-specific keysend it may make more sense.
Hey @TheBlueMatt, I am interested in working on this. Do you have an idea in mind for the data structure to use or any other ideas for guidance? Thanks!
I think the way we should go about this is to do what I mentioned at #1221 (comment) In order words, taking #1221 and rebasing it, but also taking the new payment_metadata parameter and replacing it (and the existing payment_secret parameter) with a PaymentMetadata (or another name? maybe RecipientInfo?) struct that contains both.
From there it'll be a relatively lighter lift to add custom onion TLVs - we'll need to tweak our TLV serialization logic as well, but likely with a new macro variant or new macro.
I'd suggest doing the two in separate PRs, as it provides a logical split point.
Was a bit tricky but I finally rebased 1221.
The changes are on my remote and I'll open a new PR after working on the next step to create the struct to hold the payment_metadata and existing payment_secret.
Activity
moneyball commentedon Feb 8, 2022
What are some example use cases we've heard of?
TheBlueMatt commentedon Feb 8, 2022
I believe the commonly described use-cases today are only the "podcasting extra data" bLIP - sending extra data with a keysend payment to indicate that you're tipping while listening to a podcast with metadata about the current timestamp. If you're doing it via invoice data you should probably do it using the new payment metadata info instead, but for application-specific keysend it may make more sense.
andozw commentedon Apr 9, 2022
Hey @TheBlueMatt, I am interested in working on this. Do you have an idea in mind for the data structure to use or any other ideas for guidance? Thanks!
TheBlueMatt commentedon Apr 10, 2022
I think the way we should go about this is to do what I mentioned at #1221 (comment) In order words, taking #1221 and rebasing it, but also taking the new payment_metadata parameter and replacing it (and the existing payment_secret parameter) with a PaymentMetadata (or another name? maybe RecipientInfo?) struct that contains both.
From there it'll be a relatively lighter lift to add custom onion TLVs - we'll need to tweak our TLV serialization logic as well, but likely with a new macro variant or new macro.
I'd suggest doing the two in separate PRs, as it provides a logical split point.
andozw commentedon Apr 16, 2022
Was a bit tricky but I finally rebased 1221.
The changes are on my remote and I'll open a new PR after working on the next step to create the struct to hold the payment_metadata and existing payment_secret.
Introduce RecipientInfo struct for send_payment
Introduce RecipientInfo struct for send_payment
Introduce RecipientInfo struct for send_payment
Introduce RecipientInfo struct for send_payment
Introduce RecipientInfo struct for send_payment
Introduce RecipientInfo struct for send_payment
Introduce RecipientInfo struct for send_payment
Introduce RecipientInfo struct for send_payment
Introduce RecipientInfo struct for send_payment
Introduce RecipientInfo struct for send_payment
alecchendev commentedon May 17, 2023
Currently working on this, hope to have a draft PR up within the next couple of days :)