Why store account nonce on chain instead of using timestamp to prevent replay attacks, or any other random bit of information that will change thr hash and differentiate the transaction?
As far as I was able to understand, the account nonce is a bit of information added to a transaction to counteract replay attacks by making the transaction hash used to identify the account unique.
My question is, why is there a need for a permanent record that occupies space on the chain of the amount of transaction each account has made? Couldn't the same effect be achieved with the addition of any other kind of random or unique data to the transaction, such as a timestamp at the moment the transaction is generated by the wallet client? Is there any other advantage to recording account nonces that I am failing to see?