2

For example, see this transaction: https://blockchain.info/de/tx/517c634fcf802bb8114516bc32718acf8a4e360decb7d93859e913f958d7bb6d

In my understanding, the bunch of input addresses (usually) come from a single HD wallet. I.e. a transaction input address is hierarchically derived from the previous one and so on. Is this true for every transaction? What else could be a reason for multiple input addresses? Is there any way/method/ready-to-use-script that I can input with some address from an HD wallet and that generates a series of child addresses? Say, I know some (hierarchically older) address of the user who sent this transaction. This method would allow me to compare the thus generated child addresses against the input addresses visible in the transaction. Hence, if there is a match, I would be able to link this transaction to this particular user. Is this train of thoughts correct?

1 Answer 1

6

The bunch of input addresses (usually) come from a single HD wallet.

That's one possibility. It could also be that they come from a non-HD wallet, so that they correspond to a bunch of independently generated private keys that happen to belong to the same person. Or they could all belong to different people, who have agreed to combine their coins and send them somewhere. There's no way for us to know for sure.

a transaction input address is hierarchically derived from the previous one

That's not completely correct. A public key in an HD wallet is derived from the previous one together with the master extended public key. Unless you know the master key (which would normally be kept secret), you can't determine what the next key in the sequence would be. Hence you cannot find out what other keys / addresses belong to that user.

The complete technical details of how key derivation is done are in BIP 32.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.