5

I'm trying to find the set of bitcoin addresses from a public key associated with a user just to analyse this user transaction. Is there any way to derive/find all the addresses that have been generated by this public key so far?

Saulo Ricci
  • 151
  • 1
  • 3
  • 3
    Public keys generally only create one address. Are you asking about deterministic seeds for creating many addresses, or perhaps BIP32? – Nick ODell Jun 21 '15 at 14:52
  • @NickODell Actually I'm trying to find all transactions where any of the input addresses were generated by a public key. So I guess I have to find all bitcoin addresses that have been generated by this public key before. Makes sense? – Saulo Ricci Jun 21 '15 at 14:55
  • 1
    What you're saying describes extended public keys, but not normal public keys. Is that what you're asking? – Nick ODell Jun 21 '15 at 14:56
  • @NickODell let me exemplify: this link points to a user profile page on Bitrated platform: https://www.bitrated.com/collincrypto I just picked up randomly this profile page. If u scroll down the page u will notice a public key and encoded public key to SIN hashes. So what I want is to find all transactions associated with this user. I guess there is a link between this public key and his transactions. I'd like to find all the addresses where this public key were used to generate them. Is this clear? Thank you – Saulo Ricci Jun 21 '15 at 14:59
  • @Murch actually that post tries to explain how to associate two addresses with the same wallet. In my case I wanna discover the transaction itself related with that wallet(public key). But I have to find these addresses themselves in order to get the transactions. – Saulo Ricci Jun 21 '15 at 17:28
  • @Murch I think this question is different, and it might be possible to link a SIN to addresses that it used. I'm having trouble finding details of how it actually works. – Nick ODell Jun 21 '15 at 17:35
  • @NickODell take a look in this link: https://en.bitcoin.it/wiki/Technical_background_of_version_1_Bitcoin_addresses it seems they show how to convert the public key to bitcoin address. What do you think? I'll make some tests here – Saulo Ricci Jun 21 '15 at 19:43
  • @SauloRicci They show how to convert a public key to a single address. The question implies that you're asking about something else. – Nick ODell Jun 21 '15 at 19:45
  • If it is a 'regular' public key then it will have only one bitcoin address associated with it. The one you referenced above on bitrated.com looks like a compressed public key (33bytes). You would need tools to convert from compressed key into a bitcoin address (sadly my google skills failed me here). But the public keys on bitrated are not necessarily used to derive bitcoin addresses are they? They are used to verify messages from that user or similar, right? Or was bitrated thing just an example of a public key you found? – Fraggle Nov 24 '17 at 13:10
  • 2
    The public key on user profiles (SIN) is used to sign ratings, profile fields, trade contracts, etc. It is not used for the multi-signature transactions themselves (which use keys derived from a separate HD master key associated with the user). Therefore, the SIN cannot be used to locate transactions on the blockchain.

    (I'm Nadav, the founder of Bitrated.)

    – shesek Nov 25 '17 at 07:31

2 Answers2

1

Expanding shesek's comment as an answer:

The "SIN" key you're looking at, on a profile on bitrated.com, is a particular feature of that site. These keys are not directly used for Bitcoin transactions at all, so you certainly can't discover addresses from them.

As for Bitcoin public keys, one public key generates one address; you cannot use a public key to compute other addresses belonging to that user. (Though you might find other addresses that participate in transactions with the first one, and guess that they belong to the same person; but that's not proof.)

If someone is using an HD wallet, there is a concept of a master public key, from which one can determine the public keys for many different addresses that the user might be using. People usually don't share those if they value their transaction privacy.

Nate Eldredge
  • 23,040
  • 3
  • 40
  • 80
0

One Private key can generate only one public key and in a similar manner one public key can generate only one bitcoin address. So a proper question should be is there a way to find out whether two addresses or two public keys belong to the same person ? Then answer is No, you can not efficiently find out whether these two addresses belong to the same person or not. Even if that person tells you, he has to reveal corresponding private keys in order to prove this thing to you.

DOLLY PATWA
  • 585
  • 2
  • 9
  • 16