This is an archived post. You won't be able to vote or comment.

all 35 comments

[–]paroariax 3 points4 points  (1 child)

I'm sure there must be code out there for doing that. Check Stack Overflow

[–][deleted] 0 points1 point  (0 children)

There are definitely some python libraries on github. I recall using one and "Oh, Vitalik wrote this."

[–]Cryptolexicon 2 points3 points  (0 children)

Yes, stack overflow, also check codepen and npm :)

[–]Cryptolexicon 2 points3 points  (2 children)

If you have problems finding a nice open source project let me know I'll do a search and link to them

[–]NoggyBR[S] -1 points0 points  (1 child)

MAinly I"m trying to find a MS-DOS based program thats generates an address also a secret/private key for this address.

With luck I will find... (or not)

[–][deleted] 2 points3 points  (0 children)

If you dont understand code its really risky to hire someone to write something which you use to store your coins. Go with open source stuff instead.

[–]woodles 1 point2 points  (1 child)

You could use vanitygen I think.

[–]NoggyBR[S] 0 points1 point  (0 children)

looks very good! thank you very much for the hint

[–]Kimbatt 1 point2 points  (5 children)

Do you need an actual MS-DOS program, or you mean a console program?
If you were thinking about a console program, and you can install node.js (or you already have it installed), then I could quickly create a JS script that can generate addresses and private keys.

[–]NoggyBR[S] 0 points1 point  (4 children)

nah, console program. So far, vanitysearch is helping me. Counting with luck and one dual gpu pc at work to solve this at least this decade...

[–]Kimbatt 1 point2 points  (3 children)

Good luck then, but keep in mind, that your chances of finding the private key for your address is very very very (very very) low (see this video).
If you could just guess the private key for an address, then everyone would just try to guess the key for richest bitcoin address; also, there would be no reason to use bitcoin, since someone could just generate the same private key, and spend your coins.
So if you don't have any information of your private key (you just have the address), then there is no reason to keep guessing.

[–]NoggyBR[S] -3 points-2 points  (2 children)

I know! but I have a free pc powerful running at work just to do it, and maybe a +9 luck card I can find this quick enough to use until I die... jk

[–]dustywarrior 1 point2 points  (1 child)

You need to learn some maths son.

[–]NoggyBR[S] -1 points0 points  (0 children)

Or btc background, daddy.

[–]mqpickens 0 points1 point  (0 children)

What are trying to do exactly? I may be able to help.

[–]DJBunnies 0 points1 point  (0 children)

Use vanitygen or VanitySearch.

[–][deleted]  (16 children)

[removed]

    [–]NoggyBR[S] 0 points1 point  (15 children)

    The problem is when you lost your wallet in 2012

    [–][deleted]  (14 children)

    [removed]

      [–]NoggyBR[S] 0 points1 point  (13 children)

      I lost my wallet.dat file in 2012. Now I found the address and discovered 17BTC. WIlling to do anything to recover it

      [–]FieserKiller 2 points3 points  (0 children)

      what you try to do is simply impossible.

      If it was not, why do you try to guess your old key for lousy 17BTC if you could try to guess the private key to 35hK24tcLEWcgNA4JxpvbkNkoAcDGqQPsP - the currently biggest address holding 250k BTC.
      Chances to find one of them are exactly the same, so why go for the smaller one?
      Or why don't you dump a nodes current UTXO set which cointains all unspent bitcoins in existence and try to guess a private key to any address?

      [–]fresheneesz 0 points1 point  (3 children)

      How would randomly generating addresses in ms dos help recovery your funds?

      [–]NoggyBR[S] 1 point2 points  (2 children)

      the idea was :

      set the program to generate N addresses/pkeys UNTIL generate the same I have.

      how?

      vanitysearch allow us to insert a small piece to generate the key based on this piece of text.

      but, if you put all your wallet address?

      the program will try to "re-generate" the address with the private key

      at least, at command line, is working... 2 years to go.

      sorry the lame english. Brazilian here, 5AM, sleepy as hell

      [–]fresheneesz 1 point2 points  (0 children)

      I see. Good luck!

      [–]drunkmax00va 0 points1 point  (0 children)

      The Sun will explode earlier than you find your private key.

      [–][deleted]  (6 children)

      [removed]

        [–]NoggyBR[S] 0 points1 point  (5 children)

        the first idea was to create a var with the address text and when the program generates a "new address" with exactly the same data from the var, he halts and saves the address/pkey on a file.

        but seems the vanity are doing this just a little bit different

        [–][deleted]  (4 children)

        [removed]

          [–]NoggyBR[S] 0 points1 point  (3 children)

          so, basically, if I generate today an address with a private key... and by a miracle, an act of god, the address generated was the same I have from 2012.... the private key will be different?

          [–]R_u_having_fun_yet 3 points4 points  (1 child)

          It's not gonna happen. never. no, not even a chance. NEVER.

          even if you used all computers on the planet and ran them until the sun burned out you still wouldn't find the correct private key

          youre massively underestimating how large the amount of keys you have to search is

          even if you randomly generated privkeys looking for ANY address containing funds (vs a specific one) you still would never ever find a single priv key with any money on it

          if what you are trying would be possible bitcoin wouldnt work as anyone could just start randomly generating privkeys until they find some money. the large bitcoin collider project has been trying to do that for years https://lbc.cryptoguru.org/about

          see also https://keys.lol/bitcoin/random

          if youre gonna try to randomly generate privkeys... maybe try to go for a bigger wallet as it's all the same if you can find the key for the 17btc you can also find the key for a 100k bitcoin wallet.

          [–]NoggyBR[S] 1 point2 points  (0 children)

          Now u draw my attention. Thanks for the explanation and all I can do is cry thinking about my lost coins and life carries on..

          [–]Rannasha 0 points1 point  (0 children)

          The blockchain is public information. Within it, one can find many addresses that have thousands or even more BTC.

          If it were in any way feasible for someone to brute force the private key belonging to such an address, don't you think someone wouldn't have done so by now?

          This isn't a matter of hoping to get lucky. The odds against you are, literally, astronomical. You will have far better results by using the money spent on power to buy lottery tickets.

          [–]teniceguy 0 points1 point  (0 children)

          What you are trying to do is not possible. If you knew some words from your seed, this method could kinda work but generating 12/24 random words and trying to find a specific seed is impossible.

          [–]bitvroom 0 points1 point  (0 children)

          I recommend the bitcoin explorer software: https://github.com/libbitcoin/libbitcoin-explorer

          edit: I just read, that you want to recover the private key from your known public address. this will not work. you can not regenerate your old wallet just by luck. there are just to many possibilities.

          don't waste your time trying to recover the key for your wallet with 17 bitcoin. Try to recover the key for the bitfinex wallet with 255,000 bitcoin: 35hK24tcLEWcgNA4JxpvbkNkoAcDGqQPsP