Pages:
Author

Topic: Vanitygen to search for numbers (Read 1362 times)

sr. member
Activity: 406
Merit: 250
August 01, 2016, 10:30:45 AM
#21
Code:
vanitygen -r ^[1-9]{7}
This gets me only about 90 kkey/s.

You cant use the graphics card while using regex so CPU is your only option.
Correct. As an alternative, you can work around this by creating an input-file that contains all possible numbers you want to search. I've tested it, and it gives me 3.4 Mkey/s using oclvanitygen.
But with a 40 MB inputfile (8 digit numbers from 11111111 to 19999999, excluding the ones with a 0 in it) oclvanitygen already consumes 2 GB memory, and it tells me WARNING: better match throughput is possible using vanitygen on the CPUvanitygen might be faster for low difficulty.
I tried to upload my input-file to pastebin, but my laptop ran out of memory copy/pasting it.

To summarize, using an input-file might much faster if you want addresses with 9-10 (or more) digits at the beginning of the address, but your system needs to have a lot of memory.


I was thinking of using an input file method but I thought it would be alot slower as there are alot of possibilities, especially as you start to search for over 10 numbers. I am also quite limited with the space it takes up so this probably isn't the best way for me. I'm using the method mentioned previously and have managed to find an address with 12 numbers in a row and I am gradually increasing the amount of numbers I'm searching for to see how long it will take.
legendary
Activity: 3290
Merit: 16489
Thick-Skinned Gang Leader and Golden Feather 2021
July 31, 2016, 05:10:21 PM
#20
Code:
vanitygen -r ^[1-9]{7}
This gets me only about 90 kkey/s.

You cant use the graphics card while using regex so CPU is your only option.
Correct. As an alternative, you can work around this by creating an input-file that contains all possible numbers you want to search. I've tested it, and it gives me 3.4 Mkey/s using oclvanitygen.
But with a 40 MB inputfile (8 digit numbers from 11111111 to 19999999, excluding the ones with a 0 in it) oclvanitygen already consumes 2 GB memory, and it tells me WARNING: better match throughput is possible using vanitygen on the CPUvanitygen might be faster for low difficulty.
I tried to upload my input-file to pastebin, but my laptop ran out of memory copy/pasting it.

To summarize, using an input-file might much faster if you want addresses with 9-10 (or more) digits at the beginning of the address, but your system needs to have a lot of memory.
sr. member
Activity: 406
Merit: 250
July 29, 2016, 04:53:40 AM
#19
Shorena

 Thanks for the tip! I'm going to try ^^ now Wink

 SAMKUSH

[596.32 Kkey/s][total 39999267][Found 35] <---9 numbers
about a million keys per address

[632.33 Kkey/s][total 94099468][Found 12] <---10 numbers
about 8 million per address

[622.72 Kkey/s][total 400913991][Found 7] <---11 numbers
about 57 million per address

 I guess probabilities were too complicated to compute when using regex so it wasn't implemented in vanitygen but the above should give you can idea based on your computer's speed.


edit: I forgot about 8
[611.76 Kkey/s][total 12742494][Found 94]
about 135 thousand per addresse


Thanks for that this has really helped me out.
legendary
Activity: 3808
Merit: 7912
July 28, 2016, 05:54:18 PM
#18
Quote
I'm running at 3.1Kkey/s, like I said, I'm using a very old PC, I will probably run it on a different machine and see how that goes.
Thats really low speed, you should consider outsource'ing this job.
Generating keys on CPU is really bad idea tho, other way to do it is to invest in some good graphic card and use it for generation.

 You cant use the graphics card while using regex so CPU is your only option.
legendary
Activity: 2296
Merit: 1014
July 28, 2016, 05:34:12 PM
#17
Quote
I'm running at 3.1Kkey/s, like I said, I'm using a very old PC, I will probably run it on a different machine and see how that goes.
Thats really low speed, you should consider outsource'ing this job.
Generating keys on CPU is really bad idea tho, other way to do it is to invest in some good graphic card and use it for generation.
legendary
Activity: 3808
Merit: 7912
July 28, 2016, 05:21:18 PM
#16
 Shorena

 Thanks for the tip! I'm going to try ^^ now Wink

 SAMKUSH

