0

Im looking for answer I deployed following contract:

https://etherscan.io/address/0x0e02e7596183e8ac9d4bd7c0a89a7fd7df42ad73

How is it possible that before I even deployed the contract mint transaction happened?

wierd

Is this bug in etherscan, or what is going on?

Thank you.

1 Answers1

0

Around that date someone has deployed a contract at the same address in Rinkeby https://rinkeby.etherscan.io/address/0x0e02e7596183e8ac9d4bd7c0a89a7fd7df42ad73.

Having the same contract address in different blockchains is completely normal if you used the same private keys because they are deterministically calculated: How is the address of an Ethereum contract computed?.

As the transaction my guess is that someone erroneously switched the network settings to mainnet before sending a transaction.

Ismael
  • 30,570
  • 21
  • 53
  • 96
  • Sir, this make no sense to me. There is a mint transaction before contract creation, how is that related to testnet. Further more how is it possible that contract received ether before it existed? – user224562 Feb 20 '22 at 22:24
  • @user224562 Transactions are just messages sent to an address, and at any time a message could be sent any address. To the blockchain sending a transaction to a contract address before it is deployed will be like sending a message to an EOA and it will be recorded in the blockchain but no side effect will be performed. The ether sent to an address before the contract is deployed will be available to the contract when it is deployed. – Ismael Feb 21 '22 at 05:50