Reference · CREATE & CREATE2

Predict a contract address

Work out the address a contract will get before you deploy it.

Runs in your browser

Predict a contract's address before you deploy it

A deployer's address, and how many contracts it has already deployed (or a chosen salt), fully determine the next contract's address before any transaction is sent. That lets you fund, reference or verify a contract ahead of deployment.

CREATE and CREATE2 addresses are chain-independent by construction: the same deployer, nonce, salt and init code produce the identical address on every EVM chain. Picking a network here does not change the computed address; it only decides where we look to see whether that address already holds code.

The account or factory contract that will send the deployment transaction.

How many transactions this deployer has already sent (0 for a brand-new account).

Nothing to predict yet

Fill in the fields on the left and the address appears here as you type.

About this tool

A contract's address can be calculated before it is deployed. With CREATE, it depends only on the deployer's address and nonce. With CREATE2, it is the last 20 bytes of keccak256(0xff ++ deployer ++ salt ++ keccak256(init code)), so the same factory, salt and code give the same address on every chain. Enter the inputs and the predicted address updates as you type.

Common questions

What is the difference between CREATE and CREATE2?

CREATE derives the address from the deployer and its nonce, so it changes with every deployment. CREATE2 uses a salt and the init code hash instead, so you can choose and reproduce the address in advance, even across chains.

Why does my predicted CREATE2 address not match?

The usual cause is the wrong init code. Hash the creation bytecode with the ABI-encoded constructor arguments appended, not the deployed runtime bytecode. Also check that the deployer is the factory contract that runs CREATE2, not your wallet.