Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prefix BOLT11 description with recipient name #20

Closed
1 of 2 tasks
hsjoberg opened this issue Aug 7, 2019 · 1 comment
Closed
1 of 2 tasks

Prefix BOLT11 description with recipient name #20

hsjoberg opened this issue Aug 7, 2019 · 1 comment
Milestone

Comments

@hsjoberg
Copy link
Owner

hsjoberg commented Aug 7, 2019

To provide better UX, transaction log should display the user which money was sent to.
As BOLT11 doesn't provide any way to a recipient name and node alias is not reliable or node could be hidden/unknown, it could be prefixed in the description of the BOLT11 invoice.

<name>: <description>

A name followed by a colon and two spaces could be used to clearly separate the name from the actual description. It should be easy to parse.

  • Implement recipient name into description.
  • Store known "identities" in sqlite and warn if two different pubkeys use the same name

TODO what to do when user does not provide a description

@hsjoberg hsjoberg added this to the MVP milestone Aug 7, 2019
@hsjoberg hsjoberg changed the title Prefix BOLT11 description messages with recipent name Prefix BOLT11 description with recipent name Aug 7, 2019
@hsjoberg hsjoberg changed the title Prefix BOLT11 description with recipent name Prefix BOLT11 description with recipient name Aug 7, 2019
@hsjoberg
Copy link
Owner Author

Partly implemented in e0ab93f

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant