Bitcoin Forum
April 27, 2024, 02:06:25 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Script for checking the balance of a bunch of addresses  (Read 2467 times)
wangxinxi (OP)
Hero Member
*****
Offline Offline

Activity: 826
Merit: 1000


Founder & CEO of Coinut.com, Litecoin Core Dev


View Profile WWW
October 25, 2014, 06:44:18 PM
Last edit: October 25, 2014, 07:01:50 PM by wangxinxi
 #1

Is there any python script for checking the balance of a bunch of addresses? I need to audit my site weekly. It's quite cumbersome to use blockchain.info's API to check.
1714183585
Hero Member
*
Offline Offline

Posts: 1714183585

View Profile Personal Message (Offline)

Ignore
1714183585
Reply with quote  #2

1714183585
Report to moderator
1714183585
Hero Member
*
Offline Offline

Posts: 1714183585

View Profile Personal Message (Offline)

Ignore
1714183585
Reply with quote  #2

1714183585
Report to moderator
Once a transaction has 6 confirmations, it is extremely unlikely that an attacker without at least 50% of the network's computation power would be able to reverse it.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714183585
Hero Member
*
Offline Offline

Posts: 1714183585

View Profile Personal Message (Offline)

Ignore
1714183585
Reply with quote  #2

1714183585
Report to moderator
1714183585
Hero Member
*
Offline Offline

Posts: 1714183585

View Profile Personal Message (Offline)

Ignore
1714183585
Reply with quote  #2

1714183585
Report to moderator
1714183585
Hero Member
*
Offline Offline

Posts: 1714183585

View Profile Personal Message (Offline)

Ignore
1714183585
Reply with quote  #2

1714183585
Report to moderator
amaclin
Legendary
*
Offline Offline

Activity: 1260
Merit: 1019


View Profile
October 25, 2014, 07:52:48 PM
 #2

Is there any python script for checking the balance of a bunch of addresses? I need to audit my site weekly. It's quite cumbersome to use blockchain.info's API to check.

1) Install Bitcoin Core Client (or other) on your local computer
2) Import your private keys to it
3) Set a very-super-mega-strong password on your wallet.dat
4) Forget the password.
5) Voila! Now you can audit your site any time you want without any risk of losing funds. Just run the program.
hanisnl
Member
**
Offline Offline

Activity: 119
Merit: 100

www.thecryptobot.com


View Profile WWW
October 26, 2014, 03:24:39 AM
 #3

still looking for a python script to do the check ? Smiley msg me .

https://thecryptobot.com - Buy GunBot Licenses and Services
shorena
Copper Member
Legendary
*
Offline Offline

Activity: 1498
Merit: 1499


No I dont escrow anymore.


View Profile WWW
October 26, 2014, 07:58:36 AM
 #4

Its allready done in Electrum [1]. You can just query the addresses from console. I think I used to for addresses that are not mine in the past. If you need to have your own python script Electrum is Opensource [2]. Not sure about the licence though since you are apparently using it for commercial purposes.


[1] https://github.com/spesmilo/electrum/blob/d2709fac71b3da72632466a2ac72c3e8b77698b5/RELEASE-NOTES#L48
[2] https://github.com/spesmilo/electrum

Im not really here, its just your imagination.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!