Create new contract with computed address based on sender and nonce
This page is a placeholder. All examples on this page are currently AI-generated and are not correct. This documentation will be completed in the future with accurate, tested examples.
Overview
Opcode:0xf0Introduced: Frontier (EVM genesis)CREATE deploys a new contract by executing initialization code and storing the resulting runtime bytecode. The new contract’s address is deterministically computed from the creator’s address and nonce.
Specification
Stack Input:
value (wei to send)offset (memory offset of init code)length (size of init code)
Stack Output:
address (deployed contract address, or 0 if failed)
Gas Cost: 32,000 + init_code_cost + memory_expansion + deployment_costOperation: