Advertisement
skip420

scan-wallets.py

Nov 25th, 2017
691
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.69 KB | None | 0 0
  1. # this script goes in the same directory as login.py&process-claims.py
  2.  
  3.  
  4. import time
  5. import os
  6. import sys
  7.  
  8. # Import the wallet list
  9. Wallets = [line.rstrip('\n') for line in open(sys.argv[1])]
  10. x = 0
  11.  
  12.  
  13. # Scan through the list of wallets so that Login.py will be able to auto-register wallets
  14. while x < 1:
  15.       for y in range(len(Wallets) -1):
  16.           os.system('python login.py ' + Wallets[y] + ' ' + sys.argv[2] + ' ')
  17.  
  18.       # Wait 6 minutes
  19.       time.sleep(60 * 6)
  20.      
  21.       # Reload the Wallets file just incease we've added or modified it within the last 6 minutes
  22.       Wallets = [line.rstrip('\n') for line in open(sys.argv[1])]
  23.       print ''
  24.       print 'Recycling...'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement