Testing current master with lethekit
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- cpp
- 领域
- blockchain, cli
调研方向
首先使用 keytool 的 address-index、full-address-derivation-path 和 address-pkh 入口复现 test vector 2,然后跟踪这些命令如何选择派生路径和地址格式。将输出与报告中的 44h 预期和 segwit 观察结果进行比较;当行为得到澄清或修正,并由可重复的 test vector 覆盖时,即视为完成。
由索引模型根据 Issue 内容生成。
描述
Abstract
Testing 7604c8089008896bf86c7c18c800aeb86fe5f83e
Test vector 1
seed_lethekit=$(seedtool --in ur ur:crypto-seed/oyadgdvlpfssfwmkztcebbnyzowkspnljlrhdkztykahhf)
keytool \
--seed $seed_lethekit \
--address-index '*' \
output-descriptor
result OK, matches with lethekit:
wpkh([b238a845/84h/0h/0h]xpub6D1GQL3S3qryEx5gQccdVB5Fy1ePkeDGU8bMmW1GKfDQvtBsbJ6FaaudsBphw2WwtjYyJ4ARR6Mh9ZRTTKqro6eZww2m6SVxG7WuY2DALVp/0/*)

Test vector 2
# address wpkh not supported only pkh and sh?
for (( i=0; i <= 9; ++i ))
do
keytool \
--seed 1eb5338edac6fae54cbb172091ae6c1a \
--address-index $i \
address-index \
full-address-derivation-path \
address-pkh
done
Result:
0
c1859926/84h/0h/0h/0/0
17u4HStkGWxJ5PtNqzCMEKRzaPJ8h35eBc
1
c1859926/84h/0h/0h/0/1
1JyxrbHYS7ZGhq68JewhJAMWka38Bv8tFw
2
Here I noticed no support for segwit addresses? Also, the output shows segwit derivation path (84h) when address-pkh specified (44h) -> Not OK.
You can generate more test vectors for a particular seed (e.g. lethekit_seed/mnemonic: together mail awful cradle scrub apart hip leader silk slice unusual embark) in https://iancoleman.io/bip39/
- 主要语言
- C++
- 星标
- 6
- 派生
- 5
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
BlockchainCommons/keytool-cli 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 35/100
BlockchainCommons/keytool-cli#27 · 1 条评论 ·
-
难度 5/5 一周以上 新手友好度 20/100
-
难度 2/5 1-3 小时 新手友好度 45/100
BlockchainCommons/keytool-cli#23 · 1 条评论 ·
-
难度 5/5 一周以上 新手友好度 25/100
-
难度 5/5 一周以上 新手友好度 25/100
BlockchainCommons/keytool-cli#13 · 1 条评论 ·
查看 BlockchainCommons/keytool-cli 的全部 Issue
相似的 Issue
-
area:runtime good first issue
难度 2/5 1-3 小时 新手友好度 72/100
WATonomous/wato_f1tenth#39 ·
-
[APP BUG]: Sorting by name after searching can bring up irrelevant results可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 2/5 1-3 小时 新手友好度 70/100
shadps4-emu/shadps4-qtlauncher#465 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 85/100
duckdb/duckdb-excel#104 ·
-
难度 2/5 1-3 小时 新手友好度 85/100
lxqt/lxqt-powermanagement#495 ·
-
bug
难度 2/5 1-3 小时 新手友好度 78/100
Qiskit/qiskit-aer#2466 ·