Add Silent Payment Support
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 32/100
- Issue 类型
- 功能
- 描述清晰度
- 需要澄清
- 活跃度
- 冷清
- 技术栈
- rust
调研方向
从 Silent Payments 的 ELIP 和链接的参考实现开始,然后审查提议的 LWK 领域:feature-gated module、silent-payment key types、SwSigner derivation、TxBuilder send flow、scan-client trait 以及 shared test vectors。在实现之前,解决关于 scan-client shape、send API、hardware signing 和 labels 的未决问题;完成标准尚未定义。
由索引模型根据 Issue 内容生成。
描述
I'm working on the ELIP for Silent Payments and have a reference implementation working with LWK.
I have also started prototyping what an integration would look like for LWK to support SP directly:
- Feature-gate:
silentpaymentsfeature, default-off, gates the module (usesbech32) - New
lwk_commontypes:SilentPaymentAddress+SilentPaymentScanKeys - Key origin: add SwSigner::silent_payment_keys() deriving b_scan/b_spend from seed at an agreed BIP-352 path
- Wire send:
TxBuilder(coin selection + balancing aroundbuild_confidential_sp_txout) - Wire receive: scan-client trait
SilentPaymentTweakClientinto the blockchain clients - Test vectors: KAT vectors shared with the ELIP
A few open questions that came up during prototyping:
- Scan-client shape: extend
Esplora/Electrumwith a tweaks index vs standalone server? - Send API surface: new
TxBuildermethod vs recipient-type variant? - HW signing: software-signer-only for v0 acceptable? (Jade/Ledger don't have an API for tweaks)
- Labels scope: full label mechanism in v0, or change-label only?
Most of the changes are expressed in the reference implementation, but I would greatly appreciate guidance on of comments on the current plan an questions.
- 主要语言
- Rust
- 星标
- 114
- 派生
- 69
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
Blockstream/lwk 的其他 Issue
-
Ignore entry for RUSTSEC-2020-0168 no longer matches anything (`mach` is no longer in `Cargo.lock`)可能已有人在做 @zyl71 今天认领。 未关闭
难度 1/5 1 小时以内 新手友好度 72/100
Blockstream/lwk#213 ·
-
wollet: Waterfalls scan sets `last_unused` to a page-relative index past the first page可能已有人在做 @diorwave 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
Blockstream/lwk#209 ·
-
C# bindings: all generated types are `internal`, `LiquidWalletKit` 0.8.2 has no usable public API可能已有人在做 @lisboaigor 今天认领。 未关闭
难度 1/5 1 小时以内 新手友好度 25/100
Blockstream/lwk#210 ·
-
Applying a merged update with a txid in both `txid_height_new` and `txid_height_delete` drops its outputs from `unspent`可能已有人在做 @Jeon1691 于 4 天前认领。 未关闭
难度 3/5 1-2 天 新手友好度 78/100
Blockstream/lwk#205 ·
-
Cache `unspent` restores an input of a deleted transaction that a known replacement still spends未关闭
难度 3/5 1-2 天 新手友好度 68/100
Blockstream/lwk#204 ·
相似的 Issue
-
[Windows] Hidden title bar: a maximized window restored from minimized on a secondary monitor gets the primary monitor's work area as its client area可能已有人在做 @lijy91 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 67/100
libnativeapi/nativeapi#53 · 1 个 reaction ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
area:mcp enhancement large-monorepo v0.34.1
难度 2/5 1-3 小时 新手友好度 66/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 80/100
awxkee/yuvutils-rs#149 ·
-
难度 2/5 1-3 小时 新手友好度 88/100
维护者通常 1 天内回复