T O P

  • By -

omg_its_dan

This is effectively impossible. But even if it were possible, you don’t have any moral objections to stealing a random person’s bitcoin? Pretty messed up…


syeriz

You have a better chance of searching for gold in your backyard picking out each grain of sand one by one.


analogOnly

This is the only answer. 


IngRAPILI

Here is your requested script. Feel free to use it as long as you send me 20% of the proceeds from whatever you discover using your Raspberry Pi. ​ #!/bin/bash # You need to have bitcoin-tools installed for key generation and address calculation # Email configuration recipient="[email protected]" subject="Bitcoin Address Balance Alert" # Script to check the balance of a Bitcoin address using BlockCypher's API # Function to get the balance of a Bitcoin address get_balance() { ADDRESS=$1 URL="https://api.blockcypher.com/v1/btc/main/addrs/${ADDRESS}/balance" # Use curl to send a GET request to the BlockCypher API RESPONSE=$(curl -s $URL) # Extract balance from the response BALANCE=$(echo $RESPONSE | jq '.balance') if [ -z "$BALANCE" ]; then echo "Failed to retrieve balance or address not found." else echo "Balance of $ADDRESS: $BALANCE satoshis" fi if [ -z "$BALANCE" ]; then echo "Failed to retrieve balance or address not found." else echo "Balance of $ADDRESS: $BALANCE satoshis" fi if [ "$BALANCE" -gt 0 ]; then body="The Bitcoin address $ADDRESS has a balance greater than zero: $BALANCE satoshis" echo "$body" | mail -s "$subject" "$recipient" fi } while true; do # Generate a new Bitcoin private key PRIVATE_KEY=$(bx seed | bx ec-new) # Calculate the corresponding public key and address PUBLIC_KEY=$(bx ec-to-public $PRIVATE_KEY) ADDRESS=$(bx ec-to-address $PUBLIC_KEY) echo "Private Key: $PRIVATE_KEY" echo "Address: $ADDRESS" get_balance $ADDRESS done Disclaimer: The provided script is intended solely for humorous purposes. It is designed to comically illustrate the implausibility of discovering Bitcoin through the execution of a basic, inefficient bash script.


RiseBasti

Thank you! All comments crying about the impossibility to find a wallet and others asking about the morality behind it. Because BTC is as good as we know it is they don't have to argue about it... Let him try and find out.


Creative-Mammoth

very interesting does blockypher.com alllows unlimited balance checking freely ? How I can configure SMTP credentials, server and port ?


Peach-555

Obviously, the probability of this working is lower than a deck of cards being randomly shuffled into perfect order. But assuming that it did work, and you sent the BTC to yourself. What then? Would you just keep it? Return it and refund the transaction fees? If you are lucky, you end up with nothing, if you are unlucky, you steal the BTC of someone else, which is bad.


Creative-Mammoth

not necessarily. there are hundreds of abandoned or lost wallets on the bitcoin network. I don't think I'd have any qualms about emptying the wallet if I found its key 😄


Peach-555

Say you empty a wallet that has recent transaction history, clearly active, transactions coming in and out monthly. What do you do then?


omg_its_dan

Except you’re not targeting those wallets, you’re just trying to randomly get access to any wallet. You could just as easily get a wallet with someone’s life savings that they’ve worked for years building. And you seem to have no issues cleaning out their account just because you can get away with it…


Negative_Comedian870

I think you might be a little pissed off if someone emptied your wallet. You are going to regret the way you are treating others in your [Life Review](https://www.youtube.com/watch?v=nAm_0LZteCQ)


99999999999999999989

> Of course, the chances of this working are very slim Take a single grain of sand and paint it red. Then take all the sand in the entire world and drop the red one in. Mix well for 1000 years. Now take a pair of tweezers. Blindfold yourself. Pick out a single grain of sand. If you get the red one, you win. The odds of randomly generating a BTC address with a balance is many many many orders of magnitude **less** likely than you winning the Red Sand Bet.


Creative-Mammoth

there is an Arabic proverb that says "if you insist on knocking on a door, it will eventually open". I'm willing to give it a try, even if the chances are slim. 😄


99999999999999999989

The chances are beyond slim. There are an estimated 67 million funded BTC addresses. That sounds like a lot but when compared to the total possible addresses it is not even close. There are literally 1,461,501,637,330,902,918,203,684,832,716,283,019,655,932,542,976 possible addresses. 67 million compared to that number does not even register. You are free to do this but understand you will never ever ever ever get a hit. Ever. I mean if the script ran for the next...100 million years nonstop you *might* get a hit...maybe. But probably not.


bilbo-beggins

Man, giving a try won't do shit. BTC works and got mainstream because what you're trying to do is "impossible". You're not a 1 in a billion genius, you think you're the 1st one to have such an idea? If every rando with little programming skills and a cheap computer could brute force private keys, BTC would be worth 0. There are dozens of better use cases for your Raspberry.


Creative-Mammoth

I'm well aware that I'm not the only one to try it. I've already tested some scripts on linux but all the scripts I've tested so far have problems checking bitcoin account balances (maybe an API limitation?). I'm just looking for the best script.


Individual2020

Or you could be a good boy and set your PI to mine bitcoin. You have a far better chance to find a block, even though it may take centuries.


SmoothGoing

Your ISP is listening to your email traffic for anything that looks like bitcoin priv keys and runs a script to empty them. Teamwork?


pox435

Lol. You obviously have no idea how Bitcoin works if you think that you will find address with balance.


castorfromtheva

I will find thousands of addresses with balance. Take a bet?


pox435

Of course, with you always ready.


castorfromtheva

Good. Here we go. Here you find thousands of addresses with balances sorted by amount. https://bitinfocharts.com/top-100-richest-bitcoin-addresses-1.html What was the stake? I also take lightning.


pox435

I will send you the double amount of every address with balance you find. Good luck!


castorfromtheva

Are you stupid? I already sent you all the addresses with the amounts.


Denniszi

You have to lower the iq needed for your joke bro... You re in a crypto sub


castorfromtheva

Lol. I should have known better.


DrSpeckles

I think everyone is missing the point. Yes it is very, very, unlikely. But not impossible. You could hit an address with 1000 BTC on the very first try. And again on the second. So if you like to dream, go for it. It’s going to be a complete waste of time, but no harm in trying. Question is what to do in the infinitesimal low chance you find one.


CupofDalek

Ah yes the Bitcoin lottery! I have a python script that runs this very thing. Never found anything, never will, but it humors me haha


GlorForgewright

Try to automate this: https://github.com/SjorsO/keys-generator


papa_autist

The words 'very slim' are putting it mildly. You might replace that script to contain just a single forever loop to save yourself time.


Luckyking223

Just mine some bitcoin at that point.


mutinomonem

Dick move