Skip to content

[FEATURE] add the blinded paths invoices option #642

@LeoSpyke

Description

@LeoSpyke

Is your feature request related to a problem? Please describe.
During the "Receive ⚡" operation, it would be amazing to have the possibility to choose whether to create a blinded paths invoice.

Describe the solution you'd like
Add a toggle "Blinded [yes|no]" to choose if the invoice should be blind or not.
Optional, add three flags (explicitly marked as advanced) to define the CLI equivalent for --min_real_blinded_hops, --num_blinded_hops and --max_blinded_paths.

Describe alternatives you've considered
Doing it by using the CLI (option --blind), not very user friendly.

Additional context
Due to the length of the blinded invoice, the corresponding QRCode would be bigger if compared to traditional invoices. A solution could be to generate the QRCode only if it fits "decently" given the parameters above, and in case it does not, just provide the text-based invoice in a resizable textbox.
Maybe a useful hint can be shown in advance when the parameters above would create a very long invoice.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions