Foundry cast wallet vanity vs Vanity-ETH
Foundry cast wallet vanity vs Vanity-ETH: terminal or web page, contract addresses, keystore export, key safety and wallet import for EVM vanity addresses.

Is Foundry cast wallet vanity better than Vanity-ETH?
For developers who already use Foundry, and for contract addresses, cast. For everyone else, Vanity-ETH: it runs in a web page and can export a password-encrypted keystore. Both make the same 0x addresses and both are free and open source.
| cast wallet vanity | Vanity-ETH | |
|---|---|---|
| Runs as | Command line (Foundry) | Web page with Web Workers |
| Chains | Ethereum and EVM | Ethereum and EVM |
| Pattern options | --starts-with, --ends-with | Prefix, suffix, EIP-55 case option |
| Contract address search | --nonce; cast create2 --starts-with for a CREATE2 salt | No |
| Keystore export | Not covered here | Yes, encrypted with your password |
| License | Open source | MIT |
| GPU | Not documented | No |
On MultiVanity, every search runs in your browser, on your device, for all supported chains, Bitcoin and TRON included. Generated addresses and private keys are created locally and are never sent to or stored on our servers.
Which is safer for private key generation?
Safety depends on the random number source, not on the interface. Both tools are open source, so their key generation can be reviewed. The cautionary case is Profanity: in September 2022, 1inch disclosed that it seeded 256-bit keys from a random 32-bit value, which made keys recoverable.
- Run it on a device you trust, and save the key before closing the terminal or the page.
- Prefer an encrypted file if you must store the key on disk; Vanity-ETH offers a keystore for that.
- Never reuse a key that was shown in a shared screen, log or chat.
How do you import the key afterwards?
Both give a 64-character hexadecimal private key, which MetaMask, Rabby and Trust Wallet import as a standalone account. In MetaMask: account menu, Add account or hardware wallet, Import account, then paste the key. Vanity-ETH's keystore file also works with MetaMask and MyEtherWallet according to its README.
The imported account is not restored by your wallet's recovery phrase, so back it up separately. The MetaMask import guide has the full steps and checks.
What about vanity contract addresses?
Only cast helps here. A contract address depends on the deployer and its nonce, or on a CREATE2 salt, not on the pattern of the account itself. Read vanity contract addresses vs vanity deployer accounts before planning a deployment.