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

Deterministic payer ID based on the contact #595

Open
Zk2u opened this issue Jul 18, 2024 · 2 comments
Open

Deterministic payer ID based on the contact #595

Zk2u opened this issue Jul 18, 2024 · 2 comments

Comments

@Zk2u
Copy link

Zk2u commented Jul 18, 2024

I haven't checked features or functionality for this, but assuming based on the release notes of 2.3.4, it may be a good idea to support deterministic payer ID/key for each contact.

This way, contacts can attribute payments from the same person but payments cannot be correlated between senders. This is how, for example, MAC addresses for Apple's Private Network Addresses work, where the phone will use a persistent MAC for a given network.

I advise this is the default as it's a good balance between privacy and usability, but the other two options should still be available.

Thanks for an awesome project!

@dpad85
Copy link
Member

dpad85 commented Jul 19, 2024

That's a good idea. There are several options, like using a mix of the user's payer key + a static element of the payee's offer to build this deterministic payer key. Or an attribute from the device.

We're still iterating so I think we can try a few things and maybe make a BLIP eventually.

@t-bast
Copy link
Member

t-bast commented Jul 22, 2024

Thanks for the suggestion, I started drafting something like this in lightning/blips#42

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

3 participants