[596.32 Kkey/s][total 39999267][Found 35] <---9 numbers
about a million keys per address

[632.33 Kkey/s][total 94099468][Found 12] <---10 numbers
about 8 million per address

[622.72 Kkey/s][total 400913991][Found 7] <---11 numbers
about 57 million per address

 I guess probabilities were too complicated to compute when using regex so it wasn't implemented in vanitygen but the above should give you can idea based on your computer's speed.


edit: I forgot about 8
[611.76 Kkey/s][total 12742494][Found 94]
about 135 thousand per addresse
sr. member
Activity: 406
Merit: 250
July 28, 2016, 03:50:07 PM
#15
It shouldn't take years.  At approx. 600 Kkey/s I can find 34 addresses with nine digit runs using

Code:
vanitygen64 -k -r -o filename.txt 1[\d]{8}

Maybe you can use those numbers to figure out your time.

I'm running at 3.1Kkey/s, like I said, I'm using a very old PC, I will probably run it on a different machine and see how that goes.

 So it should take you about 5 and a half minutes per address with a 9 digit run.  That's not terrible.  Just let it run and walk away for a while.
Drop it back to searching for 8 digits and you should be able to find about 1 every minute.

I have left it for the past half an hour now and there is no file, do I have to create it first for the address to be stored in or will it be made when an address is found?

So far it says I have searched 10 million addresses

 @ 10million, you should have found 7 or 8 by now.  That's odd.
There is no need to create the file as it will be created as required.  You don't see anything else on the screen?


I see nothing on the screen, I will try search for 4 numbers just to see if I get an address

EDIT: I have just searched for 2 numbers and it comes up on the screen but no file is created

Works fine for me:

Code:
vanitygen64.exe -k -o SAMKUSH  -r ^[\d]{11}

Code:
Pattern: [\d]{11}
Address: 17YTH2Q71386649479wnWtTEF3NJ3aK9a2
Privkey: 5Hw1HhRJFo47ezcy5EzxTLAZhGktHsCQwjdeS1E6XvWE3eERXkm

The '^' doesnt seem to work for me either though.

Edit:

'^^' works though:

vanitygen64.exe -k -o SAMKUSH.txt -r ^^[\d]{8}

