Skip to main content Module vanity Copy item path Source Matcher π Optional start and end patterns an address must satisfy. VanityArgs CLI arguments for cast wallet vanity. WalletData π WalletData contains address and private_key information for a wallet. Wallets π Wallets is a collection of WalletData. Pattern π A vanity pattern: an exact byte prefix/suffix, or a regex over the lowercase hex address. find_vanity π Generates random wallets in parallel until matcher matches the wallet address, or the
contract address it creates at nonce when one is given. parse_pattern π save_wallet_to_file π Saves the specified wallet to a βvanity_addresses.jsonβ file at the given save_path.
If the file exists, the wallet data is appended to the existing content;
otherwise, a new file is created.