Bitcoin Forum
April 21, 2026, 04:49:11 AM *
News: Latest Bitcoin Core release: 30.2 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 [276] 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 ... 652 »
  Print  
Author Topic: Bitcoin puzzle transaction ~32 BTC prize to who solves it  (Read 380359 times)
albert0bsd
Hero Member
*****
Offline Offline

Activity: 1120
Merit: 718



View Profile
July 24, 2024, 11:33:54 PM
 #5501

Well here is a code to get the public key from Legacy address with Transactions in the blockchain

Code:
import json
import requests

def get_publickey(address):
    txs = get_txs(address)
    publickey = None
    found = False
    for tx in txs:
        for vin in tx["vin"]:
            if vin["prevout"]["scriptpubkey_address"] == address:
                scriptsig_asm = vin["scriptsig_asm"]
                if "OP_PUSHBYTES_33" in scriptsig_asm or "OP_PUSHBYTES_65" in scriptsig_asm:
                    tokens = scriptsig_asm.split()
                    OP_token = tokens[-2]
                    last_token = tokens[-1]
                    if  OP_token == "OP_PUSHBYTES_33" or OP_token == "OP_PUSHBYTES_65" :
                        publickey = last_token
                        found = True
            if found:
                break
        if found:
            break
    return publickey

def get_txs(address):
    try:
        obj = None
        url = ""
        if networkname=="bitcoin":
            url = "https://mempool.space/api/address/" + address +"/txs"
        elif networkname=="testnet":
            url = "https://mempool.space/testnet/api/address/" + address +"/txs"
        else:
            print("Unknow network")
            exit()
        #print("Request url: {}".format(url))
        response = requests.get(url, timeout=10) # Sending an HTTP GET request
        if response.status_code == 200:
            #print("Response:\n{}".format(response.text))
            obj = response.json()
        elif response.status_code == 429:
            print(f"HTTP: {response.status_code}\nExit...")
            obj = []
        else:
            print(f"HTTP: {response.status_code}\n{response.text}\nExit...")
            obj = []
        return obj
    except Exception as e:
        print(f"An error occurred: {e}")
        return []

networkname="bitcoin"
address = "1Fo65aKq8s8iquMt6weF1rku1moWVEd5Ua"
publickey = get_publickey(address)
if(publickey is not None):
    print("Public key found {}".format(publickey))
else:
    print("Public key NOT found")

This code only work for TX already confirmed, Legacy address compressed and uncompressed

I hope you like it.

BTW my bot is already running. I am not going to be in front of my computer this time, last time i was fixing some code bugs, but right now I already tested the code with some other address.
madogss
Newbie
*
Offline Offline

Activity: 53
Merit: 0


View Profile
July 24, 2024, 11:44:32 PM
 #5502

I have managed to get a "Bot" but it's not a bot i have still to manually give the private key because i didn't know how to extract public key once its in the mempool plus i didn't know how to run Keyhunt or kangaroo after getting public key, sooooo i guess i'll have to be awake lol, i'm so bad


I would be happy for any improvement or any opinions if the following script may work?

I would like to ask for a small script that extract public key once it's seen on the mempool. I couldn't do it myself sadly. Could anyone help?

Thank you!
nomachine posted his bot a couple pages back that includes getting public key, running keyhunt, and sweeping funds.
CY4NiDE
Member
**
Offline Offline

Activity: 67
Merit: 41


View Profile
July 25, 2024, 12:49:08 AM
 #5503

I got a bot online too, I'll get away from the PC now and leave it running.

Code:
Initializing Thief Bot v0...

Monitoring: 166Bitrbfa16oR7DKKSzgdhU4MpVKE4cKb
No outgoing transaction yet... [T: 1481]

1CY4NiDEaNXfhZ3ndgC2M2sPnrkRhAZhmS
nomachine
Full Member
***
Offline Offline

Activity: 812
Merit: 134