Code:
Pattern: ^[\d]{8}
Address: 17768269jh3giLrpozKvjCosu98X12gJRB
Privkey: 5JNpEAKq3mx2vc57LcBZysPuTzCofdCg7K1U1JgXX74bEpVabqv
Pattern: ^[\d]{8}
Address: 14884368bPewmgWABDFn8XNHXKN4b2ErRL
Privkey: 5JNpyHYmBuHaKXUCUmAEWhkn2M2SSFa213bxhPiiiMDDhA24NBg
Pattern: ^[\d]{8}
Address: 182744784WEpk23dBW7jB1By5J4ywxoyD7
Privkey: 5JkzTuFzE3Dw59hWA1EVQGRApJ17Vr4qJLipSwCGavDef9rxsuA
Pattern: ^[\d]{8}
Address: 19648434yhgpeNXqPT8NHN97YFKYnvMvNx
Privkey: 5JBKiXBbSkEj9kQydEG6wZEtVSA95eZWREkAekVKFdztG9vXcQ8
Pattern: ^[\d]{8}
Address: 123234866Md6NmLDJXKzfnTa6a93Z1iFme
Privkey: 5JJF3PjnsB6ru7BwGx5cFtSgDnP2pFTRceDPKHZrYpmmTnjp8hC
Pattern: ^[\d]{8}
Address: 155474437b2vQLxZB7QKThJFtDgac2Xt9b
Privkey: 5KBe4nmTVxCUGeiQ6EgxMggikg2kukJMK8xajyqLxi5xTXP8SFs
Pattern: ^[\d]{8}
Address: 19319424xeUUaZ2SRNFghEXYx7HojoM82D
Privkey: 5Jthzx6hUUbBkfBhtNSEynFjsgM5TrKb8mFamjsZ1PajCxS5YD7
Pattern: ^[\d]{8}
Address: 14113546V8nkhKPorjYkXH2mi8ShTDJMGq
Privkey: 5KLhQZB3984gz49bjo7aDXg89UNtRAQqjuoD55JqSJuRbQpKEw3
Pattern: ^[\d]{8}
Address: 17753763cNwBUN19CaRRMBr8DPtm2ynNWB
Privkey: 5JNAB9AHF3d7cbSyegTBVr61UHFh8zehH3s3xzHjHPhkeEb3kk8
Pattern: ^[\d]{8}
Address: 13193477rRmjucC52er48h4SNPrDdHM7yU
Privkey: 5JPpRDrCBMj8CAWuqaP8F5mhDS3BzMLjn8FnqdPuYcw43XV5mz8
Pattern: ^[\d]{8}
Address: 19157632AA1rCGz8cNkknifwGD3QV5zoJ8
Privkey: 5Jr5bVc9wwKg14TuoKNAPw1XrncrfMvM5mm98g9evXHmCBTQEaV
Pattern: ^[\d]{8}
Address: 188271261kvAWWr9KSo6uDkRh1GtcCW2cZ
Privkey: 5JaXLizxjepBiWsT9ogzpjp7Etm6UKHPiZAsLSPwQj35kmjjR2i
Pattern: ^[\d]{8}
Address: 14717433Gahhx26sqNnWAZ5NsdoDC9T1QY
Privkey: 5JyRA8oHC31XEAQEBZxpqzntJaP2Hp4nNRWx3ytHDDYa2uZZPvZ
Pattern: ^[\d]{8}
Address: 16837797dMkXdQtT2y4WUm26pwYY8TDGvE
Privkey: 5Kj58fDAsoJcmKfzK1fhTttEGQCGH8kTnNCpPX9bcKzt4Fx7ZXX
Pattern: ^[\d]{8}
Address: 14494425oPiknGgqwnxUFthmu1JbXbDrce
Privkey: 5JgqXnUAZNUqFSy1hHnyYnT6iLRYTMoYDKNXQuzaJiCdG8yRvTM
Pattern: ^[\d]{8}
Address: 15413522higAeR14Z1PGSUWkoPCxGjenQN
Privkey: 5K79BXg9Mfptx1DrbjroBiexVpN2QA7fgvFpbfwtKt1BUUS6VeR
Pattern: ^[\d]{8}
Address: 19388867fv5wp3wvf1iGgq2H952keVnDeZ
Privkey: 5KYrnxR4sKgJM4hRin4aDtYQcQPAT4TDQzECDGLn53wpgCk7uof
Pattern: ^[\d]{8}
Address: 16689965d1kSTTn8sNcKuq5Uq8qD1VFVxW
Privkey: 5JMeVHfA4Qn759YHmfMwtbv8qnyYqS95DTHnRunjhgvq6waqzcZ
Pattern: ^[\d]{8}
Address: 16542812WPi8LrR6u2jJUR3yfRUCg3xMDC
Privkey: 5JpZH97tbec5iPfTimgkW6KQWBwcZUwRBrJU8qJYb4Y2AbSZJPN
Pattern: ^[\d]{8}
Address: 113443722b7cyAern4Mz5BV9mUguPnLVFY
Privkey: 5J6MuzVf51AKgjeEGRoULM7fnenAqpJcSACHcyFeh7JzkPC86nJ
Pattern: ^[\d]{8}
Address: 13966562vhqeFKp8sCcGBa1equqCAPMAdN
Privkey: 5KXrubhMNqXm2Gx3eswuVeaHUkdGxpxpcNFb6f5qTNEm7iKUssS

It shouldn't take years.  At approx. 600 Kkey/s I can find 34 addresses with nine digit runs using

Code:
vanitygen64 -k -r -o filename.txt 1[\d]{8}

Maybe you can use those numbers to figure out your time.

I'm running at 3.1Kkey/s, like I said, I'm using a very old PC, I will probably run it on a different machine and see how that goes.

 So it should take you about 5 and a half minutes per address with a 9 digit run.  That's not terrible.  Just let it run and walk away for a while.
Drop it back to searching for 8 digits and you should be able to find about 1 every minute.

I have left it for the past half an hour now and there is no file, do I have to create it first for the address to be stored in or will it be made when an address is found?

So far it says I have searched 10 million addresses

 @ 10million, you should have found 7 or 8 by now.  That's odd.
There is no need to create the file as it will be created as required.  You don't see anything else on the screen?


