Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: COBRAS on June 03, 2020, 10:12:14 AM



Title: How to get pubkeys for many adresses ? Script or util needed.
Post by: COBRAS on June 03, 2020, 10:12:14 AM
I have a 200 BTC addresses and I need Public key for this addressees, can you help me with a link for code or utility for doing this ?

Br


Title: Re: How to get pubkeys for many adresses ? Script or util needed.
Post by: math09183 on June 03, 2020, 10:21:33 AM
Not possible (other words for 'very difficult'), but if there was a spending transaction, you may find it in blockchain. 200 is not so much, 10 minutes of manual work ;-)


Title: Re: How to get pubkeys for many adresses ? Script or util needed.
Post by: COBRAS on June 03, 2020, 10:22:58 AM
Not possible (other words for 'very difficult'), but if there was a spending transaction, you may find it in blockchain. 200 is not so much, 10 minutes of manual work ;-)

Yes I talk about adresses with spending transaction...


Title: Re: How to get pubkeys for many adresses ? Script or util needed.
Post by: math09183 on June 03, 2020, 10:25:47 AM
for example:
https://www.blockchain.com/btc/address/18uRyXRxbWAnK5YoLAmU5M4B5VFxTQzpPd

transaction:
https://www.blockchain.com/btc/tx/dce7f7e9a8fa7f49b87d75290eeda7e6d39792b017e6078e18b21106742e0860

You will find address: 03071cec10b174b1b8fa92339cd824d8130a67e76dce1eddae5c9c071ce47013a8

and you may verify here: https://cryptofrontline.com/Tools/Upload/tool/pubkey-to-address


Title: Re: How to get pubkeys for many adresses ? Script or util needed.
Post by: COBRAS on June 03, 2020, 10:28:55 AM
for example:
https://www.blockchain.com/btc/address/18uRyXRxbWAnK5YoLAmU5M4B5VFxTQzpPd

transaction:
https://www.blockchain.com/btc/tx/dce7f7e9a8fa7f49b87d75290eeda7e6d39792b017e6078e18b21106742e0860

You will find address: 03071cec10b174b1b8fa92339cd824d8130a67e76dce1eddae5c9c071ce47013a8

and you may verify here: https://cryptofrontline.com/Tools/Upload/tool/pubkey-to-address


I need tool for automate this process.



Title: Re: How to get pubkeys for many adresses ? Script or util needed.
Post by: pooya87 on June 03, 2020, 03:11:06 PM
I need tool for automate this process.

developers will never waste their time creating something that has no real world applications and that is the case with what you are asking. you either have to learn programming and write one yourself or try to convince someone that there is some usefulness to what you want so that they may make the effort...


Title: Re: How to get pubkeys for many adresses ? Script or util needed.
Post by: Pmalek on June 03, 2020, 07:37:09 PM
Snip
Or pay someone to create if for him. If something like that is not available already, it could be an easy task for an experienced programmer.
@COBRAS you might want to check the services board and search for a developer there, or open a new thread and offer a BTC reward. 


Title: Re: How to get pubkeys for many adresses ? Script or util needed.
Post by: TheArchaeologist on June 04, 2020, 12:58:49 PM
Can you give one or more of these 200 addresses? Assuming they are P2PKH addresses you should be aware of the fact the pubkey itself is not disclosed unless a transaction has been made.

Also, I'm wondering what your use case is for these 200 public keys?


Title: Re: How to get pubkeys for many adresses ? Script or util needed.
Post by: aplistir on June 04, 2020, 04:56:51 PM
I have a 200 BTC addresses and I need Public key for this addressees, can you help me with a link for code or utility for doing this ?

I assume all of those addresses belong to you :P

Also, I'm wondering what your use case is for these 200 public keys?

I bet they are 200 addresses with most bitcoins in them that have a public key visible. So the OP can try to crack them.

Good luck with that!

BTW. If you try to crack keys, and happen to succeed, it is not very nice to steal from exchanges, because you would be  stealing from a lot of people. Most of the biggest addresses are exchanges.
A little better (although still not nice) would be trying to find private keys to some of Satoshis addresses. There are about 20000 addresses with 50BTC in each and public key is visible in all of them.

But yeah. I don't believe you can find private keys to any of those addresses. So no worries. Atleast it is a good math/computer exercise if nothing else.


Title: Re: How to get pubkeys for many adresses ? Script or util needed.
Post by: pooya87 on June 05, 2020, 03:19:43 AM
So no worries. Atleast it is a good math/computer exercise if nothing else.

there are lots of more constructive ways that the time and effort could be spent that could maybe even help other people too. for example if you look at tech support forums there are always people trying to recover their lost wallets. the effort could be put into improving the open source recovery tools currently available. and they do need a lot of improvement.
i doubt people who are trying to bruteforce addresses/pubkeys are capable of doing that though. most of them look for a compiled thing to run without understanding it.


Title: Re: How to get pubkeys for many adresses ? Script or util needed.
Post by: mamuu on June 05, 2020, 11:25:21 AM
for example:
https://www.blockchain.com/btc/address/18uRyXRxbWAnK5YoLAmU5M4B5VFxTQzpPd

transaction:
https://www.blockchain.com/btc/tx/dce7f7e9a8fa7f49b87d75290eeda7e6d39792b017e6078e18b21106742e0860

You will find address: 03071cec10b174b1b8fa92339cd824d8130a67e76dce1eddae5c9c071ce47013a8

and you may verify here: https://cryptofrontline.com/Tools/Upload/tool/pubkey-to-address


https://blockchain.info/q/pubkeyaddr/18uRyXRxbWAnK5YoLAmU5M4B5VFxTQzpPd

this another way


Title: Re: How to get pubkeys for many adresses ? Script or util needed.
Post by: nc50lc on June 05, 2020, 12:38:16 PM
https://blockchain.info/q/pubkeyaddr/18uRyXRxbWAnK5YoLAmU5M4B5VFxTQzpPd
this another way
It will not work with P2SH-SegWit, Native SegWit and Multisig Addresses; that 'old trick' is only for Legacy addresses.