# define what you know here: wif_string = 'uJK3HKezD4qqRKGtwc8d2d1Nw6vsoPDX9cMcUxqqMv' # the first 10 chars have been removed public_wallet = '1PfNh5fRcE9JKDmicD2Rh3pexGwce1LqyU' # edit if you know what you're doing import bit import tqdm import string import itertools char_string = string.ascii_letters + string.digits possibilities = len(char_string)**10 print('Starting bruteforce process:\n') for random_string in tqdm.tqdm(itertools.product(char_string, repeat=10), total=possibilities): try: key = bit.wif_to_key(''.join(random_string) + wif_string) print('found: ', key.to_wif()) if key.address == public_wallet: print('matches the public wallet!') else: print('strange not the same wallet?') break except ValueError: continue