hal
Bitcoin development tool
stevenroose/hal: the Bitcoin companion
Improvement point
pipe から値もらわない?
-stdin option があるコマンドもある
対象が増えてはいる
Support stdin input for more commands · stevenroose/hal@4eb43bb
shell 補完を効かせたい
descriptor 周りの機能ほしい
checksum とか
hal bech32 はなにをしてくれる?
PR Add Bech32 Command Tree by clarkmoody · Pull Request #9 · stevenroose/hal
Get BIP32 xpriv
hal bip39 generate
code:terminal
hal bip39 get-seed --regtest "way define celery potato addict ring liberty shrug club warrior name bird faith author valid gorilla busy vital ready tribe enforce siege margin climb" | jq ".seed.bip32_xpriv" | xargs -I@ hal bip32 inspect --regtest @
hal generate key
memonic もほしい?
bip32 derive <ext key> <derive path>
derive path
m/86'/0'/0'/
m が必要、、、
hal が依存する rust-bitcoin を v から v0.28.0 に上げる
taproot 周りの機能を入れたい
taproot address とか
toml を更新して build。落ちたところを直している
sighash が ecdsaSigHash になった
PSBT global がなくなって PSBT 自体に統合された
Making globals part of PSBT struct. Closes #652 by dr-orlovsky · Pull Request #654 · rust-bitcoin/rust-bitcoin
v27
PartiallySignedTransaction in bitcoin::util::psbt - Rust
v28
PartiallySignedTransaction in bitcoin::util::psbt - Rust
lightning-invoice が bech32 を使っていていて、multiple version error でコンパイルできないので、バージョンを上げようと思ったが依存が複雑ぎて無理だった
コード修正だけで対応できた
一気に 28 に上げるのは差分が大きくてみんなが辛いので小さく上げていく