Bitcoin

Private Key – How to generate BIP85 subkey using Bitcoin Explorer?

I played around with a couple of tools.

For testing purposes we used the following tree BIP39 mnemonic words: client mixed great.

Using the site I successfully created BIP32 root key Use words that match the words above bx Calculation:

$ echo client mixed great | bx mnemonic-to-seed | bx hd-new
xprv9s21ZrQH143K3UX3BhXusdpBUSLW3KVBCV6DGAuAKoXumU9chwDWjT9gcxjyFs8YdBxysyvZx2yC6snUBhb46wwXeq5xNqRjx5WkD8bbxYf

However, when I try to generate a matching BIP85 subkey (in Xprv format), there is no match.

$ echo client mixed great | bx mnemonic-to-seed | bx hd-new | bx hd-private -i 0
xprv9v6WUZT3D9NryJcPMGBxrauhE42egVktC9mwLKFuZUjinZencdiZ21d43oye8rX83cEjfAKptfaoceUYctptAhc2UUM398Akf9n6qXzd8RQ

$ echo client mixed great | bx mnemonic-to-seed | bx hd-new | bx hd-private -i 0 -d # a hardened key
xprv9v6WUZTBYouqAnZyHm1P76SvmRrmpvteFo2PhncirF6BNj2kr6qzTRJzJ41a5wwWKf35AjwtxDJEJ2U72H9g4LGj38Ytg2SzEfTQDVhEWB3

The site reports the following keys ( BIP85 indication section, app type: Xprv, index: 0):

xprv9s21ZrQH143K3ke8WGywxcKxZQuH5p3FMzZRFiGawhHo7Nt58HpBpoHv4fZM2a1n2cxgMWipEfJ6XaaGi8pW9pEmjnigzNBVJGQSNwwGuqp

What am I missing?

Related Articles

Back to top button