View Profile
July 25, 2024, 06:02:50 AM
Last edit: July 25, 2024, 06:38:33 AM by nomachine
 #5504

I have managed to get a "Bot" but it's not a bot i have still to manually give the private key because i didn't know how to extract public key once its in the mempool plus i didn't know how to run Keyhunt or kangaroo after getting public key, sooooo i guess i'll have to be awake lol, i'm so bad


I would be happy for any improvement or any opinions if the following script may work?

I would like to ask for a small script that extract public key once it's seen on the mempool. I couldn't do it myself sadly. Could anyone help?

Thank you!
nomachine posted his bot a couple pages back that includes getting public key, running keyhunt, and sweeping funds.

Please note that this is not the definitive version. Everyone needs to test and retest to create the final version. However, it serves as an example of what it should look like. The bot PC should have nothing installed except the bot. Anything else can affect the response and screw up. A very good ping and a reliable connection to the mempool are crucial.

one of the clues:

This code only work for TX already confirmed

Code:
    while True:
        logging.info("Running scan...")
        pubkey = get_exact_public_key_unconfirmed(address) or get_exact_public_key_confirmed(address)
        if pubkey:
            logging.info(f"Extracted Public Key: {pubkey}")
            save_public_key(pubkey)

            # Uncomment to run Keyhunt (ensure you have the keyhunt tool and the correct parameters)
            run_keyhunt(pubkey)


I have two functions. One is for unconfirmed and the other for confirmed separately Grin

BTC: bc1qdwnxr7s08xwelpjy3cc52rrxg63xsmagv50fa8
AlanJohnson
Member
**
Offline Offline

Activity: 185
Merit: 11


View Profile
July 25, 2024, 08:50:34 AM
 #5505

Is it possible that someone runs a bot waiting for 66bit having fees set to almost all balance  just to piss everyone off ?  You know the answer  Grin
ronin445
Newbie
*
Offline Offline

Activity: 30
Merit: 0


View Profile
July 25, 2024, 01:56:08 PM
 #5506

Is it possible that someone runs a bot waiting for 66bit having fees set to almost all balance  just to piss everyone off ?  You know the answer  Grin


you have to stay infront of the computer to make it success.Bot  not working %100 automatic when the process gives error.
Also for me thats theft even ı loot it with the bot to prove something then I sent it back to the real owner
 Someone told 11 days ago found the key but who is the real owner of the puzzle 66 ?
I believe the first one find it should take the prize..
nomachine
Full Member
***
Offline Offline

Activity: 812
Merit: 134



View Profile
July 25, 2024, 05:07:39 PM
Last edit: July 25, 2024, 05:39:49 PM by nomachine
 #5507

We could see a situation where multiple or thousands of bots continuously send replacement transactions, each one with progressively higher fees, trying to claim the coins for themselves. Since no bot is willing to give up the opportunity for another, this could result in a continuous increase in fees. In the end, almost all of the funds might be eaten up by transaction fees, with most of the money going to the miners.

Is it possible that someone runs a bot waiting for 66bit having fees set to almost all balance  just to piss everyone off ?  You know the answer  Grin

It doesn't matter whether the first replacement transaction or 24 in a row is 6 BTC; the result will be the same in the end.

BTC: bc1qdwnxr7s08xwelpjy3cc52rrxg63xsmagv50fa8
Kamoheapohea
Jr. Member
*
Offline Offline

Activity: 48
Merit: 12


View Profile
July 25, 2024, 05:44:18 PM
 #5508

Please someone also try with a CPFP transaction. Maybe this confuses the other bots.
vjudeu
Copper Member
Legendary
*
Offline Offline

Activity: 909
Merit: 2363


View Profile
July 25, 2024, 05:58:54 PM
 #5509

It is possible to get the reward in a trustless way. Some examples:

OP_RIPEMD160 <puzzleHash> OP_EQUALVERIFY <solverKey> OP_CHECKSIG
OP_SHA256 <revealedHash> OP_EQUALVERIFY <solverKey> OP_CHECKSIG

