BlockchainCommons / keytool-cli

Cryptocurrency key & address derivation for the command line
Other
4 stars 6 forks source link

BUG: Need correct output-descriptor when --full-address-derivation-path is set #12

Open ChristopherA opened 3 years ago

ChristopherA commented 3 years ago
/usr/local/bin/keytool --seed MYSEED --full-address-derivation-path m//48h/0h/0h/2h output-descriptor

results in

wpkh([feebfc32/84h/0h/0h]xpubWRONGXPUB)

What I want is

wpkh([feebfc32/84h/0h/0h]xpubCORRECTXPUB)
wolfmcnally commented 3 years ago

Is the problem that the xpub is not being derived correctly? Can you supply an actual test vector?