Version 0.2.0
CLI tool for generating Substrate (or Polkadot) vanity addresses
bash
cargo install dotvanity
Find an address that starts with "11" (e.g. 11Tvp5FaD2Vf69BS5tgGJio8KBPd6PUSvrn9nyDTCLWnQWw)
bash
dotvanity --startswith 11
Find an address that ends with "zz" (e.g. 1X9fUsYxfJ3qJvGu9wdZNhaKP37Y9Vg1YgsMKgkrDox9Pzz)
bash
dotvanity --endswith zz
Find an address containing the substring "XXXXX" (e.g. 1R6DVtPBh5ZfNHPFoHT4GVUuLwzcbZaVvD4EFXXXXXZMBc3)
bash
dotvanity --contains XXXXX
Use 5 CPU threads. The default is 1.
bash
dotvanity --cpus 5
Alter the address type. Create a Kusama address (type 2) instead of Polkadot.
bash
dotvanity --type 2
Generate 5 addresses (the default is 1)
bash
dotvanity -n 5
Output a BIP39 mnemonic phrase for found addresses. NOTE: This is resource intensive and makes finding an address a LOT slower.
bash
dotvanity --mnemonic
Combine flags introduced above
bash
dotvanity --startswith 11 --endswith QQ --cpus 3