Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: french on September 10, 2016, 08:24:03 PM



Title: Converting Hash160 list to Address
Post by: french on September 10, 2016, 08:24:03 PM
I'm just playing around with the blockchain this weekend but I have a list of Hash160's I need to convert to actual addresses. Is there any tool or way of doing this? I found a site online that does it but after about 100 it starts to give an error.

Thanks!


Title: Re: Converting Hash160 list to Address
Post by: achow101 on September 10, 2016, 09:47:25 PM
try http://gobittest.appspot.com/Address. Just enter the hash160 in step 3.

If you want automation, try writing a script. There are many bitcoin libraries available that you can use.


Title: Re: Converting Hash160 list to Address
Post by: ghost15 on September 10, 2016, 09:56:45 PM
I'm just playing around with the blockchain this weekend but I have a list of Hash160's I need to convert to actual addresses. Is there any tool or way of doing this? I found a site online that does it but after about 100 it starts to give an error.

Thanks!
http://bitcoinvalued.com/tools.php
you can convert hash160 to btc address, Generates a Hash160 from a BitCoin's public key..


Title: Re: Converting Hash160 list to Address
Post by: xcbtrader on September 10, 2016, 10:07:10 PM
I'm just playing around with the blockchain this weekend but I have a list of Hash160's I need to convert to actual addresses. Is there any tool or way of doing this? I found a site online that does it but after about 100 it starts to give an error.

Thanks!

Simple scrypt in python

Code:
from bitcoin import *

hash160 = '010966776006953D5567439E5E39F86A0D273BEE'
addr = pubtoaddr(hash160)
print addr



Title: Re: Converting Hash160 list to Address
Post by: rico666 on September 16, 2016, 09:09:55 AM

Simple scrypt in python


That works only with Litecoin.  ;)


Rico


Title: Re: Converting Hash160 list to Address
Post by: xcbtrader on September 17, 2016, 02:04:01 PM

Simple scrypt in python


That works only with Litecoin.  ;)


Rico


No, only  bitcoin, no litecoin ...


Title: Re: Converting Hash160 list to Address
Post by: Snorek on September 18, 2016, 02:11:15 PM
Apparently you can convert  Hash160 to Address here: http://www.piridox.com/ (http://www.piridox.com/) it is a new minimalistic service I found.
But I haven't tested it and it seems it converts only one address at a time.