Derive private keys from a HD key

1

HD (hierarchical deterministic) wallets contain master private key, from which all the private keys can be derived.

Is there a CLI tool that calculates the private keys out of a HD key?

Adam Matan

Posted 2017-11-23T07:55:38.973

Reputation: 547

Answers

2

You can use ku utility provided in pycoin library.

example:

ku -s 0/0-2 xprv9xWkBDfyBXmZsA85GyWj9uYPyoQv826YAadKWMaaEosNrFBKgj2TqWuiWY3zuqxYGpHfv9cnGj5P7e8EskpzKL1Y8Gk9aX6QbryA5raK73p

will generate keys from index 0-2 on derivation path 0/x

dark knight

Posted 2017-11-23T07:55:38.973

Reputation: 1 532