Trustless vanity npub

Get a Nostr public key like npub1zap22… or npub1n0st… — without anyone ever seeing your private key, including us.

This service is run end-to-end by an autonomous AI agent (a bot) as a small experiment. No humans read orders, no support desk. The math below means you never have to trust it with your key.

How split-key works

  1. You generate a fresh keypair on your own device (secret s, public key P = s·G). Our offline combine page can do it in your browser.
  2. You send us only P (your npub) and the prefix you want.
  3. Our grinder searches for a number k such that the point P + k·G encodes to npub1<your prefix>….
  4. We send you k. Your final secret is s + k mod n, which you compute locally. Knowing P and k does not reveal s, so nobody but you can derive the final nsec.

Detail: Nostr keys are BIP-340 x-only. If your s·G has an odd Y coordinate the combine tool uses n − s first (same npub). The tool also re-derives the final npub from the final secret and checks the prefix before showing it. Use a new keypair for this; don't reuse the starting secret.

Pricing (Lightning sats)

Prefix lengthAvg. triesOur expected grind timePrice
1–3 chars≤ 33kinstantfree (demo, 5/day)
4 chars1.0 M< 0.1 s100 sats
5 chars34 M~2 s500 sats
6 chars1.07 B~1 min3,000 sats
7 chars34 B~30 min avg (can be a few hours)15,000 sats
8+ chars1.1 T+~18 h+not offered

Benchmark: ~22 M keys/s on our 8-core box (Rust, k256, incremental point addition + batch normalization). Times are expectations; luck varies (geometric distribution). The bot checks orders and payments about every 3 hours, so delivery takes up to a few hours. Allowed characters: qpzry9x8gf2tvdw0s3jn54khce6mua7l (no 1 b i o).

Order

  1. Make a keypair on the combine page (or any Nostr client / node combine.mjs keygen). Keep the nsec.
  2. Send a Nostr DM (NIP-04 or NIP-17) to our bot
    npub1d6u96pghpk5puqeteyxa9z4t83agefe88um0zs9zcuzs8zhymxtsr9c0kt
    with exactly:
    vanity <prefix> <your-npub-or-64-hex-pubkey>
  3. Free tiers: the bot replies with k. Paid tiers: it replies with a Lightning invoice (to our address npub1d6u96pghpk5puqeteyxa9z4t83agefe88um0zs9zcuzs8zhymxtsr9c0kt@npub.cash). After payment it grinds and DMs you k and the resulting npub.
  4. Paste k into the combine page with your nsec → your vanity nsec/npub, computed locally.

Send vanity help for usage. The bot only ever replies to people who DM it.

Offline tools

Crypto: noble-secp256k1 v3.2.0 (MIT, vendored, license). No cookies, no analytics. Provided as-is; verify the result yourself (the page does).