The first Script can be used to send "I know the key" signal in a trustless way. The second Script can reveal the public key, after the first "I know the key" transaction, but also lock the reward to the solver's key.

Some practical examples, with the smallest key:

OP_DUP OP_HASH160 751e76e8199196d454941c45d1b3a323f1433bd6 OP_EQUALVERIFY OP_CHECKSIG

public key: 0279be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798
first hash: 0f715baf5d4c2ed329785cef29e562f73488c8a2bb9dbc5700b361d54b9b0554
second hash: 751e76e8199196d454941c45d1b3a323f1433bd6

OP_RIPEMD160 751e76e8199196d454941c45d1b3a323f1433bd6 OP_EQUALVERIFY <solverKey> OP_CHECKSIG

Then, the solver can provide: "<signature> 0f715baf5d4c2ed329785cef29e562f73488c8a2bb9dbc5700b361d54b9b0554". Only the solver will know the first hash. And it is still not the public key, so it can be revealed, as a signal, to get it deeply confirmed, and to give the community a choice: "give me those coins now, if you want to see the solution". By scanning the blockchain, it is possible to determine, who was the first person, revealing the first hash on-chain. Also, because scripts are hidden behind hashes, nobody will fake that signal, if P2SH, P2WSH or P2TR will be deeply confirmed first.

If the community will verify that signal, and agree to deposit 6.6 BTC to get the solution, then the next Script can be constructed:

OP_SHA256 0f715baf5d4c2ed329785cef29e562f73488c8a2bb9dbc5700b361d54b9b0554 OP_EQUALVERIFY <solverKey> OP_CHECKSIG

In that case, this particular solver can provide: "<signature> <puzzleKey>". Everyone will then try to grab the key for the puzzle, and clear it. However, the signature will protect the coins for the solver.

Quote from: satoshi
I've moved on to other things.
Akito S. M. Hosana
Jr. Member
*
Offline Offline

Activity: 420
Merit: 8


View Profile
July 25, 2024, 05:59:28 PM
 #5510

So, all those poor developers spent months honing their skills in Jacobian Coordinates , only to find out their efforts were as useful as a dragon’s breath mint because the unicorn-bot just swooped in and claimed the prize.

And that’s how you end up with an elaborate riddle-solving contest where the only thing you really need is a magical unicorn-bot to do all the work.  🦄🔮
kTimesG
Full Member
***
Offline Offline

Activity: 812
Merit: 247


View Profile
July 25, 2024, 07:33:49 PM
 #5511

So, all those poor developers spent months honing their skills in Jacobian Coordinates , only to find out their efforts were as useful as a dragon’s breath mint because the unicorn-bot just swooped in and claimed the prize.

And that’s how you end up with an elaborate riddle-solving contest where the only thing you really need is a magical unicorn-bot to do all the work.  🦄🔮
Jacobian coordinates has jack shit to do with puzzle 66 or any other puzzle without an exposed public key. If you know of any program that uses JC to create zillions of random addresses, please let them know that they are doing something very wrong.

66 & friends are more like a SHA/RIPEMD hashing rate competition, onto which the winner of gets pissed on by the Jacobian Coordinates honing skills contest participants. Oh wait, shit, Jacobian Coordinates are totally incompatible with Pollard's DLP methods.

Off the grid, training pigeons to broadcast signed messages.
Akito S. M. Hosana
Jr. Member
*
Offline Offline

Activity: 420
Merit: 8


View Profile
July 26, 2024, 09:10:47 AM
 #5512

So, all those poor developers spent months honing their skills in Jacobian Coordinates , only to find out their efforts were as useful as a dragon’s breath mint because the unicorn-bot just swooped in and claimed the prize.

And that’s how you end up with an elaborate riddle-solving contest where the only thing you really need is a magical unicorn-bot to do all the work.  🦄🔮
Jacobian coordinates has jack shit to do with puzzle 66 or any other puzzle without an exposed public key. If you know of any program that uses JC to create zillions of random addresses, please let them know that they are doing something very wrong.

