0xMiden / 0xMiden/protocol

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

未关闭
#1,115 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Rust
星标
132
派生
167
平均合并
1 天 23 小时
30 天内合并 PR
110

描述

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.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。