GetSalt.sh lets you mine, register, and deploy cross-chain vanity smart contract addresses.
GetSalt.sh is a toolkit for mining and deploying deterministic, vanity smart contract addresses using CREATE2. It drastically reduces the cost and complexity of generating recognizable contract addresses (e.g. 0x111111..., 0xDEADBEEF...) across multiple EVM chains.
By sharing compute and enforcing cross-chain consistency, GetSalt.sh turns vanity addressing into a security and branding primitive—accessible to everyone, not just whales or protocols with GPU farms.
GetSalt.sh is built with a three-layer architecture optimizing for security and cross-chain consistency.
Three custom contracts (~1,200 lines) using OpenZeppelin's upgradeable libraries and ERC-7201 namespaced storage:
Tested with Foundry (19/19 passing), deployed via Hardhat with 5 custom workflow tasks.
Next.js 14 App Router with Wagmi v2 + Viem for blockchain interactions, RainbowKit for wallet connections, and shadcn/ui components. Fully type-safe from Solidity ABIs to React components via TypeChain.
5 REST API endpoints using Next.js API routes with Drizzle ORM for type-safe database queries. SQLite for development, with easy upgrade path to Turso (distributed SQLite) for production.
LayerZero Read enables trustless cross-chain bytecode verification. When registering a vanity address, challengers can trigger automatic verification that the same address on different chains contains matching code—preventing cross-chain impersonation attacks without manual checks.
Mutualized Mining - Everyone mines for the same minimal proxy bytecode, sharing GPU costs. Users then upgrade to their custom implementation. This makes vanity addresses accessible to everyone, not just GPU farms.
Hybrid Verification - LayerZero for automated verification on supported chains, plus manual DAO verification for any EVM chain (even future ones). When LayerZero support arrives, verification automatically becomes trustless.
First Upgrade Validation - Proxy validates implementation bytecode hash using extcodehash on first upgrade, preventing bait-and-switch attacks. After validation, normal upgrades work freely.
Economic Security - 0.01 ETH registration + 10% slashing creates asymmetry: defending is cheap (shared mining), attacking is expensive (lose 10% per failed attempt). The 24h timelock lets the community be the security layer.

