ETH Logo

EthVanity

Custom Address Generator

Buy us a coffee

Our free tools run entirely on donations. Your support helps maintain the website and develop the tools. Generation runs locally on your device. If we helped you today, a small donation helps keep this service free for everyone.

ETH · Ethereum network
0xcf5777b71c31146bd396cece6d3128e42d0ad9f7

Thank you for keeping us running! ❤️

Comparison

Foundry cast wallet vanity vs Vanity-ETH: Terminal or Web Page?

Foundry cast wallet vanity vs Vanity-ETH: pattern options, letter case, contract addresses, keystore export, key safety and wallet import compared.

By Updated 2 min readRead as Markdown

Diagram contrasting cast wallet vanity in a terminal with Vanity-ETH in a web page
cast wallet vanity vs Vanity-ETH. cast: Terminal, regex, contract nonce; Vanity-ETH: Web page, EIP-55 case, keystore; Same result: A standard 0x account and key.Open full-size diagram (SVG)Download diagram (PNG)About these visual guides
Short answer: Pick cast wallet vanity if you already use Foundry, want regex or scripted searches, or need the address of a contract a key will deploy. Pick Vanity-ETH if you want a web page, exact EIP-55 case matching and a password-encrypted keystore file. Both are free, open source and produce the same kind of 0x address.

The two tools at a glance

cast wallet vanityVanity-ETH
Runs asCommand line (Foundry)Web page with Web Workers; offline build available
Pattern options--starts-with, --ends-with, hex or regexPrefix, suffix or both
Letter caseIgnored for hex patternsOptional EIP-55 checksum case
Threads--threadsAdjustable thread count
Contract address search--nonce; cast create2 --starts-with for a saltNo
Key outputPrivate key; --save-path appends JSONPrivate key or encrypted keystore
LicenseOpen sourceMIT

The core job is identical; the way you run it is not.

Which is safer for creating the key?

Neither interface is safer by itself. What matters is the random number source and the machine the tool runs on. Both projects publish their code, so key generation can be reviewed. The cautionary case is Profanity, which seeded keys from 32 bits.

  • Run either tool on a computer you trust.
  • Save the key before you close the terminal or the page.
  • If the key must stay on disk, an encrypted file beats plain text; Vanity-ETH's keystore uses a password you choose.
  • Do not reuse a key that appeared in a shared screen, a log or a chat.

Importing the result

Both give a 64-character hex private key, which MetaMask, Rabby and Trust Wallet import as a standalone account. Vanity-ETH's README says its keystore file also works with MyEtherWallet, MetaMask, Mist and geth.

An imported account is not covered by the wallet's recovery phrase, so back up the key on its own. The MetaMask import guide lists the checks.

Vanity contract addresses

Only cast covers this. --nonce finds a key whose contract at a given nonce matches your pattern, and cast create2 searches a salt for a factory deployment. Vanity-ETH searches account addresses only.

Which one should you use?

For one short prefix or suffix with an estimate before you start, EthVanity is a third option; the EthVanity vs Vanity-ETH comparison covers that pairing.

You needBetter fit
A web page, no installVanity-ETH
Exact checksum caseVanity-ETH
An encrypted keystore fileVanity-ETH
Regex, scripts or JSON outputcast wallet vanity
A contract address at a nonce, or a CREATE2 saltcast

Sources and editorial method

The technical references below support the concepts discussed in this article. Examples and comparison worksheets are explanatory, not measured service benchmarks.

Read how these articles are prepared.

cast wallet vanity vs Vanity-ETH | EthVanity