1

In Ethereum, does Account nonce depend on network?

I mean for same address on different network, will there be different nonce?

1

is Account nonce depends on network?

Yes. The nonce is part of the state data associated with each account. The state data will be difference for each different network you use the same address on (i.e. private key).

There is no way for one network's state data to be shared with another network.

2

Yes, nonce is relative to the number of tx you did in the network.

So if do n tx on mainnet your ropsten nonce will still be 0.

  • so my first contract deployed on both networks will have same contract address? – Aniket Mar 28 at 12:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.