Thank you very much for your help, I think I have got it to work now. My only other question is do you know how many addresses I will have to search to have 8,9 10 digits in a row etc. to reach 50%.
copper member
Activity: 1498
Merit: 1528
No I dont escrow anymore.
July 28, 2016, 03:30:29 PM
#14
It shouldn't take years.  At approx. 600 Kkey/s I can find 34 addresses with nine digit runs using

Code:
vanitygen64 -k -r -o filename.txt 1[\d]{8}

Maybe you can use those numbers to figure out your time.

I'm running at 3.1Kkey/s, like I said, I'm using a very old PC, I will probably run it on a different machine and see how that goes.

 So it should take you about 5 and a half minutes per address with a 9 digit run.  That's not terrible.  Just let it run and walk away for a while.
Drop it back to searching for 8 digits and you should be able to find about 1 every minute.

I have left it for the past half an hour now and there is no file, do I have to create it first for the address to be stored in or will it be made when an address is found?

So far it says I have searched 10 million addresses

 @ 10million, you should have found 7 or 8 by now.  That's odd.
There is no need to create the file as it will be created as required.  You don't see anything else on the screen?


I see nothing on the screen, I will try search for 4 numbers just to see if I get an address

EDIT: I have just searched for 2 numbers and it comes up on the screen but no file is created

Works fine for me:

Code:
vanitygen64.exe -k -o SAMKUSH  -r ^[\d]{11}

Code:
Pattern: [\d]{11}
Address: 17YTH2Q71386649479wnWtTEF3NJ3aK9a2
Privkey: 5Hw1HhRJFo47ezcy5EzxTLAZhGktHsCQwjdeS1E6XvWE3eERXkm

The '^' doesnt seem to work for me either though.

Edit:

'^^' works though:

vanitygen64.exe -k -o SAMKUSH.txt -r ^^[\d]{8}