66 & friends are more like a SHA/RIPEMD hashing rate competition, onto which the winner of gets pissed on by the Jacobian Coordinates honing skills contest participants. Oh wait, shit, Jacobian Coordinates are totally incompatible with Pollard's DLP methods.

This was a joke. But it does not matter.
Here's a another one. No matter how much you earn on puzzle 130, the unicorn-bot will earn more from 66-90 🦄
GR Sasa
Member
**
Offline Offline

Activity: 200
Merit: 14


View Profile
July 26, 2024, 11:35:06 AM
 #5513

I think @WanderingPhilospher forgot us lol...

Hope he's doing ok
zahid888
Member
**
Offline Offline

Activity: 335
Merit: 24

the right steps towards the goal


View Profile
July 26, 2024, 01:02:34 PM
 #5514

Off topic:

White Hat Recovery reward 10%, i.e., up to $23 Million

https://x.com/WazirXIndia/status/1815004031561220352



1BGvwggxfCaHGykKrVXX7fk8GYaLQpeixA
ElonMusk_ia
Newbie
*
Offline Offline

Activity: 24
Merit: 2


View Profile
July 26, 2024, 01:34:25 PM
 #5515

Good luck.
OxSD
Newbie
*
Offline Offline

Activity: 8
Merit: 0


View Profile
July 26, 2024, 02:02:53 PM
 #5516

I think @WanderingPhilospher forgot us lol...

Hope he's doing ok
He's pretty smart and I think his competition makes sense to test some techniques that allow coins to be transferred safely rather than to show that coins can be easily stolen
brainless
Member
**
Online Online

Activity: 479
Merit: 35


View Profile
July 26, 2024, 03:07:47 PM
 #5517

I think @WanderingPhilospher forgot us lol...

Hope he's doing ok
He's pretty smart and I think his competition makes sense to test some techniques that allow coins to be transferred safely rather than to show that coins can be easily stolen
Maybe it's mind game, all bot busy for find test , and newly bots maybe also block by ping many times, and in background they play real 66 bit puzzle transaction Smiley

13sXkWqtivcMtNGQpskD78iqsgVy9hcHLF
OxSD
Newbie
*
Offline Offline

Activity: 8
Merit: 0


View Profile
July 26, 2024, 03:14:32 PM
 #5518

Maybe it's mind game, all bot busy for find test , and newly bots maybe also block by ping many times, and in background they play real 66 bit puzzle transaction Smiley
A professional bot definitely does not use mempool.space or similar APIs. It uses its own node, so blocking is only for inexperienced bots that use third-party APIs.
Baskentliia
Jr. Member
*
Offline Offline

Activity: 75
Merit: 1


View Profile
July 26, 2024, 03:36:33 PM
 #5519

Off topic:

White Hat Recovery reward 10%, i.e., up to $23 Million

https://x.com/WazirXIndia/status/1815004031561220352




Hello, are we going to find one of these wallets, deliver it to the Wazirx exchange official and get a reward? Did I get right ?
Could you share the program you use?
nomachine
Full Member
***
Offline Offline

Activity: 812
Merit: 134



View Profile
July 26, 2024, 04:47:24 PM
Last edit: July 26, 2024, 05:03:37 PM by nomachine
 #5520

Maybe it's mind game, all bot busy for find test , and newly bots maybe also block by ping many times, and in background they play real 66 bit puzzle transaction Smiley
A professional bot definitely does not use mempool.space or similar APIs. It uses its own node, so blocking is only for inexperienced bots that use third-party APIs.

You actually need full-node distro. And mempool in local network .You should use a separate machine just for that, and another very powerful machine for the Bot and BSGS/Keyhunt.   Grin

BTC: bc1qdwnxr7s08xwelpjy3cc52rrxg63xsmagv50fa8
Pages: « 1 ... 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 [276] 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 ... 652 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!