# cast wallet vanity or Vanity-ETH: Choosing a Tool for Your Custom Address

Source: https://www.customethaddress.com/blog/cast-wallet-vanity-or-vanity-eth

Published: 2026-11-29

Updated: 2026-11-29

![cast or Vanity-ETH for your address. Team of devs: cast in a script or CI job; Non-developers: Vanity-ETH in a browser; Either way: Record and verify the full address.](https://www.customethaddress.com/images/blog/cast-or-vanity-eth-custom-address.webp)

cast or Vanity-ETH for your address. Team of devs: cast in a script or CI job; Non-developers: Vanity-ETH in a browser; Either way: Record and verify the full address.

[Full-size diagram (SVG)](https://www.customethaddress.com/images/blog/cast-or-vanity-eth-custom-address.svg)

[Diagram download (PNG)](https://www.customethaddress.com/images/blog/cast-or-vanity-eth-custom-address.png)

Decide by who will run the search. Developers who already work with Foundry, or who need a contract address at a given nonce, should use cast wallet vanity. Anyone who prefers a browser, wants exact checksum capitals or a password-locked keystore should use Vanity-ETH. The address type is identical, and both tools are free and open source.

## Side by side

Same kind of result, very different routes to it.


|  | cast wallet vanity | Vanity-ETH |
| --- | --- | --- |
| Who it suits | Developers using Foundry | Anyone with a browser |
| Where to type the pattern | --starts-with and --ends-with flags | Prefix and suffix fields |
| Pattern style | Hex or regular expression | Hex |
| Capital letters | Not matched; lowercase comparison | Optional EIP-55 match |
| Contract addresses | --nonce, plus cast create2 for salts | Not offered |
| Key delivery | Raw key; JSON through --save-path | Raw key or password-locked keystore |
| Offline | Runs locally once installed | Downloadable copy for an offline computer |
| License | Open source | MIT |


## Think about the handoff, not just the search

A custom project address usually passes through several hands. A keystore file from Vanity-ETH gives you one encrypted object to store, protected by a password you choose. cast fits a repeatable setup where the same command runs in a script. Either way, the [team handoff guide](https://www.customethaddress.com/blog/ethereum-address-team-handoff) shows how to keep the public record apart from the key.


## Keeping the key safe with either tool

The interface does not decide safety; the randomness and the computer do. Both tools publish their code. Profanity is the reminder of what weak randomness costs: its 32-bit seed made keys recoverable.

- Run the search on a machine you control.
- Copy the key out before the window or terminal closes.
- Avoid keeping the key as plain text; a password-locked keystore is one option.
- Treat any key that showed up in a recording, log or chat as exposed.

## Importing and checking

The private key from either tool is 64 hex characters, and MetaMask, Rabby and Trust Wallet add it as an imported account. Vanity-ETH's README adds that its keystore works in MetaMask, MyEtherWallet, Mist and geth. Your recovery phrase will not bring this account back, so its backup is separate. Follow [import and verify your custom key](https://www.customethaddress.com/blog/import-and-verify-vanity-keys).


## Quick decision

Want a single short prefix or suffix with a preview and a time estimate? [CustomETHAddress](https://www.customethaddress.com/) covers that case, and [CustomETHAddress vs Vanity-ETH](https://www.customethaddress.com/blog/customethaddress-vs-vanity-eth) compares the two websites.


| Situation | Choose |
| --- | --- |
| Search run by a developer inside Foundry | cast wallet vanity |
| Search run by a non-developer | Vanity-ETH |
| Exact checksum capitals | Vanity-ETH |
| Password-locked key file | Vanity-ETH |
| Contract address at a set nonce or from a salt | cast |


## Sources

- [Foundry reference for cast wallet vanity](https://www.getfoundry.sh/reference/cast/wallet/vanity)

- [Foundry: cast wallet operations](https://www.getfoundry.sh/cast/wallet-operations)

- [Vanity-ETH source code and README (bokub/vanity-eth)](https://github.com/bokub/vanity-eth)

- [1inch: a vulnerability disclosed in Profanity, an Ethereum vanity address tool](https://1inch.com/blog/post/a-vulnerability-disclosed-in-profanity-an-ethereum-vanity-address-tool)

- [MetaMask Support: how to import an account](https://support.metamask.io/start/how-to-import-an-account/)



Editorial method: https://www.customethaddress.com/about#publication-method
