Author

Topic: Vanitygen: Vanity bitcoin address generator/miner [v0.22] - page 110. (Read 1153383 times)

sr. member
Activity: 266
Merit: 250
I'm sorry, I didn't read the whole topic. Is there any way the result to be exported in a text file?
Thanks.
just right click, mark the data you want, ctrl-v copy and paste into a txt file.
legendary
Activity: 1512
Merit: 1036
I'm sorry, I didn't read the whole topic. Is there any way the result to be exported in a text file?
Thanks.
:
Installation:

  • If GPU acceleration is desired, install ATI Drivers v11.10-v11.11 (with SDK 2.5) or only another driver version already verified to work with your GPU, and test that OpenCL is working (with GPU miner software, etc). If drivers with SDK >2.5 have been installed, files may need to be manually removed.
  • Download and unzip vanitygen-0.22-win.zip to it's own directory.
  • To interact with the program, you need to open a terminal/shell/command prompt in the program's directory. In Windows Vista/Win7 Explorer, hold down the shift key on the keyboard while right-clicking the folder where vanitygen was extracted, and choose Open command window here.
  • Test CPU operation. This command line will generate a Bitcoin addresses beginning with 1ABCD in around a minute or less:
    >vanitygen 1ABCD
  • Test GPU operation. This command line will generate a Bitcoin addresses beginning with 1ABCDE in around a minute, using the first OpenCL device in your system:
    >oclvanitygen -d 0 1ABCDE

OpenCL GPU device configuration:

OpenCL is the language used for talking to a GPU, and is installed with the video card driver. If the above GPU command didn't run correctly, generating over 1Mkey/s, then you should examine your OpenCL configuration. Remove the -d 0 option ("use device #0") from the command line above and run it again, which will list available OpenCL devices. Here's mine:

>oclvanitygen 1ABCD
Available OpenCL platforms:
0: [Advanced Micro Devices, Inc.] AMD Accelerated Parallel Processing
  0: [Advanced Micro Devices, Inc.] Juniper
  1: [GenuineIntel] Intel(R) Core(TM)2 Quad CPU    Q6600  @ 2.40GHz


Both a GPU and the system CPU are available in my system; on yours, the GPU may not be the first listed. "Juniper" is this AMD GPU's code name.

The first line is the platform number, the second two lines are the available devices under that platform. Change the -d 0 line in the example above to the GPU desired. If no GPU is shown, the video card driver or OpenCL is not installed properly. If you have multiple OpenCL SDKs or implementations installed, more than one platform may be shown, specify the correct one (e.g. -p 1 for the second platform if shown.)

Example command lines (oclvanitygen, device 0, default platform):

  • Search for exact prefix 1ABCDE, keep searching after first match is found (-k):
    >oclvanitygen -d 0 -k 1ABCDE
  • Search for prefix 1ABCDE in any combination of upper or lower case (-i):
    >oclvanitygen -d 0 -i 1ABCDE
  • Search for ABCD anywhere in address (only supported on CPU vanitygen) (-r):
    >vanitygen -r ABCD
  • Search for prefix 1ABCDE, use a seed file to make address generation more secure and random (-s):
    >oclvanitygen -d 0 -s RandomSeedFile.txt 1ABCDE
  • Search for prefix 1ABCDE, keep searching after first match is found, and save all found address to a file:
    >oclvanitygen -d 0 -k -o GeneratedAddresses.txt 1ABCDE
  • Search for many prefixes at once using a text file listing them (newline after each prefix including last):
    >oclvanitygen -d 0 -k -f PrefixList.txt
  • Use all options above including case-insensitive search, and turn on verbose mode for more information:
    >oclvanitygen -d 0 -v -i -k -f PrefixList.txt -o GeneratedAddresses.txt -s RandomSeedFile.txt

I found an address, now what?

Vanitygen finds an address that matches your search parameters, and provides the private key for that address. The private key is never shown to you in the Bitcoin client; it is used behind the scenes, and is the secret part of your address that you should never give to anyone.