Code:
Pattern: ^[\d]{8}
Address: 17768269jh3giLrpozKvjCosu98X12gJRB
Privkey: 5JNpEAKq3mx2vc57LcBZysPuTzCofdCg7K1U1JgXX74bEpVabqv
Pattern: ^[\d]{8}
Address: 14884368bPewmgWABDFn8XNHXKN4b2ErRL
Privkey: 5JNpyHYmBuHaKXUCUmAEWhkn2M2SSFa213bxhPiiiMDDhA24NBg
Pattern: ^[\d]{8}
Address: 182744784WEpk23dBW7jB1By5J4ywxoyD7
Privkey: 5JkzTuFzE3Dw59hWA1EVQGRApJ17Vr4qJLipSwCGavDef9rxsuA
Pattern: ^[\d]{8}
Address: 19648434yhgpeNXqPT8NHN97YFKYnvMvNx
Privkey: 5JBKiXBbSkEj9kQydEG6wZEtVSA95eZWREkAekVKFdztG9vXcQ8
Pattern: ^[\d]{8}
Address: 123234866Md6NmLDJXKzfnTa6a93Z1iFme
Privkey: 5JJF3PjnsB6ru7BwGx5cFtSgDnP2pFTRceDPKHZrYpmmTnjp8hC
Pattern: ^[\d]{8}
Address: 155474437b2vQLxZB7QKThJFtDgac2Xt9b
Privkey: 5KBe4nmTVxCUGeiQ6EgxMggikg2kukJMK8xajyqLxi5xTXP8SFs
Pattern: ^[\d]{8}
Address: 19319424xeUUaZ2SRNFghEXYx7HojoM82D
Privkey: 5Jthzx6hUUbBkfBhtNSEynFjsgM5TrKb8mFamjsZ1PajCxS5YD7
Pattern: ^[\d]{8}
Address: 14113546V8nkhKPorjYkXH2mi8ShTDJMGq
Privkey: 5KLhQZB3984gz49bjo7aDXg89UNtRAQqjuoD55JqSJuRbQpKEw3
Pattern: ^[\d]{8}
Address: 17753763cNwBUN19CaRRMBr8DPtm2ynNWB
Privkey: 5JNAB9AHF3d7cbSyegTBVr61UHFh8zehH3s3xzHjHPhkeEb3kk8
Pattern: ^[\d]{8}
Address: 13193477rRmjucC52er48h4SNPrDdHM7yU
Privkey: 5JPpRDrCBMj8CAWuqaP8F5mhDS3BzMLjn8FnqdPuYcw43XV5mz8
Pattern: ^[\d]{8}
Address: 19157632AA1rCGz8cNkknifwGD3QV5zoJ8
Privkey: 5Jr5bVc9wwKg14TuoKNAPw1XrncrfMvM5mm98g9evXHmCBTQEaV
Pattern: ^[\d]{8}
Address: 188271261kvAWWr9KSo6uDkRh1GtcCW2cZ
Privkey: 5JaXLizxjepBiWsT9ogzpjp7Etm6UKHPiZAsLSPwQj35kmjjR2i
Pattern: ^[\d]{8}
Address: 14717433Gahhx26sqNnWAZ5NsdoDC9T1QY
Privkey: 5JyRA8oHC31XEAQEBZxpqzntJaP2Hp4nNRWx3ytHDDYa2uZZPvZ
Pattern: ^[\d]{8}
Address: 16837797dMkXdQtT2y4WUm26pwYY8TDGvE
Privkey: 5Kj58fDAsoJcmKfzK1fhTttEGQCGH8kTnNCpPX9bcKzt4Fx7ZXX
Pattern: ^[\d]{8}
Address: 14494425oPiknGgqwnxUFthmu1JbXbDrce
Privkey: 5JgqXnUAZNUqFSy1hHnyYnT6iLRYTMoYDKNXQuzaJiCdG8yRvTM
Pattern: ^[\d]{8}
Address: 15413522higAeR14Z1PGSUWkoPCxGjenQN
Privkey: 5K79BXg9Mfptx1DrbjroBiexVpN2QA7fgvFpbfwtKt1BUUS6VeR
Pattern: ^[\d]{8}
Address: 19388867fv5wp3wvf1iGgq2H952keVnDeZ
Privkey: 5KYrnxR4sKgJM4hRin4aDtYQcQPAT4TDQzECDGLn53wpgCk7uof
Pattern: ^[\d]{8}
Address: 16689965d1kSTTn8sNcKuq5Uq8qD1VFVxW
Privkey: 5JMeVHfA4Qn759YHmfMwtbv8qnyYqS95DTHnRunjhgvq6waqzcZ
Pattern: ^[\d]{8}
Address: 16542812WPi8LrR6u2jJUR3yfRUCg3xMDC
Privkey: 5JpZH97tbec5iPfTimgkW6KQWBwcZUwRBrJU8qJYb4Y2AbSZJPN
Pattern: ^[\d]{8}
Address: 113443722b7cyAern4Mz5BV9mUguPnLVFY
Privkey: 5J6MuzVf51AKgjeEGRoULM7fnenAqpJcSACHcyFeh7JzkPC86nJ
Pattern: ^[\d]{8}
Address: 13966562vhqeFKp8sCcGBa1equqCAPMAdN
Privkey: 5KXrubhMNqXm2Gx3eswuVeaHUkdGxpxpcNFb6f5qTNEm7iKUssS
sr. member
Activity: 406
Merit: 250
July 28, 2016, 03:12:46 PM
#13
It shouldn't take years.  At approx. 600 Kkey/s I can find 34 addresses with nine digit runs using

Code:
vanitygen64 -k -r -o filename.txt 1[\d]{8}

Maybe you can use those numbers to figure out your time.

I'm running at 3.1Kkey/s, like I said, I'm using a very old PC, I will probably run it on a different machine and see how that goes.

 So it should take you about 5 and a half minutes per address with a 9 digit run.  That's not terrible.  Just let it run and walk away for a while.
Drop it back to searching for 8 digits and you should be able to find about 1 every minute.

I have left it for the past half an hour now and there is no file, do I have to create it first for the address to be stored in or will it be made when an address is found?

So far it says I have searched 10 million addresses

 @ 10million, you should have found 7 or 8 by now.  That's odd.
There is no need to create the file as it will be created as required.  You don't see anything else on the screen?


I see nothing on the screen, I will try search for 4 numbers just to see if I get an address

EDIT: I have just searched for 2 numbers and it comes up on the screen but no file is created
legendary
Activity: 3808
Merit: 7912
July 28, 2016, 03:07:50 PM
#12
It shouldn't take years.  At approx. 600 Kkey/s I can find 34 addresses with nine digit runs using

