A free edge API by formatho.com, privacy-first developer tools.
Free, no signup, runs entirely in your browser — your data never leaves your device.
curl "https://create2-calculator-formatho.filesformatho.workers.dev/api?factory=0x0000000000000000000000000000000000000000&salt=0x0&init_code=0x00"
# โ { "create2_address": "0x4D1A2e2bB4F88F0250f26Ffff098B0b30B26BF38", ... }
curl "https://create2-calculator-formatho.filesformatho.workers.dev/api?factory=0xdeadbeef00000000000000000000000000000000&salt=0xfeed&init_code=0x00"
# โ { "create2_address": "0xD04116cDd17beBE565EB2422F2497E06cC1C9833", ... }
Parameters: factory (deployer contract, 40 hex chars), salt (โค64 hex chars, zero-padded on the left to 32 bytes), and either init_code (creation bytecode hex) or init_code_hash (64-hex keccak-256 digest, skips the inner hash). GET or POST JSON โ {"factory": "0xโฆ", "salt": "0xโฆ", "init_code": "0xโฆ"}.
Why it matters: CREATE2 addresses depend only on the deployer, a salt, and the init code hash โ so you can know a counterfactual contract's address before anyone deploys it (state channels, deterministic factory layouts, vanity addresses).
Both example addresses above are official EIP-1014 test vectors โ handy for checking any implementation.
Full parameter reference: /api endpoint.
Compute CREATE2 addresses entirely client-side: CREATE2 Calculator on formatho.com.
Browse every free Formatho Worker tool on the Formatho Tools index.