Skip to content

Support passing preimage for spontaneous payments #535

Closed

Description

@rolznz

Currently its generated at send-time https://github.com/lightningdevkit/ldk-node/blob/main/src/payment/spontaneous.rs#L82 but in some cases the app needs to be able to specify the preimage.

For example, NWC allows specifying a preimage as one of the request fields when doing a keysend payment: https://github.com/nostr-protocol/nips/blob/master/47.md#pay_keysend

Activity

  1. aagbotemi commented on May 29, 2025

    @aagbotemi
    Contributor

    Hello @tnull, I would like to work on this issue.

  2. tnull commented on May 30, 2025

    @tnull
    Collaborator

    Hello @tnull, I would like to work on this issue.

    Alright, go for it!

  3. aagbotemi commented on May 30, 2025

    @aagbotemi
    Contributor

    Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions