Add BIP-329 wallet label support
维护者通常 2 天内回复
评估
这个 Issue 还没有评估数据。
描述
Describe the enhancement
This enhancement aims to integrate BIP-329 ("Wallet Labels Export Format") support into bdk-cli. This will allow users to:
- Set and manage human-readable labels for wallet items such as transactions (TXIDs), addresses, and UTXOs (outputs).
- Import labels from other BIP-329 compliant wallets or previously exported
bdk-clilabel files. - Export labels in the standard BIP-329 JSONL format for backup or use in other compatible wallet software.
- View these labels alongside relevant items in existing
bdk-clilist commands (e.g.,transactions,unspent).
The implementation will leverage the external bip329 crate for parsing, managing, and persisting label data in a separate .jsonl file (e.g., <wallet_name>.labels.jsonl) within the wallet's data directory.
Use case
Users of bdk-cli will benefit from this feature in several ways:
- Improved Wallet Management: Instead of relying solely on cryptic identifiers (TXIDs, long addresses), users can add descriptive labels (e.g., "Payment from Steve," "Savings Address," "Coinjoin UTXO"). This significantly improves transaction history comprehension and overall wallet organization.
- Enhanced Interoperability: By adhering to the BIP-329 standard, users can easily migrate their label data to or from other Bitcoin wallets that support this BIP, reducing vendor lock-in and improving the portability of their wallet metadata.
- Better Record Keeping: Labels provide context for financial activities, which can be useful for personal accounting or tax purposes.
- Streamlined Debugging/Testing: Developers using
bdk-clito test BDK applications can label specific test transactions or UTXOs for easier identification and tracking.
Additional context
- This feature request was originally discussed in bdk_wallet issue 168.
- The current proposed approach by @notmandatory (https://github.com/bitcoindevkit/bdk_wallet/issues/168#issuecomment-2819699276) is to implement this in
bdk-cli. - The implementation will use the existing bip329 crate.
- 主要语言
- Rust
- 星标
- 143
- 派生
- 98
- 平均合并
- 5 天 21 小时
- 30 天内合并 PR
- 7
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
bitcoindevkit/bdk-cli 的其他 Issue
-
Remove "wallet" field from `WalletConfigInner`可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭enhancement
难度 2/5 1-3 小时 新手友好度 72/100
bitcoindevkit/bdk-cli#332 · 2 条评论 ·
维护者通常 2 天内回复
-
enhancement
难度 3/5 1-2 天 新手友好度 38/100
bitcoindevkit/bdk-cli#349 ·
维护者通常 2 天内回复
-
`compile` doesn't validate keys and returns unusable descriptors可能已有人在做 @Olorunshogo 于 3 天前认领。 未关闭enhancement
难度 3/5 1-2 天 新手友好度 52/100
bitcoindevkit/bdk-cli#344 · 1 条评论 ·
维护者通常 2 天内回复
-
bug
难度 4/5 3-5 天 新手友好度 50/100
bitcoindevkit/bdk-cli#340 · 1 条评论 ·
维护者通常 2 天内回复
-
Enforce Core-compatible OP_RETURN / datacarrier and standard tx-size limits in create_tx可能已有人在做 @tvpeter 于 16 天前认领。 未关闭enhancement
bitcoindevkit/bdk-cli#339 · 已指派 1 人 ·
维护者通常 2 天内回复
查看 bitcoindevkit/bdk-cli 的全部 Issue
相似的 Issue
-
Docs: refresh target-app-parity and file-format-parity against main可能已有人在做 @vangel76 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 70/100
storytold/photocraft#4417 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 75/100
bevyengine/dlss_wgpu#37 ·
-
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 63/100
bherbruck/solvecraft#369 ·
-
enhancement
难度 1/5 1 小时以内 新手友好度 83/100
alunduil/git-worktree-poi#11 ·