Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

OMC 

How To Generate Your Own Custom OMC Addresses

VanityGen

Hi. There has been interest in wanting custom OMC addresses in this section, so here is a simple guide on how to make them yourself, safely. If you let someone else do it for you, they will ALWAYS have the ability to take funds from that address without your consent, forever. The person may be trusted, but you never know if he has a RAT installed with a malicious user seeing everything he does.

If you want something done right, do it yourself.

To start off, most of you are no doubt on the Windows operating system and have a graphics card that supports OpenCL. If not, that's fine, we will cover CPU generating as well.

Windows Users
Download: https://github.com/downloads/samr7/vanit...22-win.zip

Linux/OSX Users
Compile from source:
https://github.com/samr7/vanitygen

The VanityGen information page is still linked to version 0.20, which doesn't support some of the newer additions of 0.22, so make sure to get the right version.

Upon having downloaded the binaries/compiled depending on your OS, you will now see various files to use.

[Image: 83wvx.png]

The file you want to use depends on your system architecture and graphics card. In my case, my graphics card supports OCL (OpenCL), so I will be using "oclvanitygen". You can ignore the "oclminer"s, since we will not be using those. If you are planning on doing this on a CPU since you either lack a GPU or have one without OpenCL support, use "vanitygen" or "vanitygen64", the latter being for 64 bit systems.

Open a terminal/command promt and navigate to the folder the binaries are in. On Windows, you can easily do this by holding down
"Shift" and right clicking the folder window.

[Image: 83wGP.png]

This tool allows you to generate custom addresses for nearly ANY coin, as long as you get the flags right.

For Omnicoin, that flag is "-X 115". (Thanks to Furry~)

Additionally, some characters are not allowed to be part of an address, this is not the fault of VanityGen, but a limitation of the address hash. For example, an "O" (capital o) can not be used, and will produce an error:
[Image: 83x89.png]

To generate a custom OmniCoin address, execute the following command, replacing "oMohatu" with an address of your choice.
[Image: 83xoa.png]

You will now see it begin to look for an address that begins with what you want it to begin with. The shorter the prefix, the faster it will be found!

An example of "oMohatu":
[Image: 83xsm.png]

This shows that there is about a 50% chance of generating a custom address with that prefix in 20.5 minutes with an expected 100% chance in around 41 minutes, but not guaranteed as one can get unlucky. The higher the difficulty, the longer it will take. Keep in mind that I could theoretically get an address in a few seconds but that would be extremely unlikely.

My nVidia GTX570M can generate about 8.5 million addresses per second. A CPU will produce FAR less.

CPU example, i7-2670QM @ 2.2Ghz
[Image: 83xPA.png]

I hope this makes it easier for some of you, let me know if you have any questions.

Useful addition by ThisIsMyAccount:
(Apr 10, 2014 11:49 AM)ThisIsMyAccount Wrote:  Another useful thing to add to this, use the -o flag to get all the keys you generate in a text file so it's easy to import them to your wallet. Also -i will make it case insensitive, so it'll generate quicker. Nice tut Mohatu.

Adding the Private Key to your wallet

In the OmniCoin wallet, go to Help->Debug Window
[Image: 83yx7.jpg]

Switch to the "Console" tab.
[Image: 83yA5.jpg]

Then execute the command with the hash you received:
"importprivkey <VanityGen hash> <Name>"



For the best possible speed, run all this on a Raspberry Pi.
Sheer raw computing power.

[Image: 8rGsQ.jpg]
Crypto
Looks like a great tutorial, I'll do it right now :D
Spoiler (Click to View)
hey 1 question how would you use this address in action
in your wallet ??
Thank you for sharing this, but when i indicate
Code
-X 115
as flag i get
Quote:"Hint: valid bitcoin addresses begin with 1

:/
Another useful thing to add to this, use the -o flag to get all the keys you generate in a text file so it's easy to import them to your wallet. Also -i will make it case insensitive, so it'll generate quicker. Nice tut Mohatu.
(Apr 10, 2014 11:47 AM)scammedperson Wrote:  hey 1 question how would you use this address in action
in your wallet ??

In the OmniCoin wallet, go to Help->Debug Window
[Image: 83yx7.jpg]

Switch to the "Console" tab.
[Image: 83yA5.jpg]

Then execute the command with the hash you received:
"importprivkey <VanityGen hash> <Name>"

If you've ecrypted your wallet, be sure to unlock it first.

(Apr 10, 2014 11:48 AM)Ombra Wrote:  Thank you for sharing this, but when i indicate
Code
-X 115
as flag i get
:/

That means that the first letter of your address is invalid. Remember that it MUST be a lower case "o" for Omnicoin addresses.

(Apr 10, 2014 11:49 AM)ThisIsMyAccount Wrote:  Another useful thing to add to this, use the -o flag to get all the keys you generate in a text file so it's easy to import them to your wallet. Also -i will make it case insensitive, so it'll generate quicker. Nice tut Mohatu.

Perfect, added it to the thread.
Crypto
Thanks for this Mohatu going to check it out later :)
[Image: ZEve4.png]
All it does is tell me the difficulty and tell me my available OpenCL platforms.
[Image: asWKqqH.gif]
(Apr 10, 2014 11:51 AM)Mohatu Wrote:  That means that the first letter of your address is invalid. Remember that it MUST be a lower case "o" for Omnicoin addresses.

It's not that :c
[Image: 7Ya1OuX.png]
(Apr 10, 2014 11:59 AM)Ombra Wrote:  It's not that :c
[Image: 7Ya1OuX.png]

"m" is not a valid character for an Omnicoin wallet address, use "M" instead.

(Apr 10, 2014 11:59 AM)Magicmann Wrote:  All it does is tell me the difficulty and tell me my available OpenCL platforms.

Could you post a screenshot please?
Crypto
(Apr 10, 2014 12:03 PM)Mohatu Wrote:  "m" is not a valid character for an Omnicoin wallet address, use "M" instead.


Could you post a screenshot please?

Solved, thank you very much 👍
(Apr 10, 2014 12:03 PM)Mohatu Wrote:  Could you post a screenshot please?

[img]http://s23.postimg.org/4yu1r297v/vanitygen.png[/img]
[Image: asWKqqH.gif]
Could you please help me? After i name i get this: [Image: FPCniQy.png]

I don't know what to do now :s
When i generate my address it gives me a GPU hash... nothing else

Spoiler (Click to View)
(Apr 10, 2014 12:06 PM)Magicmann Wrote:  [img]http://s23.postimg.org/4yu1r297v/vanitygen.png[/img]

Just saw your post about 'm' being invalid.

And yet even after changing the lowercase M to capital, I still don't get a hashrate.
[Image: asWKqqH.gif]


Possibly Related Threads...
Thread / Author Replies Views Last Post
by VoxconOct 11, 2020 01:38 PM 4 160 Oct 11, 2020 01:38 PM
Last Post: Voxcon
by intJul 30, 2019 09:42 AM 0 80 Jul 30, 2019 09:42 AM
Last Post: int
by TsukiriJan 22, 2018 01:41 PM 2 122 Jan 22, 2018 01:41 PM
Last Post: Tsukiri