The mainline Bitcoin client does not have the ability to use private keys directly, but you can do other things to use bitcoins sent to your new address:

  • In Bitcoin-qt: Help -> Debug window -> Console. Type importprivkey 5Jxxxxxxxxxxx "my vanity addr"
  • Use an alternate Bitcoin client, such as Armory, that has an "import private key" feature,
  • Use a web wallet or exchange service that allows you to add a private key to your account (usually insecure and irreversable).

hero member
Activity: 685
Merit: 500
I'm sorry, I didn't read the whole topic. Is there any way the result to be exported in a text file?
Thanks.
sr. member
Activity: 266
Merit: 250
Update! I got my 6950 to work by uninstalling all catalyst drivers ,and only installing the amd app sdk 2.8 runtime. It is going at about 17-18 Mkeys/sec
newbie
Activity: 48
Merit: 0
:173:19: error: constant address space qualified variables are required to be initialized"
Check out:
https://github.com/samr7/vanitygen/issues/38

Looks like it may be specific to trying it on Intel CPUs.

That was the conclusion I came to as well.
Thank you for your help, everyone.
sr. member
Activity: 266
Merit: 250
could you help me out?
I'm not familiar with the error - I did Google, but 'stackhash bex' yields umpteenthousand results, often from gamers, with 'solutions' ranging from disabling DEP (unlikely), disabling antivirus (ehhh..) to messing around with driver installs.  No idea.

OCLVanitygen still does not work with latest AMD APP SDK.
What's wrong with that?
Also no idea Wink

Note that I'm not the developer - the developer hasn't been around for quite a while and scant few others are still actively involved with forks, so I wouldn't expect any active development on vanity generators.. especially as the (Bitcoin) network evolves and vanity addresses become marginalized through technological and ideological steps.
hmm, so you reckon i do a fresh reinstall or what?
hero member
Activity: 686
Merit: 500
FUN > ROI
could you help me out?
I'm not familiar with the error - I did Google, but 'stackhash bex' yields umpteenthousand results, often from gamers, with 'solutions' ranging from disabling DEP (unlikely), disabling antivirus (ehhh..) to messing around with driver installs.  No idea.

OCLVanitygen still does not work with latest AMD APP SDK.
What's wrong with that?
Also no idea Wink

Note that I'm not the developer - the developer hasn't been around for quite a while and scant few others are still actively involved with forks, so I wouldn't expect any active development on vanity generators.. especially as the (Bitcoin) network evolves and vanity addresses become marginalized through technological and ideological steps.
sr. member
Activity: 266
Merit: 250
:173:19: error: constant address space qualified variables are required to be initialized"
Check out:
https://github.com/samr7/vanitygen/issues/38

Looks like it may be specific to trying it on Intel CPUs.
could you help me out?
hero member
Activity: 686
Merit: 500
FUN > ROI
:173:19: error: constant address space qualified variables are required to be initialized"
Check out:
https://github.com/samr7/vanitygen/issues/38

Looks like it may be specific to trying it on Intel CPUs.
sr. member
Activity: 266
Merit: 250
It crashes when I enter the command and I am getting a stackhash bex error
legendary
Activity: 1260
Merit: 1168
This message was too old and has been purged
newbie
Activity: 48
Merit: 0
Looks like that was the problem. Get some others errors now, but I'll try to figure them out first.

:173:19: error: constant address space qualified variables are required to be initialized"

Thank you for your help.
hero member
Activity: 686
Merit: 500
FUN > ROI
Okay, that's probably (hopefully(!)) the issue then.  In a command prompt, 'cd' over to the appropriate folder, then run from there.
sr. member
Activity: 266
Merit: 250
Wow, could anyone tell me how to get my gpu up and working? I've tried uninstalling my drivers, reinstalling 12.10 catalyst drivers, 2.7 amd app ask runtime, and yet when I use oclvanitygen, it still only uses my CPU to mine. Why is that so? The Opencl devices are both 0:... And 0:...
newbie
Activity: 48
Merit: 0
I'm really bad at command line prompts, so I right clicked cmd and run as admin. I then go to the folder with oclvanitygen and drag and drop the exe into the cmd which loads the path for me, then I add the commands after the path and hit enter.
hero member
Activity: 686
Merit: 500
FUN > ROI
I downloaded from the original post. I didn't know there were updates to the code.
See:
https://bitcointalksearch.org/topic/m.6048543

Do I need to point to the calc_addrs.cl file somehow?
No - should work 'as is', and 0.22 should definitely be working.

The only time I can get that error to show up, even though the file is in that folder, is if I launch it from a different folder.

e.g. say I'm in c:\Users\ and then enter the command "c:\Users\Me\SomeFolder\oclvanitygen.exe ..."
If I cd over to c:\Users\Me\SomeFolder\ and then enter the command "oclvanitygen.exe ...", all is fine.
So are you sure you're starting it from that folder, or are you starting it from a different folder?
newbie
Activity: 48
Merit: 0
I downloaded from the original post. I didn't know there were updates to the code.
Tried as administrator and received the same error.

 Directory of C:\Users\x\xx\Vanity

04/21/2014  10:09 AM              .
04/21/2014  10:09 AM              ..
07/01/2012  12:58 AM           214,312 cacert.pem
06/29/2012  11:53 PM            36,553 calc_addrs.cl
10/11/2012  08:28 PM         1,188,864 oclvanitygen.exe
10/11/2012  08:29 PM         1,855,488 oclvanityminer.exe
10/11/2012  08:29 PM         2,514,944 oclvanityminer64.exe
10/11/2012  08:28 PM         1,160,192 vanitygen.exe
10/11/2012  08:29 PM         1,621,504 vanitygen64.exe
               7 File(s)      8,591,857 bytes
               2 Dir(s)  321,862,152,192 bytes free

Do I need to point to the calc_addrs.cl file somehow?

hero member
Activity: 686
Merit: 500
FUN > ROI
Error loading kernel file 'calc_addrs.cl': No such file or directory

What am I missing or doing wrong?
Not sure..
Did you build it yourself, or downloaded?
If you downloaded - which one? (if all else fails try all 3 listed earlier)
In a command prompt, if you type 'dir', does 'calc_addrs.cl' show up (I know you say it is, just trying to eliminate some Windows bits)?  If 'yes', try executing from the command prompt (if you haven't been).  Also try executing it as Administrator, just in case you've got some whack permissions going on in your user folder.

Note that this error is very specifically about not being able to open the file for reading, so is unrelated to any hardware issues.
newbie
Activity: 48
Merit: 0
Having trouble with oclvanitygen.

Command I enter: C:\Users\x\xx\Vanity\oclvanitygen.exe -v -i -p 0 -d 0 1slamma

What I receive back:

Prefix difficulty:          27763956579 1slamma
Difficulty: 27763956579
Device:       Intel(R) Core(TM) i7-3632QM CPU @ 2.20GHz
Vendor: Intel(R) Corporation (8086)
Driver: 3.0.1.10123
Profile: FULL_PROFILE
Version: OpenCL 1.2 (Build 75658)
Max compute units: 8
Max workgroup size: 1024
Global memory: 2147352576
Max allocation: 536838144
OpenCL compiler flags: -DDEEP_PREPROC_UNROLL
Error loading kernel file 'calc_addrs.cl': No such file or directory
Available OpenCL platforms:
0: [Intel(R) Corporation] Intel(R) OpenCL
  0: [Intel(R) Corporation]       Intel(R) Core(TM) i7-3632QM CPU @ 2.20GHz
  1: [Intel(R) Corporation] Intel(R) HD Graphics 4000

The calc_addrs.cl is in the same folder as the oclvanitygen.

What am I missing or doing wrong?
hero member
Activity: 686
Merit: 500
FUN > ROI
Vanitygen uses the OpenSSL random number generator.
Is it safe to use Vanitygen after the uncovering of the Heartbleed bug in OpenSSL? Is it affected and/or it has been fixed?
Yes, it's safe - it's not a service or client that deals with TLS HeartBeat at all, OpenSSL is pretty much only used to generate the key pairs.

Note that I don't think it actually stores these key pairs securely in memory (nevermind if you output it to a file, of course) unless you use the 'prompt for password' option, so if you've already got a trojan on your machine and that thing happens to look for (ocl)vanitygen and tries to pilfer things, it would know the keys to your vanity address - but at that point vanitygen's storage methods are probably the least of your worries Smiley  But at least that's unrelated entirely to OpenSSL and the heartbleed bug.
Jump to: