Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Contract Creation #26

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Mar 24, 2023

  1. Update Contract Creation

    Hi, I think the term zero address can be extremely confusing as sending a transaction to the actual zero address ("address(0)" in Solidity) does not create a new contract (the zero address is a normal address from the eyes of the evm). 
    
    From the solidity docs: 
    
    "If the target account is not set (the transaction does not have a recipient or the recipient is set to null), the transaction creates a new contract."
    Link: https://docs.soliditylang.org/en/v0.8.19/introduction-to-smart-contracts.html#index-8
    
    I think this makes it clearer for new developers as a lot of developers in the ecosystem mistakenly think that creating a contract is by sending the bytecode to the address(0).
    rodrigoherrerai committed Mar 24, 2023
    Configuration menu
    Copy the full SHA
    516fbd8 View commit details
    Browse the repository at this point in the history