Code:
vanitygen64 -k -r -o filename.txt 1[\d]{8}

Maybe you can use those numbers to figure out your time.

I'm running at 3.1Kkey/s, like I said, I'm using a very old PC, I will probably run it on a different machine and see how that goes.

 So it should take you about 5 and a half minutes per address with a 9 digit run.  That's not terrible.  Just let it run and walk away for a while.
Drop it back to searching for 8 digits and you should be able to find about 1 every minute.

I have left it for the past half an hour now and there is no file, do I have to create it first for the address to be stored in or will it be made when an address is found?

So far it says I have searched 10 million addresses

 @ 10million, you should have found 7 or 8 by now.  That's odd.
There is no need to create the file as it will be created as required.  You don't see anything else on the screen?
sr. member
Activity: 406
Merit: 250
July 28, 2016, 02:34:09 PM
#11
It shouldn't take years.  At approx. 600 Kkey/s I can find 34 addresses with nine digit runs using

Code:
vanitygen64 -k -r -o filename.txt 1[\d]{8}

Maybe you can use those numbers to figure out your time.

I'm running at 3.1Kkey/s, like I said, I'm using a very old PC, I will probably run it on a different machine and see how that goes.

 So it should take you about 5 and a half minutes per address with a 9 digit run.  That's not terrible.  Just let it run and walk away for a while.
Drop it back to searching for 8 digits and you should be able to find about 1 every minute.

I have left it for the past half an hour now and there is no file, do I have to create it first for the address to be stored in or will it be made when an address is found?

So far it says I have searched 10 million addresses
legendary
Activity: 3808
Merit: 7912
July 28, 2016, 01:52:13 PM
#10
It shouldn't take years.  At approx. 600 Kkey/s I can find 34 addresses with nine digit runs using

Code:
vanitygen64 -k -r -o filename.txt 1[\d]{8}

Maybe you can use those numbers to figure out your time.

I'm running at 3.1Kkey/s, like I said, I'm using a very old PC, I will probably run it on a different machine and see how that goes.

 So it should take you about 5 and a half minutes per address with a 9 digit run.  That's not terrible.  Just let it run and walk away for a while.
Drop it back to searching for 8 digits and you should be able to find about 1 every minute.
sr. member
Activity: 406
Merit: 250
July 28, 2016, 01:48:17 PM
#9
It shouldn't take years.  At approx. 600 Kkey/s I can find 34 addresses with nine digit runs using

Code:
vanitygen64 -k -r -o filename.txt 1[\d]{8}

Maybe you can use those numbers to figure out your time.

I'm running at 3.1Kkey/s, like I said, I'm using a very old PC, I will probably run it on a different machine and see how that goes.
legendary
Activity: 3808
Merit: 7912
July 28, 2016, 01:40:26 PM
#8
It shouldn't take years.  At approx. 600 Kkey/s I can find 34 addresses with nine digit runs using

Code:
vanitygen64 -k -r -o filename.txt 1[\d]{8}

Maybe you can use those numbers to figure out your time.
legendary
Activity: 3808
Merit: 7912
July 28, 2016, 01:33:45 PM
#7
I have vanitygen running on my pc and I was wondering if there was a way I could search for something like the first 8 characters must be a number but any number is ok. I can only see an option to search for an exact number or a set of characters.
This is very easy.  Vanity gen uses regular expressions.  Just start VanityGen and type this at the command line:
Code:
vanitygen64 -r 1[\d]{8}



 I like this method!  It is much more concise than what I showed you.  Still you may get a result which is not at the beginning of the address.  Also you can save the output to a file and use the -k switch so it will continue generating addresses of the specified format.

Code:
vanitygen64 -k -r -o filename.txt 1[\d]{8}

Use ctrl-c to stop the program.




The problem I am having right now is that when I use -r it does not estimate a time to reach 50%. The pc I'm using is old so I would need that to know if I'm wasting my time on an address that would take years to find.

Is there a calculation I could use to work out how long or is there an easier way?

Shoot because I put the leading 1 combined with {8} it is looking for a 9 number sequence beginning with 1
change it to
Code:
vanitygen64 -k -r -o filename.txt 1[\d]{7}
for 8 numbers
or even

