Storage & deploys
contract address calculator
Predict a contract address before deploying: CREATE from the deployer and nonce, or CREATE2 from the deployer (factory), salt and init code or its hash.
runs in your browsertry
create2 address
0x902994FADF3f27C9302909aC717506E6d5403093salt (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000init code hash
0x7e6b09da979f7ccca08dec3a7fca30d1da2b7b911cee751d9b7ce6876bb0e88finit code = creation bytecode + abi-encoded constructor args. in foundry: abi.encodePacked(type(C).creationCode, abi.encode(args))
