albert0bsd
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 24, 2024, 11:33:54 PM |
|
Well here is a code to get the public key from Legacy address with Transactions in the blockchain 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
Activity: 31
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 24, 2024, 11:44:32 PM |
|
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
Jr. Member
Offline
Activity: 46
Merit: 12
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 25, 2024, 12:49:08 AM |
|
I got a bot online too, I'll get away from the PC now and leave it running. Initializing Thief Bot v0...
Monitoring: 166Bitrbfa16oR7DKKSzgdhU4MpVKE4cKb No outgoing transaction yet... [T: 1481]
|
1CY4NiDEaNXfhZ3ndgC2M2sPnrkRhAZhmS
|
|
|
nomachine
Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 402
Merit: 22
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 25, 2024, 06:02:50 AM Last edit: July 25, 2024, 06:38:33 AM by nomachine |
|
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
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](https://bitcointalk.org/Smileys/default/grin.gif)
|
|
|
|
AlanJohnson
Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 105
Merit: 11
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 25, 2024, 08:50:34 AM |
|
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](https://bitcointalk.org/Smileys/default/grin.gif)
|
|
|
|
ronin445
Newbie
Offline
Activity: 3
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 25, 2024, 01:56:08 PM |
|
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](https://bitcointalk.org/Smileys/default/grin.gif) 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
Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 402
Merit: 22
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 25, 2024, 05:07:39 PM Last edit: July 25, 2024, 05:39:49 PM by nomachine |
|
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](https://bitcointalk.org/Smileys/default/grin.gif) 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.
|
|
|
|
Kamoheapohea
Jr. Member
Offline
Activity: 36
Merit: 11
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 25, 2024, 05:44:18 PM |
|
Please someone also try with a CPFP transaction. Maybe this confuses the other bots.
|
|
|
|
vjudeu
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 25, 2024, 05:58:54 PM |
|
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.
|
|
|
|
Akito S. M. Hosana
Jr. Member
Offline
Activity: 49
Merit: 1
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 25, 2024, 05:59:28 PM |
|
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
Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 122
Merit: 24
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 25, 2024, 07:33:49 PM |
|
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.
|
|
|
|
Akito S. M. Hosana
Jr. Member
Offline
Activity: 49
Merit: 1
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 26, 2024, 09:10:47 AM |
|
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
![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 191
Merit: 14
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 26, 2024, 11:35:06 AM |
|
I think @WanderingPhilospher forgot us lol...
Hope he's doing ok
|
|
|
|
|
ElonMusk_ia
Newbie
Offline
Activity: 11
Merit: 2
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 26, 2024, 01:34:25 PM |
|
|
|
|
|
OxSD
Newbie
Offline
Activity: 8
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 26, 2024, 02:02:53 PM |
|
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
![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 318
Merit: 34
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 26, 2024, 03:07:47 PM |
|
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](https://bitcointalk.org/Smileys/default/smiley.gif)
|
13sXkWqtivcMtNGQpskD78iqsgVy9hcHLF
|
|
|
OxSD
Newbie
Offline
Activity: 8
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 26, 2024, 03:14:32 PM |
|
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](https://bitcointalk.org/Smileys/default/smiley.gif) 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
Activity: 60
Merit: 1
34Sf4DnMt3z6XKKoWmZRw2nGyfGkDgNJZZ
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 26, 2024, 03:36:33 PM |
|
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?
|
34Sf4DnMt3z6XKKoWmZRw2nGyfGkDgNJZZ
|
|
|
nomachine
Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 402
Merit: 22
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 26, 2024, 04:47:24 PM Last edit: July 26, 2024, 05:03:37 PM by nomachine |
|
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](https://bitcointalk.org/Smileys/default/smiley.gif) 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](https://bitcointalk.org/Smileys/default/grin.gif)
|
|
|
|
|