Code:
vanitygen64 -k -r -o filename.txt 1[\d]{6}

for 7 numbers if it still takes too long.
sr. member
Activity: 406
Merit: 250
July 28, 2016, 01:12:05 PM
#6
I have vanitygen running on my pc and I was wondering if there was a way I could search for something like the first 8 characters must be a number but any number is ok. I can only see an option to search for an exact number or a set of characters.
This is very easy.  Vanity gen uses regular expressions.  Just start VanityGen and type this at the command line:
Code:
vanitygen64 -r 1[\d]{8}



 I like this method!  It is much more concise than what I showed you.  Still you may get a result which is not at the beginning of the address.  Also you can save the output to a file and use the -k switch so it will continue generating addresses of the specified format.

Code:
vanitygen64 -k -r -o filename.txt 1[\d]{8}

Use ctrl-c to stop the program.




The problem I am having right now is that when I use -r it does not estimate a time to reach 50%. The pc I'm using is old so I would need that to know if I'm wasting my time on an address that would take years to find.

Is there a calculation I could use to work out how long or is there an easier way?
legendary
Activity: 3808
Merit: 7912
July 28, 2016, 12:26:58 PM
#5
I have vanitygen running on my pc and I was wondering if there was a way I could search for something like the first 8 characters must be a number but any number is ok. I can only see an option to search for an exact number or a set of characters.
This is very easy.  Vanity gen uses regular expressions.  Just start VanityGen and type this at the command line:
Code:
vanitygen64 -r 1[\d]{8}



 I like this method!  It is much more concise than what I showed you.  Still you may get a result which is not at the beginning of the address.  Also you can save the output to a file and use the -k switch so it will continue generating addresses of the specified format.

Code:
vanitygen64 -k -r -o filename.txt 1[\d]{8}

Use ctrl-c to stop the program.


sr. member
Activity: 406
Merit: 250
July 28, 2016, 12:20:47 PM
#4
I have vanitygen running on my pc and I was wondering if there was a way I could search for something like the first 8 characters must be a number but any number is ok. I can only see an option to search for an exact number or a set of characters.
This is very easy.  Vanity gen uses regular expressions.  Just start VanityGen and type this at the command line:
Code:
vanitygen64 -r 1[\d]{8}


I have vanitygen running on my pc and I was wondering if there was a way I could search for something like the first 8 characters must be a number but any number is ok. I can only see an option to search for an exact number or a set of characters.

 You should move this to beginners and help section.  See link at the bottom left for move topic

You have to use regex so use the -r switch but it doesn't work with OCL so you will lose speed.
This will find occurrences of exactly 8 numbers in a row but it will appear anywhere in the address
Code:
vanitygen -r [1-9]{8}
You could try a leading one like this to get the beginning of the address
Code:
vanitygen -r 1[1-9]{7}
but that will not always show up at the beginning.

I think the ^ character represents the start of a string but I can't seem to get it to cooperate.
Code:
vanitygen -r ^[1-9]{8}


Thank you for your help, I will try this out and see if it works.
legendary
Activity: 3808
Merit: 7912
July 28, 2016, 12:04:11 PM
#3
I have vanitygen running on my pc and I was wondering if there was a way I could search for something like the first 8 characters must be a number but any number is ok. I can only see an option to search for an exact number or a set of characters.

 You should move this to beginners and help section.  See link at the bottom left for move topic

You have to use regex so use the -r switch but it doesn't work with OCL so you will lose speed.
This will find occurrences of exactly 8 numbers in a row but it will appear anywhere in the address
Code:
vanitygen -r [1-9]{8}
You could try a leading one like this to get the beginning of the address
Code:
vanitygen -r 1[1-9]{7}
but that will not always show up at the beginning.

I think the ^ character represents the start of a string but I can't seem to get it to cooperate.
Code:
vanitygen -r ^[1-9]{8}
full member
Activity: 399
Merit: 105
July 28, 2016, 12:01:02 PM
#2
I have vanitygen running on my pc and I was wondering if there was a way I could search for something like the first 8 characters must be a number but any number is ok. I can only see an option to search for an exact number or a set of characters.
This is very easy.  Vanity gen uses regular expressions.  Just start VanityGen and type this at the command line:
Code:
vanitygen64 -r 1[\d]{8}

Pages:
Jump to: