Staker Community

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Generating Custom BTC Addresses[UNIX][GPU]  (Read 129 times)


  • 10K Club
  • Jr. Member
  • *
  • Karma: +5/-0
  • Posts: 82
    • View Profile
Generating Custom BTC Addresses[UNIX][GPU]
« on: October 30, 2018, 07:10:04 AM »

There are lot of online websites to offers the same, but most of use will never trust them because of private key storing.

I was tested on windows about 2 years ago (with a 2nd generation intel i7), but since I've using ubuntu for my rigs, these slow days, I had a time to test on my system.
I can confirm that, generating bitcoin addresses with my 1070s, It was 40x-50x faster than my i7.

I didnt test with ati cards yet but works perfect with nvidias.
If you re using ubuntu(14.xx and later) or hiveOS, It will be easy for you, because almost all necessary components pre-installed by default.
You don't need to stop your rigs. Just during the generation, GPU0 hash will be down about 50% until you have finish the generation.

Let's start the generate.

1-) If not installed, we re gonna get the repo;
Code: [Select]
cd ~
git clone
cd vanitygen-plus
make all

2-) Probably you will get an error when you run "make all".  Our system have some missing components. Let's solve this with;
Code: [Select]
apt-get install opencl-headers libssl-dev libpcre3-dev ocl-icd-dev ocl-icd-dbg

3-) If its succesfull, we can call "make all" again.
Code: [Select]
make all
4-) It should be done without any problem. Now we are ready to generate.
Firstly, we will test for only one address with the command below;
Code: [Select]
./oclvanitygen -D 0:0 -o test.txt 1testThis command will generate one address with starts "1testXXXXXXXXX" and will stop to run.
Address and the key will be stored on test.txt file.

5-) Let's start to bulk generation with "-k" option.
Code: [Select]
./oclvanitygen -D 0:0 -k -o test.txt 1yournameIt will start to generate until you stop the program with "CTRL-C".

You can use mRemoteNG or putty for that with "screen". As unix users know, we have a great option to use long term command usages, screens!
If you run the program under a screen, you dont need to keep alive/open your ssh session.

Creating a new screen "screen -S myscreenmane"
De-attaching from a screen  press "CTRL-A" first, release the keys, than press "D".You will back you main screen.
Entering a screen back : "screen -r myscreenname"

(*) I know Its not really generating custom BTC address, code using regex(Regular Expressions) and just filtering your entry, but at the end of the day, you will get your want.

Original Post by me from;

BTC Addresses:


  • Jr. Member
  • **
  • Karma: +1/-0
  • Posts: 51
  • - POS Smart Contract ETH Token
    • View Profile
Re: Generating Custom BTC Addresses[UNIX][GPU]
« Reply #1 on: October 30, 2018, 08:23:39 AM »

Thanks for sharing a useful article. I appreciate this content.