Why I can't deploy a smart contract to a specific public key if i just generated and own this publickey/private key?

by Antoine Hzg   Last Updated November 11, 2018 08:28 AM

I am writing an explorative article about the actors/assets model for Ethereum 2.0 (https://ethresear.ch/t/ethereum-2-0-data-model-actors-and-assets/4117).

Are there some reasons why is it not possible to deploy a smart contract to a specific public key if i've just generated and own this public key/private key?

Could we add this feature without breaking all the current Ethereum spec?



Answers 1


I guess the reason is "what would happen when you want to deploy a second contract to the same address?"

However you can compute the address where a contract will be deployed based on your address and its current nonce value.

Tudor Constantin
Tudor Constantin
November 11, 2018 08:23 AM

Related Questions


Deploying DAPP on cloud using docker

Updated May 17, 2018 06:28 AM


Gas limit being reached when deploying

Updated February 15, 2018 14:28 PM

truffle deployment error with infura

Updated May 22, 2018 03:28 AM