Help. I need a Symbol vanity address generator

I would like to create vanity addresses on Symbol because I like to tag accounts for clarity and simplicity when making transactions.

In the old days of NIS1, we had a few and they worked pretty well. Vanity Address Generator and Paper Wallets

But as of now, as far as I know, nobody has created one for Symbol.

If there are any community devs out there that want to give this a crack, I’m sure many people would use it.


hey @jabo38

I had a quick look at it, but I don’t publish it because I have strange results (but maybe there’s an explanation) : when I generate addresses from random private keys, I can generate keys that start with NBor NC but no matter how long I let it run, I don’t get any address starting with NE or NG. Maybe someone can spot an error in this code?

var regex = new RegExp("^N"+upCaseStart);
exec("openssl rand -hex 1000000", {maxBuffer: 8000000},(error, stdout, stderr) => {
    if (error) { 
        console.log(`error: ${error.message}`);
    if (stderr) {
        console.log(`stderr: ${stderr}`);
    var startIndex=0;
    var random= stdout.trim();
    while (random.length - startIndex >= 64) {
        var key = random.substr(startIndex, 64)
        var account=Account.createFromPrivateKey(key, NetworkType.MAIN_NET);
        var plain = account.address.plain();
        if (regex.test(plain)) {

As far as I know in NEM you have also only addresses starting only with NA, NB, NC, ND

But I and Kamil noticed other thing.
All addresses (testnet and mainnet) ending with one of: A, I, Q or Y.
It’s different than for NIS1

As announced here I put together a vanity address generator for the test net. Once validated, it can be switched to main net.

1 Like