cast-wallet-vanity - Generate a vanity address.
cast wallet vanity
[options]
Generate a vanity address.
If --nonce
is specified, then the command will try to generate a vanity contract address. The --save-path
option allows specifying a custom file path to save the generated wallet details.
--starts-with
hex
Prefix for the vanity address.
--ends-with
hex
Suffix for the vanity address.
--nonce
nonce
Generate a vanity contract address created by the generated keypair with the specified nonce.
--save-path
path
Path to save the generated vanity wallet. If provided, the wallet details will be saved in a JSON file at this location.
{{#include common-options.md}}
-
Create a new keypair that starts with
dead
:cast wallet vanity --starts-with dead
-
Create a new keypair ends with
beef
:cast wallet vanity --ends-with beef
-
Create a new keypair that starts with
dead
and save the details to a specific path:cast wallet vanity --starts-with dead --save-path /path/to/save