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

Add pay-to-falcon-key (P2FK) note types to the standardized note scripts #1115

Open
bobbinth opened this issue Jan 29, 2025 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@bobbinth
Copy link
Contributor

Currently, our standardized notes specify account ID as the note target. This works fine, but sometimes it may be desirable for the recipient not to reveal their account ID to the sender. In such cases, the recipient may provide a public key to the sender, and the sender could construct the script in such a way that only the owner of the public key could consume the note.

Since we currently support Falcon signatures, we could add two new note types to the set of standardized note scripts:

  • P2FK - pay-to-Falcon-public-key.
  • P2FKR - pay-to-Falcon-public-key with recall.

In the future, when we have efficient ECDSA signatures, we could expand this to P2EK and P2EKR notes etc.

@bobbinth bobbinth added the enhancement New feature or request label Jan 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant