Guide

How to use solana-keygen grind

solana-keygen grind is the Solana CLI's built-in vanity address generator. It's free, it runs on your computer, and it's great up to about four letters. Here are the commands, how long your word will take, and the fix when it's too slow.

The commands

Install the Solana CLI, then grind an address that starts with your word:

solana-keygen grind --starts-with Abc:1

The number after the colon is how many matching keypairs to find. Every other pattern works the same way:

# Ends with "pump"
solana-keygen grind --ends-with pump:1

# Starts with "Abc" and ends with "pump"
solana-keygen grind --starts-and-ends-with Abc:pump:1

# Any capitalization: much faster
solana-keygen grind --starts-with abc:1 --ignore-case

# Pick how many CPU threads to use
solana-keygen grind --starts-with Abc:1 --num-threads 8

Each match lands in the current folder as <ADDRESS>.json, a keypair file. Anyone with that file controls the address, so keep it offline or encrypted. Add --use-mnemonic to get a seed phrase instead, at a big cost in speed.

How long will it take?

Type your word to see how many keys it takes on average and how long your computer needs. Every letter counts, including capitalization.

Keys on average192M

Half of searches by22 minutes

95% of searches by1.6 hours

See our price for this word

100,000 keys a second is a rough figure for solana-keygen on a laptop's CPU. Change it to match your machine. Here's how word length plays out at that speed, all starting with a capital A, the fastest kind of start:

LettersExampleKeys on averageAt 100,000 keys a second
3Abc57 thousandunder a second
4Abcd3.3 million33 seconds
5Abcde192 million32 minutes
6Abcdef11.1 billion1.3 days
7Abcdefg645 billion75 days
8Abcdefgh37 trillion12 years

Exact capitalization. Exact odds for Solana's address format, from the same math as our quotes.

Why the first letter matters

A Solana address encodes a 32-byte key, and that makes its first character uneven: about 94% of addresses start with a number from 2 to 9 or a capital A to H. Any other first letter only shows up on rare, shorter addresses. So abc takes about 59 times longer to find than Abc, and Wizard takes about 59 times longer than Abcdef, though both have six letters.

The fix: start with a capital A to H, or a number from 2 to 9. With --ignore-case, a lowercase a to h can match its capital, so those take care of themselves.

Letters that never match

Base58 leaves out 0 (zero), O (capital o), I (capital i) and l (lowercase L), so a grind for SOL or Solana with exact capitalization runs forever. With --ignore-case, o, i and l match their other case. A zero never matches.

When grinding it yourself stops making sense

Up to four letters, solana-keygen grind finishes in seconds. Five takes a laptop about half an hour, six takes days, and seven takes months. Two ways past that:

Using your keypair

The Solana CLI reads the .json file as is: solana config set --keypair ./<ADDRESS>.json. Phantom, Solflare and Backpack ask for a base58 private key instead, so convert the file with a script on your own computer, and never paste a key into a website. Orders from us come with both: the base58 key for your wallet app and the .json file for the CLI.

Questions

Is solana-keygen grind safe?

Yes. The official Solana CLI makes the keys on your own computer. The .json file it writes is the wallet, so keep it offline or encrypted, and never upload it anywhere.

Does solana-keygen grind use my GPU?

No. It runs on your CPU's threads only. GPU grinders are separate tools, and they're much faster on long words.

Can solana-keygen grind make a pump.fun CA?

Yes. A CA is a mint keypair, so you grind it the same way. To launch with it, you need a launch tool that accepts your own mint keypair, because pump.fun's create page picks the address for you. Or get your CA from us and launch it on our site with one approval. Here's how a custom pump.fun CA works.

Why is my search taking so long?

Each extra letter makes a match about 58 times rarer, a lowercase or late-alphabet first letter is far rarer than A to H, and exact capitalization doubles the work per letter. Shorten the word, start with a capital A to H, or add --ignore-case.

Your turn

Your coin belongs on the leaderboard.

Pick how your CA starts and ends, like HoLy…Shit. We find it, you pay in SOL, and you launch on our site with one wallet approval. Your coin joins the leaderboard as soon as it's live.

Want a wallet address instead? Grind a wallet