<<  >> (p.398)
    Author Topic: Bitcoin puzzle transaction ~32 BTC prize to who solves it  (Read 324896 times)
    madogss
    Newbie
    *
    Offline Offline

    Activity: 53
    Merit: 0


    View Profile
    March 13, 2025, 05:19:17 PM
     #7941


    you could convert binary keys to hex easily and then run keyhunt

    Hmmm, I am not sure if Keyhunt can do that. Just to be clear. I want to check .txt file of eg. 1 000 000 hypothetic 256bit private keys (not consecutive, more like random) against list of addreses. Keyhunt can't do that I think.

    Best
    Regards
    Damian

    if the list is that small then
    Code:
    import secp256k1 as ice

    keys = []
    addresses = []

    with open("keys.txt", 'r') as vf:
        for line in vf:
            for word in line.split():
                keys.append(word)

    with open("addresses.txt", 'r') as vf:
        for line in vf:
            for word in line.split():
                addresses.append(word)

    for i in range(len(addresses)):
        for k in range(len(keys)):
            if ice.privatekey_to_address(0, True, keys[k]) == addresses[i]:
                with open("Found.txt", "w") as file:
                    file.write(f"Found: {keys[k]} Address: {addresses[i]}")
                    file.close()
            print("FOUND")
            exit()
Page 397
Viewing Page: 398