Author

Topic: Bitcoin puzzle transaction ~32 BTC prize to who solves it - page 158. (Read 215539 times)

newbie
Activity: 25
Merit: 2
Code:
import os

file1 = open("C:\Users\kimi_\OneDrive\Desktop\Puzzle\sample1.txt","r")

file2 = open("C:\Users\kimi_\OneDrive\Desktop\Puzzle\sample1.txt","r")

file3 = open('Sample3.bat', "w")

file3.write("@echo [off]" + '\n')

for line in file1:
    file3.write(line)

for line in file2:
    file3.write(line)



file3.write(""KeyHunt-Cuda -m address --coin btc --range" + " + for line in file1 + " ":" " + for line in file2 + "" 13zb1hQbWVsc2S7ZTZnP2G4undNNpdh5so'\n'")

file1.close()
file2.close()   
file3.close()

Any Python pro here can help me with this dirty simple code but I just couldn't solve it.
File1 = Start Range
File2 = End Range
File3 = Batch File

I have a long starting range in File1 and ending range in File2. I hope to use some python coding to create automatically for a batch file to search. For example, Line 1 in File 1 is A123000 and File 2 is A123FFF. So I want to create starting range of File 1 line 1 and ending range File 2 line 1, output in File3 batch file. I think it's pretty easy for pro python out there but I really not good in coding. Thanks in advance.
copper member
Activity: 198
Merit: 1

bro i said that because the newbie members always share the same idea, from years we see the same ideas and reply to it, please for newbie to read this and the other thread of the puzzle do not spam thats what i want to say

I don't understand newbie preposition here! If you are referring me as new BIE than, I am happy to be it or even born bie if you like it! But the thing is we are all here making an effort to achieve a certain collective goal i guess. Someone posted logic, when I read it, I simply posted that Script that I developed probably 8 months ago, way before joining this forum! Well that didn't make me newbie there did it? Anyway, I shared my script, its simplest possible reasoning and logic behind,, the reason I said why digaran suggested formula won't work, the reason I commented on it because i tested it and tested it really hard not just spinning around! So basically I wanted to save someone's time pursuing something like that which has already proven to be waste of time, so that one can focus on other fresh ideas instead of wasting time on old ones!!! BTW how long one remains here a newBIE?Huh

This doesn't call for a debate though...
Let us collectively achieve the goal we're all hoping to achieve in this forum.
By the way, does anyone know how to write codes for AntMiners?
I suggest the AntMiners are way faster than the GPUs in computational tasks.
We can solve 66, 67, 68 and 69 in one night if someone can write something to work on them
these machines are not profitable for now, so we need to gear them towards something that's worth it... like solving these puzzles
Let me know if anyone here knows how we can achieve that

These, like any other mining machines, cannot do such things, since the ASIC chips from the factory are capable of performing one operation. It is possible to port something only to FPGA, and even then not to all.

https://www.researchgate.net/publication/371337493_EC-Crypto_Highly_Efficient_Area-Delay_Optimized_Elliptic_Curve_Cryptography_Processor
sr. member
Activity: 345
Merit: 250

bro i said that because the newbie members always share the same idea, from years we see the same ideas and reply to it, please for newbie to read this and the other thread of the puzzle do not spam thats what i want to say

I don't understand newbie preposition here! If you are referring me as new BIE than, I am happy to be it or even born bie if you like it! But the thing is we are all here making an effort to achieve a certain collective goal i guess. Someone posted logic, when I read it, I simply posted that Script that I developed probably 8 months ago, way before joining this forum! Well that didn't make me newbie there did it? Anyway, I shared my script, its simplest possible reasoning and logic behind,, the reason I said why digaran suggested formula won't work, the reason I commented on it because i tested it and tested it really hard not just spinning around! So basically I wanted to save someone's time pursuing something like that which has already proven to be waste of time, so that one can focus on other fresh ideas instead of wasting time on old ones!!! BTW how long one remains here a newBIE?Huh

This doesn't call for a debate though...
Let us collectively achieve the goal we're all hoping to achieve in this forum.
By the way, does anyone know how to write codes for AntMiners?
I suggest the AntMiners are way faster than the GPUs in computational tasks.
We can solve 66, 67, 68 and 69 in one night if someone can write something to work on them
these machines are not profitable for now, so we need to gear them towards something that's worth it... like solving these puzzles
Let me know if anyone here knows how we can achieve that


Antminers sadly won't work for the full process. In a way they can be used to do the SHA256 hash but then your back to slow down on the ripemd. What you need is someone who is good with FPGA coding. I have a decent device but my coding on that is best to say awful.

*Edit... And time is never on my side either to spend on it. I always slap dash a code in the end because I don't have time to do it all systematically.
jr. member
Activity: 69
Merit: 2

bro i said that because the newbie members always share the same idea, from years we see the same ideas and reply to it, please for newbie to read this and the other thread of the puzzle do not spam thats what i want to say

I don't understand newbie preposition here! If you are referring me as new BIE than, I am happy to be it or even born bie if you like it! But the thing is we are all here making an effort to achieve a certain collective goal i guess. Someone posted logic, when I read it, I simply posted that Script that I developed probably 8 months ago, way before joining this forum! Well that didn't make me newbie there did it? Anyway, I shared my script, its simplest possible reasoning and logic behind,, the reason I said why digaran suggested formula won't work, the reason I commented on it because i tested it and tested it really hard not just spinning around! So basically I wanted to save someone's time pursuing something like that which has already proven to be waste of time, so that one can focus on other fresh ideas instead of wasting time on old ones!!! BTW how long one remains here a newBIE?Huh

This doesn't call for a debate though...
Let us collectively achieve the goal we're all hoping to achieve in this forum.
By the way, does anyone know how to write codes for AntMiners?
I suggest the AntMiners are way faster than the GPUs in computational tasks.
We can solve 66, 67, 68 and 69 in one night if someone can write something to work on them
these machines are not profitable for now, so we need to gear them towards something that's worth it... like solving these puzzles
Let me know if anyone here knows how we can achieve that
I believe that the architecture of AntMiners might not be quite suitable for what we can use, but I will check.
jr. member
Activity: 69
Merit: 2

bro i said that because the newbie members always share the same idea, from years we see the same ideas and reply to it, please for newbie to read this and the other thread of the puzzle do not spam thats what i want to say

I don't understand newbie preposition here! If you are referring me as new BIE than, I am happy to be it or even born bie if you like it! But the thing is we are all here making an effort to achieve a certain collective goal i guess. Someone posted logic, when I read it, I simply posted that Script that I developed probably 8 months ago, way before joining this forum! Well that didn't make me newbie there did it? Anyway, I shared my script, its simplest possible reasoning and logic behind,, the reason I said why digaran suggested formula won't work, the reason I commented on it because i tested it and tested it really hard not just spinning around! So basically I wanted to save someone's time pursuing something like that which has already proven to be waste of time, so that one can focus on other fresh ideas instead of wasting time on old ones!!! BTW how long one remains here a newBIE?Huh
I understand the unpluggedcoin, I've also been silently following along here for at least 2-3 years, while searching for #64.
jr. member
Activity: 75
Merit: 5

bro i said that because the newbie members always share the same idea, from years we see the same ideas and reply to it, please for newbie to read this and the other thread of the puzzle do not spam thats what i want to say

I don't understand newbie preposition here! If you are referring me as new BIE than, I am happy to be it or even born bie if you like it! But the thing is we are all here making an effort to achieve a certain collective goal i guess. Someone posted logic, when I read it, I simply posted that Script that I developed probably 8 months ago, way before joining this forum! Well that didn't make me newbie there did it? Anyway, I shared my script, its simplest possible reasoning and logic behind,, the reason I said why digaran suggested formula won't work, the reason I commented on it because i tested it and tested it really hard not just spinning around! So basically I wanted to save someone's time pursuing something like that which has already proven to be waste of time, so that one can focus on other fresh ideas instead of wasting time on old ones!!! BTW how long one remains here a newBIE?Huh

This doesn't call for a debate though...
Let us collectively achieve the goal we're all hoping to achieve in this forum.
By the way, does anyone know how to write codes for AntMiners?
I suggest the AntMiners are way faster than the GPUs in computational tasks.
We can solve 66, 67, 68 and 69 in one night if someone can write something to work on them
these machines are not profitable for now, so we need to gear them towards something that's worth it... like solving these puzzles
Let me know if anyone here knows how we can achieve that
newbie
Activity: 18
Merit: 0

bro i said that because the newbie members always share the same idea, from years we see the same ideas and reply to it, please for newbie to read this and the other thread of the puzzle do not spam thats what i want to say

I don't understand newbie preposition here! If you are referring me as new BIE than, I am happy to be it or even born bie if you like it! But the thing is we are all here making an effort to achieve a certain collective goal i guess. Someone posted logic, when I read it, I simply posted that Script that I developed probably 8 months ago, way before joining this forum! Well that didn't make me newbie there did it? Anyway, I shared my script, its simplest possible reasoning and logic behind,, the reason I said why digaran suggested formula won't work, the reason I commented on it because i tested it and tested it really hard not just spinning around! So basically I wanted to save someone's time pursuing something like that which has already proven to be waste of time, so that one can focus on other fresh ideas instead of wasting time on old ones!!! BTW how long one remains here a newBIE?Huh
jr. member
Activity: 50
Merit: 1

just put in your mind something, there is a lot of professional users here, we did think of all possibilities, dont you think that we already think of your idea ? of course we did think of  a lot
The quote above is a golden statement, I like the way you emphasize on "we".😅

You never know if an idea is possible to execute or not until either you or someone else puts it to test. Sorry if I offended your professional spirit.

The sprit of idea is how powerful it is in the bearer's minds, someone else might hear it and see it as something impossible or otherwise stupid but only until it comes to past will they now believe that there is possibility in everything. Don't be surprised that the ideas sometimes thought to be possible are actually the ones that are impossible... for example: thinking Quantum computers would be able to break the ECC SECP256K1 curve someday... these ideas are the ones that should be erase from the minds or ignorant people. but unfortunately if you stack millions of GPUs in a single machine you'd gain momentum... the point is, millions of GPUs stacked together in a single machine doesn't mean that that's a quantum computer. It means you have enough resources. So likewise, good ideas are sometimes what the fools would never see any meaningful reasoning to, whereas they'd rather buy the false imaginations.

Don't stop sharing ideas brother, because sometimes, you only have the half of the full idea, someone else might have the remaining half and make it a full idea and not a "fool's idea" as Kalos had made it feel earlier.



bro i said that because the newbie members always share the same idea, from years we see the same ideas and reply to it, please for newbie to read this and the other thread of the puzzle do not spam thats what i want to say
jr. member
Activity: 75
Merit: 5

just put in your mind something, there is a lot of professional users here, we did think of all possibilities, dont you think that we already think of your idea ? of course we did think of  a lot
The quote above is a golden statement, I like the way you emphasize on "we".😅

You never know if an idea is possible to execute or not until either you or someone else puts it to test. Sorry if I offended your professional spirit.

The sprit of idea is how powerful it is in the bearer's minds, someone else might hear it and see it as something impossible or otherwise stupid but only until it comes to past will they now believe that there is possibility in everything. Don't be surprised that the ideas sometimes thought to be possible are actually the ones that are impossible... for example: thinking Quantum computers would be able to break the ECC SECP256K1 curve someday... these ideas are the ones that should be erase from the minds or ignorant people. but unfortunately if you stack millions of GPUs in a single machine you'd gain momentum... the point is, millions of GPUs stacked together in a single machine doesn't mean that that's a quantum computer. It means you have enough resources. So likewise, good ideas are sometimes what the fools would never see any meaningful reasoning to, whereas they'd rather buy the false imaginations.

Don't stop sharing ideas brother, because sometimes, you only have the half of the full idea, someone else might have the remaining half and make it a full idea and not a "fool's idea" as Kalos had made it feel earlier.
copper member
Activity: 1330
Merit: 899
🖤😏

just put in your mind something, there is a lot of professional users here, we did think of all possibilities, dont you think that we already think of your idea ? of course we did think of  a lot
The quote above is a golden statement, I like the way you emphasize on "we".😅

You never know if an idea is possible to execute or not until either you or someone else puts it to test. Sorry if I offended your professional spirit.
newbie
Activity: 17
Merit: 0
Where can I find CPUs for rent? Not GPUs, only CPUs?

Lamdalabs dot com
jr. member
Activity: 69
Merit: 2
Where can I find CPUs for rent? Not GPUs, only CPUs?
newbie
Activity: 17
Merit: 0
I have a script that’s searching for the private key of puzzles 66,67, and 68. Just by just by searching through the hex range 20000000000000000 - 2ffffffffffffffff
Same can be done with the rest of the addresses. I only have to search through 1 range, but I can search for 4 addresses all at once.
So puzzle 68 may be cracked before 66 🤷‍♂️
If anyone is interested let me know. I will definitely need more computer power. But it’s worth it.. I’ve already tested it with previous addresses. Works like a charm. https://ibb.co/jzZTHhV

One of the best ways to do it 👌🏻
jr. member
Activity: 50
Merit: 1


Here is another idea, lets see if it can be done or has any merits to it.

If we know the exact start and end range of a public key, we could divide the end range by a number to reduce it down as much as possible, maybe making it a 6 digits number, now we only have to change our 6 digit number and multiply it by the number which we first divided our end range with, we need to change the numbers in a way that it never goes beyond our end range when multiplied.

Now, before doing that, we need to add and subtract 1 G to our target and divide the results by 2, e.g. if our target is 256, we add 1, 2, 3, 4 etc and divide them all by 2 also we will add n/2 to all the results just to be safe and keep all of the keys to compare with our multiplication result.  Eventually if we change our nonce, ( 6 digit number ) enough times and multiply it with powers of 2, 3 etc somewhere we should see a known key.

A simple example :

Start range 1, end range 512, our target is 95, now we divide 512 by 32 to get 16.

But first lets generate some offsets for our target.

Add 1 to 95 = 96/2 = 48
Add 3 to 95 = 98/2 = 49
Add 5 to 95 = 100/2 = 50
Sub 1 from 95 = 94/2 = 47
Sub 15 from 95 = 80/2 = 40

Now we have 48, 49, 50, 47 and 40, then we multiply 16 by 2, 3, 4, 5, 6, 7, etc until we see one of the keys above.

Imagine if we generate different offsets, like billions of them, then we could simply keep multiplying to find one of our targets.


This just came to my mind today, it's not cooked well , yet!😉


I already tried and test it and much more that I don't remember but when someone refer it I already know how it will slap our ass  Grin!
The reason this and every similar approach won't work is strictly due to the modular behaviour of calculations!
Which is why BSGS Kangaroo has thus far been the best approach which is increasing the chances of luck and meet at middle! However, any other way around addition and subtraction would not work trust me, BECAUSE there is no full stop, when your calculations go pass around the curve and completes a circle, it actually passes your assumed mark,, funny thing is IT WON'T RING A BELL OR SHOW ANY ALERT!!!!!!!! It would still be showing you the point and you'll be happy assuming it as per your assumption but it would change itself from being ODD to EVEN, thats where everyone go nuts when things don't work as per assumptions, elliptically speaking LOL!!
[/quote]


hi brother, if you are a newbie here,, and you just have that idea today come to your mind, just put in your mind something, there is a lot of professional users here, we did think of all possibilities, dont you think that we already think of your idea ? of course we did think of  a lot , do you have the right materiel hardware to do that Huh if you do than ok we are with you lmao, its impossible to do it bro,
if you exctrat billions, still terramillions remains ...
newbie
Activity: 18
Merit: 0


Here is another idea, lets see if it can be done or has any merits to it.

If we know the exact start and end range of a public key, we could divide the end range by a number to reduce it down as much as possible, maybe making it a 6 digits number, now we only have to change our 6 digit number and multiply it by the number which we first divided our end range with, we need to change the numbers in a way that it never goes beyond our end range when multiplied.

Now, before doing that, we need to add and subtract 1 G to our target and divide the results by 2, e.g. if our target is 256, we add 1, 2, 3, 4 etc and divide them all by 2 also we will add n/2 to all the results just to be safe and keep all of the keys to compare with our multiplication result.  Eventually if we change our nonce, ( 6 digit number ) enough times and multiply it with powers of 2, 3 etc somewhere we should see a known key.

A simple example :

Start range 1, end range 512, our target is 95, now we divide 512 by 32 to get 16.

But first lets generate some offsets for our target.

Add 1 to 95 = 96/2 = 48
Add 3 to 95 = 98/2 = 49
Add 5 to 95 = 100/2 = 50
Sub 1 from 95 = 94/2 = 47
Sub 15 from 95 = 80/2 = 40

Now we have 48, 49, 50, 47 and 40, then we multiply 16 by 2, 3, 4, 5, 6, 7, etc until we see one of the keys above.

Imagine if we generate different offsets, like billions of them, then we could simply keep multiplying to find one of our targets.


This just came to my mind today, it's not cooked well , yet!😉

[/quote]

I already tried and test it and much more that I don't remember but when someone refer it I already know how it will slap our ass  Grin!
The reason this and every similar approach won't work is strictly due to the modular behaviour of calculations!
Which is why BSGS Kangaroo has thus far been the best approach which is increasing the chances of luck and meet at middle! However, any other way around addition and subtraction would not work trust me, BECAUSE there is no full stop, when your calculations go pass around the curve and completes a circle, it actually passes your assumed mark,, funny thing is IT WON'T RING A BELL OR SHOW ANY ALERT!!!!!!!! It would still be showing you the point and you'll be happy assuming it as per your assumption but it would change itself from being ODD to EVEN, thats where everyone go nuts when things don't work as per assumptions, elliptically speaking LOL!!
newbie
Activity: 18
Merit: 0


Really nice one, too bad I don't know how to run scripts, I'm just a windows person used to double click on exe files. 😅


Just copy the code and paste in notepad and save it as myscript.py (it would run on python), save in your folder, open folder, type CMD in address bar above and press ENTER, command prompt terminal will open, type there
>python myscript.py
and hit enter the script will run, you'll see step or jumps prints, chill!
copper member
Activity: 1330
Merit: 899
🖤😏
member
Activity: 239
Merit: 53
New ideas will be criticized and then admired.
newbie
Activity: 17
Merit: 0
I have a script that’s searching for the private key of puzzles 66,67, and 68. Just by just by searching through the hex range 20000000000000000 - 2ffffffffffffffff
Same can be done with the rest of the addresses. I only have to search through 1 range, but I can search for 4 addresses all at once.
So puzzle 68 may be cracked before 66 🤷‍♂️
If anyone is interested let me know. I will definitely need more computer power. But it’s worth it.. I’ve already tested it with previous addresses. Works like a charm. https://ibb.co/jzZTHhV
newbie
Activity: 18
Merit: 0

what are the parameters to put in place and what codes or tools would be required to achieve that goal mentioned above?
I'm not a code/tool expert, and I'm pretty sure all the existing ones lack something, I don't know maybe BSGS can do what I said.
If I had a perfect idea I could have used it myself, I only type what comes to my mind, whether it's possible or doable currently, I don't know. Hints is what I can provide the best.😉

Here is the code doing exactly what digaran explained earlier... I used on puzzle 125, chant it when someone else found it. I am not optimistic of it! you can have it if you've huge ram... it works on more more of a simple phenomenon rather then complex... In the script checkpoint.txt file has only public key x coordinates in decimal format. Why only x because, if you have public  keys of private keys from 1 to 1 billion, they are actually two billion public keys, first billion from 1 to 1 billion and the last billion,, both billion have same x coordinate,, so kind of really big help there Grin... The script first loads the file checkpoints.txt. so in this file I kept 80 million public keys from 2 - 80000000. The file size was 5.88 GB, been running on 8 GB RAM system. Here is how script works with a simple example you can modify relevant figures in script as per your needs...
Suppose our public key has the private key of 87 (which we don't know obviously) we have checkpoints from 1-5 (which is really big if we compare 80 million with 125 puzzle key distance),, so what the script does it, is subtracts a set jump from pubkey and checks the resulting point within checkpoints, you can set your own jump.. suppose you want to set jump size as 20, here is how script works:

87-20=67 (not in checkpoints)
67-20=47  (not in checkpoints)
47-20=27(not in checkpoints)
27-20=7(not in checkpoints)
7-20=-13(not in checkpoints)

As you know the range you can set the step size to suite the range, in our case, it is suitable to have 5 steps if we choose its size as 20...

After finishing 5 stepts, the script subtracts 5 from 87 and saves the progress in j_value.txt file, after every iteration it changes the value in j_value.txt file. So if you shutdown or power goes off, next time script restarts from where it left...
After first iteration script subtract 10 from 87-10=77
(10 because you have first 5 and last 5)
next iteration is like
77-20=57 (not in checkpoints)
57-20=37  (not in checkpoints)
37-20=17(not in checkpoints)
17-20=-3(matched)
-3 is matching because its inverse point is 3 and both have same x coordinate...
If a match is found, the script save that point in results.txt file.
I forget to mention xy.txt file has the decimal x and y coordinate of puzzle pub key.
Here is whole script: Chill
Code:
Pcurve = 2**256 - 2**32 - 2**9 - 2**8 - 2**7 - 2**6 - 2**4 -1 # The proven prime
N=0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 # Number of points in the field
Acurve = 0; Bcurve = 7 # These two defines the elliptic curve. y^2 = x^3 + Acurve * x + Bcurve
Gx = 55066263022277343669578718895168534326250603453777594175500187360389116729240
Gy = 32670510020758816978083085130507043184471273380659243275938904335757337482424
GPoint = (Gx,Gy) # This is our generator point. Trillions of dif ones possible

def modinv(a, n=Pcurve):
    lm, hm = 1, 0
    low, high = a % n, n
    while low > 1:
        ratio = high // low
        nm, new = hm - lm * ratio, high - low * ratio
        lm, low, hm, high = nm, new, lm, low
    return lm % n

def ECadd(a, b):
    if a == 'O':
        return b
    if b == 'O':
        return a
    if a == b:
        LamAdd = ((3 * a[0] * a[0] + Acurve) * modinv(2 * a[1], Pcurve)) % Pcurve
    else:
        LamAdd = ((b[1] - a[1]) * modinv(b[0] - a[0], Pcurve)) % Pcurve
    x = (LamAdd * LamAdd - a[0] - b[0]) % Pcurve
    y = (LamAdd * (a[0] - x) - a[1]) % Pcurve
    return (x, y)


def ECsub(a, b):
    if b == 'O':
        return a
    if isinstance(a, str):
        a = tuple(map(int, a.split()))
    if isinstance(b, str):
        b = tuple(map(int, b.split()))
    neg_b = (b[0], -b[1] % Pcurve)
    return ECadd(a, neg_b)


def ECmul(a, b):
    result = 'O'
    while b > 0:
        if b % 2 == 1:
            result = ECadd(result, a)
        a = ECadd(a, a)
        b = b // 2
    return result

# Read the x, y coordinates from xy.txt
with open("xy.txt", "r") as f:
    x, y = map(int, f.read().strip().split())
    point = (x, y)

# Read the checkpoint x-coordinates from checkpoints.txt
with open("checkpoints.txt", "r") as f:
    checkpoints = set(map(int, f.read().strip().split()))

filename_out = "results.txt"


sub_count = 0


# read the last value of j from file
try:
    with open("j_value.txt", "r") as f:
        last_j_value = int(f.readline())
except:
    last_j_value = 0

# loop for multiplication factor 0, 2, 4, 6, 8, 10, 12, 14, .......
found_match = False
for j in range(last_j_value, 10000001):
    if found_match:
        break
    sub_count = 160000000 * j
    for k in range(100001): # loop for 1lac subtract iterations
        if k == 0:  # first iteration
            pass
        else:
            sub_count += 212676479325586539664609129644855
        result = ECmul(GPoint, sub_count)
        result = ECsub(point, result)
        print(sub_count)
        if result[0] in checkpoints:
            with open(filename_out, "w") as f_out:
                subtractions = sub_count // 212676479325586539664609129644855
                f_out.write("{} {} {}".format(result[0], result[1], subtractions))
            found_match = True
            break
    # save the value of j to file after each iteration
    with open("j_value.txt", "w") as f:
        f.write(str(j))

7-20=-13(not in checkpoints)
Jump to: