Sitelet https://hardhat.org/docs/reference/cheatcodes/utilities/compute-create2-address
Skip to content

computeCreate2Address

function computeCreate2Address(
bytes32 salt,
bytes32 initCodeHash,
address deployer
) external pure returns (address);
function computeCreate2Address(
bytes32 salt,
bytes32 initCodeHash
) external pure returns (address);

Compute the address of a contract created with CREATE2. If deployer is not specified, the default CREATE2 deployer is used.