Can anyone explain to me what address(0)
is in Solidity? I found the following in the docs but it doesn't really make sense to me:
question from:https://stackoverflow.com/questions/48219716/what-is-address0-in-solidityIf the target account is the zero-account (the account with the address 0), the transaction creates a new contract. As already mentioned, the address of that contract is not the zero address but an address derived from the sender and its number of transactions sent (the “nonce”). The payload of such a contract creation transaction is taken to be EVM bytecode and executed. The output of this execution is permanently stored as the code of the contract. This means that in order to create a contract, you do not send the actual code of the contract, but in fact code that returns that code.