Bitcoin Forum
December 16, 2017, 04:02:35 PM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Script for checking the balance of a bunch of addresses  (Read 2420 times)
wangxinxi
Hero Member
*****
Offline Offline

Activity: 826


Founder & CEO of Coinut.com, Litecoin Core Dev


View Profile WWW
October 25, 2014, 06:44:18 PM
 #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.
1513440155
Hero Member
*
Offline Offline

Posts: 1513440155

View Profile Personal Message (Offline)

Ignore
1513440155
Reply with quote  #2

1513440155
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1513440155
Hero Member
*
Offline Offline

Posts: 1513440155

View Profile Personal Message (Offline)

Ignore
1513440155
Reply with quote  #2

1513440155
Report to moderator
1513440155
Hero Member
*
Offline Offline

Posts: 1513440155

View Profile Personal Message (Offline)

Ignore
1513440155
Reply with quote  #2

1513440155
Report to moderator
1513440155
Hero Member
*
Offline Offline

Posts: 1513440155

View Profile Personal Message (Offline)

Ignore
1513440155
Reply with quote  #2

1513440155
Report to moderator
amaclin
Legendary
*
Offline Offline

Activity: 1260


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
Full Member
***
Offline Offline

Activity: 120

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
Legendary
*
Offline Offline

Activity: 1400


ALL escrow is signed! https://keybase.io/verify


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

Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!