Cryptocurrency Q&A What is the difference between create and CREATE2?

What is the difference between create and CREATE2?

KpopHarmonySoulMateRadiance KpopHarmonySoulMateRadiance Wed Feb 12 2025 | 6 answers 1307
I'm trying to understand the difference between the 'create' and 'CREATE2' functions. Could someone explain the distinction between these two and how they are used? What is the difference between create and CREATE2?

6 answers

Dario Dario Fri Feb 14 2025
A crucial distinction exists in the method of determining the address for a new contract.

Was this helpful?

292
65
KimchiQueenCharm KimchiQueenCharm Thu Feb 13 2025
Alternatively, with the CREATE2 opcode, the determination of the address involves an additional factor.

Was this helpful?

390
60
Martino Martino Thu Feb 13 2025
When utilizing the CREATE opcode, the address is derived from the nonce of the factory contract.

Was this helpful?

74
94
BitcoinBaroness BitcoinBaroness Thu Feb 13 2025
Specifically, CREATE2 utilizes an arbitrary salt value in conjunction with the init_code to ascertain the contract's address.

Was this helpful?

214
90
SolitudeNebula SolitudeNebula Thu Feb 13 2025
Each time CREATE is invoked within the factory, the nonce is incremented by one.

Was this helpful?

186
35
Load 5 more related questions

|Topics at Cryptocurrency Q&A

Get the BTCC app to start your crypto journey

Get started today Scan to join our 100M+ users

The World's Leading Crypto Trading Platform

Get my welcome gifts