Skip to content
ihategas.xyz

CREATE2 Predictor

Runs offline

Predict a contract address before deploying it.

Opcode

the contract or account deploying
32 bytes, padded if shorter
creation bytecode, or paste its 32-byte hash directly
Contract address
0x0E41aa54D633ee06Dc2EE16beEB53478281b096C
Init code hash
0x1c3374235d773b2189aed115aa13143020fcdbbe86e38f358cf3e4771b2f0244
CREATE2 addresses are deterministic: the same deployer, salt and init code give the same address on every chain. Change a single byte of the constructor arguments and the address changes completely.

About create2 predictor

CREATE2 makes deployment addresses deterministic: the same deployer, salt and init code always produce the same address, on every chain. That is what lets a protocol know its address before deploying, and what lets a counterfactual wallet receive funds before it exists. Note that init code includes constructor arguments — change one and the address changes entirely. CREATE, by contrast, depends only on the deployer's nonce.

More developer tools