Stacks · STX · offline
Stacks vanity address generator
Create a real Stacks address that starts with, ends with, or contains your own pattern — generated on your machine. No accounts, no telemetry, keys never leave your device.
How Stacks addresses work
Stacks mainnet singlesig addresses start with SP and use Crockford base32 (c32check) over hash160 of a compressed secp256k1 public key.
The alphabet is uppercase 0–9 A–Z without I L O U, so patterns must fit that set.
Alphabet: c32 (32 symbols per position). Typical shape: SP…MOON.
How to generate a Stacks vanity address
- Open the web generator or run
npx vanity-address. - Choose Stacks (
stx). - Enter a short prefix, suffix, or contains pattern using the c32 alphabet.
- Check the ETA, grind, then verify the result before using it.
npx vanity-address --chain stx --suffix MOON
How long will it take?
Each extra character multiplies the work by about 32. Times below are illustrative at one million keys per second; your device may be faster or slower. Use the difficulty calculator with your own speed.
| Pattern length | Expected attempts | Average time @ 1M keys/s |
|---|---|---|
| 1 | 32 | under a second |
| 2 | 1,024 | under a second |
| 3 | 32,768 | under a second |
| 4 | 1.0 million | 1 second |
| 5 | 33.6 million | 34 seconds |
| 6 | 1.1 billion | 18 minutes |
| 7 | 34.4 billion | 9.5 hours |
| 8 | 1.1 trillion | 13 days |
Tips for Stacks
- Prefer uppercase suffixes that avoid I, L, O and U.
- The same key can also derive a linked Bitcoin P2PKH address.
- Import hex or WIF into Hiro / Leather / Xverse-compatible wallets.
Safety
Whoever holds the private key controls the funds. vanity-address creates keys locally from your operating system's secure random source and re-derives every address on the CPU before export. The exported file is a plaintext secret: keep it offline and never commit or email it. Read the security model before moving significant value.
Frequently asked questions
Why do Stacks addresses start with SP?
The leading S marks c32check, and version 0x16 encodes to P for mainnet singlesig.
Can I use lowercase patterns?
c32 is uppercase-only; the tool normalises case where appropriate.