Precalculate address with nonce

When use CREATE2, I can precalculate the contract address of the future deploy with keccak256( 0xff ++ address ++ salt ++ keccak256(init_code))

But how can I precalculate with normal create?

Thanks, @ericglau, add: Ethtes.js provide a util for create and create 2 calculation

1 Like


1 Like

I've actually written a Solidity and Vyper version to do such a calculation: