#convert #descriptor #output #hsm-secret #c-lightning

app hsm2descriptors

Converts c-lightning hsm_secret into an output descriptors

1 unstable release

0.1.0 Dec 8, 2020

#53 in #descriptor

MIT license

6KB

hsm2descriptors

Converts c-lightning hsm_secret into an output descriptors

Usage

Requires rust

$ cargo install hsm2descriptors
$ cat ~/.lightning/testnet/hsm_secret | hsm2descriptors --network testnet
wpkh(tpubD9ZjaMn3rbP1cAVwJy6UcEjFfTLT7W6DbfHdS3Wn48meExtVfKmiH9meWCrSmE9qXLYbGcHC5LxLcdfLZTzwme23qAJoRzRhzbd68dHeyjp/0/0/*)

Dependencies

~10MB
~141K SLoC