loading prices...
prices by coingecko
onchain.search tools/local · 0 uploads/links/about

home / ethereum / create2-address-calculatorlocal

CREATE2 Address Calculator

Compute a CREATE2 address from the deployer, salt and init code, to know the address before deploying.

create2-address-calculatorready · runs in this browser

Runs locally in your browser. Nothing you type is sent anywhere.

ethereum tools · free · runs in your browser · no sign-up · no wallet

01 // about this tool

CREATE2 makes a contract's address depend on the deployer, a salt and the hash of the init code, not on a nonce. Factories use it to create predictable addresses. The formula is keccak256(0xff + deployer + salt + keccak256(init code)), last 20 bytes.

02 // how to use it

  1. Enter the factory address.
  2. Enter the salt as hex.
  3. Paste the full init code (creation bytecode plus constructor arguments).
  4. Press Run.

03 // faq

Is it the creation code or the runtime code?

Creation (init) code, including constructor arguments.

Can two contracts share an address?

Not at the same time. The same inputs always give the same address.

04 // related tools

all 43 ethereum tools →