Converts c-lightning hsm_secret
into an output descriptors
Note the hsm_tool
included in c-lightning similarly allows to create descriptors from hsm_secret
but only in watch-only mode.
Requires rust
$ cargo install hsm2descriptors
$ cat ~/.lightning/testnet/hsm_secret | hsm2descriptors --network testnet
wpkh(tpubD9ZjaMn3rbP1cAVwJy6UcEjFfTLT7W6DbfHdS3Wn48meExtVfKmiH9meWCrSmE9qXLYbGcHC5LxLcdfLZTzwme23qAJoRzRhzbd68dHeyjp/0/0/*)