vanity address miner
mine create2 salts or wallet keys for an address that starts or ends with your hex.
good to know
- the address depends on the exact init code: change a constructor argument, the compiler version or even the metadata hash and you need a new salt.
- the factory has to exist on every chain you deploy to. the deterministic deployer and createx are on almost every evm chain.
- with the deterministic deployer anyone can deploy your contract to that address first (same code, same address). if that matters, use createx with “only me”.
- leading zero bytes make the address cheaper in calldata, which is why mev bots and some protocols mine 0x0000… addresses.
