Post
Topic
Board Development & Technical Discussion
Re: Check Balance of Multiple Bitcoin Addresses ( Non py, Non Linux )
by
The Ferox
on 14/08/2014, 22:43:23 UTC
to make such a software for the community to use.
What community is this useful for? Other people I've seen asking for this are trying to crack brainwallets (ineptly).

How the #$*@ did you end up a moderator?

1: having a list of addresses and being able to check them all at once has absolutely NOTHING to do with brain wallets Without the priv key you can do nothing with an address.

2: having the ability to monitor a ton of addresses without having to have any keys neither public or private has many uses, if i had more patience with people who are quick to make statements or accusations without first pulling their head out of their @$$ and reading the full OP i might even list them for you.

3: i dont know how in your twisted little head you came to the conclusion that checking balances without keys is for brainwallet cracking. If that were the case, blockchain.info and any other similar service are out to destroy BTC because they all allow it one address at a time, worse they let us explore the blockchain. If there were any logic behind your statement we all better sell all of our BTC as fast as we can as anyone can generate an address in 2 seconds and want to check the balance of it or even a million of them.

I read this thread a day or two ago and though, well this should be easily done in ruby... and then I read it completly.

I spend a few hours and made a tiny java programm [1] that does what I think you want.

You simple have to paste all the addresses in a file named in.txt (seperated by line breaks, see the in.txt that I put there for testing), run it with
Code:
java -jar chkblnc.jar

and watch it work. When done it will make you a file named out.txt (be carefull any existing file in the same directory with that name will be overwritten).

Which looks like this:

Code:
---------- BTC address ----------| : Balance in BTC (Satoshi)
186Aow5EgRz6WNroi2Eky8c94eZvxpWAEd : 0.22698467 (22698467)
19QkbYPu81MHkSdBxKXUm39nyH14z27gf6 : 0.181 (18100000)
19wLQ9PbptbrhXywyJ1FmmwckmH8x367Ez : 9.00230376 (900230376)
1MF48CPkGmnCXp54ztp9gTRCscpHzGvEC4 : 0.0 (0)
1Q147jbV8RFrBiW9JfNgZGNUtGoYnxsGED : 0.0 (0)
1LD6GEDrStmKYUjVnDwqySDqU6BUCo7Boc : 0.0 (0)
1FFvzKr4tHBb5tm7uLKwfUdRpQt4SiyCip : 0.0 (0)
1B4WYJA97wEZcC1faQaoE8zefyDwNmYdR3 : 0.0 (0)

I used the blockchain.info API [2] to get the balance, so it will need internet access. The connection will not be encrypted.
It is quick and dirty and will not catch any exceptions, if anything goes wrong (e.g. no internet, file not found) it will just terminate.
Please do not blindly trust me and read the code! Even with limited copy pasta knowledge of java you should be able to understand what it does.


I know these are a lot but, but [3] I hope it will help you.


[1] includes source, readme and example files https://mega.co.nz/#!ckQ1gSSY!gsqAlZojlt-ACxZB7179g95zgWrhKAxwMMalPG_7Jlo
[2] https://blockchain.info/q
[3] aaand another one Wink

As for you...

I friggen love you man. ( in a non-homo kind of way)