Skip to content

Feature request: Allow invoice creation with description_hash instead of description.  #4705

@Kukks

Description

@Kukks

BOLT11 specifies that an invoice must be created with description OR description_hash. However, CLightning only allows description. A previous attempt was made by @fiatjaf in #3045 but was abandoned.

It seems like it should not be too hard to implement this (as fiatjaf actually has a plugin doing just this https://github.com/fiatjaf/sparko/tree/master/invoicewithdescriptionhash). Unfortunately, my C experience is laughable and would go far to get the ball rolling.

The reasoning for wanting this baked in instead of a plugin is because I would not expect or demand users on BTCPay to install a lightning plugin (requires handling some bash commands which may be too much for some) for a feature that is part of the base spec.

Use-case: LNURL-pay

Metadata

Metadata

Assignees

No one assigned

    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