Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: PrivatePerson on April 01, 2022, 02:34:39 PM



Title: Address generator and validation from a file
Post by: PrivatePerson on April 01, 2022, 02:34:39 PM
The idea is very simple and most likely is on github, but I can’t find it.
Bitcoin address generator based on 12 phrases (address;private key) and checking the address from the list of all addresses (addresses.txt) when matching addresses are found, writing them to the file found.txt (address;private key)
Maybe someone met a similar implementation?


Title: Re: Address generator and validation from a file
Post by: BlackHatCoiner on April 01, 2022, 02:54:29 PM
Bitcoin address generator based on 12 phrases
Twelve phrases? Perhaps you mean twelve words?

Let me get this straight. You want a program that has a seed phrase as input, it checks lots of children's addresses of one of its master public keys and if it ever finds one that's included in addresses.txt, it'll write that address and its private key to found.txt. Is that correct?


Title: Re: Address generator and validation from a file
Post by: alexeyneu on April 01, 2022, 10:00:53 PM
but do you understand the difference between hd and non-hd wallet? words is hd stuff (while it was used for non hd sometimes). that that you're talking about private key means you rather don't understand it.


Title: Re: Address generator and validation from a file
Post by: BitMaxz on April 01, 2022, 10:57:20 PM
Are you talking about a brute-force tool where it generates a 12-word seed phase and scans for addresses that match your list?
There is no tool like that unless if you build it.

Or are you talking about scanning the addresses from your 12-word seed phrase that match your list?

There is a tool for legacy wallets like this one below to scan only used addresses but you can't manually choose what addresses you want to find.

- https://blockpath.com/wallets/new?action=appxpub

Or I think this tool below from ledger that support both legacy and segwit wallet but it only needs xPub not the seed backup. Maybe you can manually put a list of addresses on this tool that you want to find.

- https://github.com/LedgerHQ/xpub-scan

If these tools found the addresses you want then you can get the private key by using the derivation path given from that tool.


Title: Re: Address generator and validation from a file
Post by: NeuroticFish on April 02, 2022, 07:08:41 AM
The idea is very simple and most likely is on github, but I can’t find it.
Bitcoin address generator based on 12 phrases (address;private key) and checking the address from the list of all addresses (addresses.txt) when matching addresses are found, writing them to the file found.txt (address;private key)
Maybe someone met a similar implementation?

I guess that your point is searching for a collision / attempt of steal some coins.
One reason for such tools' scarcity would be that they are expected to be useless: there are far too many addresses that can be generated, hence all you'll do is to waste energy.
Another reason for the scarcity is that they may be seen pretty much as illegal.

However, @BitMaxz pointed out some tools. Maybe you'd elaborate what's all this about and maybe somebody can tell you whether it worth the effort or not.


PS. From what I know, both "Bitcoin challenge" and "Bitcoin alpha" (last one probably scam) are not related to HD wallets.


Title: Re: Address generator and validation from a file
Post by: PrivatePerson on April 12, 2022, 11:59:40 AM
I will answer myself:
https://github.com/TheRealLordFractal/Bip39Helper
https://github.com/ryancdotorg/brainflayer


Title: Re: Address generator and validation from a file
Post by: alexeyneu on April 12, 2022, 12:12:02 PM
bip39 is hd wallet improvement. where you plan to use it for non-hd.


Title: Re: Address generator and validation from a file
Post by: PrivatePerson on April 12, 2022, 12:31:38 PM
bryanflyer searches for hash160, aren't they the same?


Title: Re: Address generator and validation from a file
Post by: litecoin_messiah on April 22, 2022, 05:51:22 PM
i find any blockbook explorer finds most paths, for example https://btc1.trezor.io/xpub/xpub6CUGRUonZSQ4TWtTMmzXdrXDtypWKiKrhko4egpiMZbpiaQL2jkwSB1icqYh2cfDfVxdx4df189oLKnC5fSwqPfgyP3hooxujYzAu3fDVmz

you can also do
https://bch1.trezor.io/xpub/xpub6CUGRUonZSQ4TWtTMmzXdrXDtypWKiKrhko4egpiMZbpiaQL2jkwSB1icqYh2cfDfVxdx4df189oLKnC5fSwqPfgyP3hooxujYzAu3fDVmz (for bitcoin cash etc)

the scanning tools are okish, but this ones instant.

Just create xpub for different common paths and check them.