Explain the Role of a Nonce in Preventing Double-Spending.
Double-spending is the act of successfully spending the same funds multiple times. In an account-based system like Ethereum, the nonce is critical.
Since each transaction must have a unique, sequential nonce to be considered valid, a user cannot submit two transactions with the same nonce. If two transactions with the same nonce are broadcast, only one will be confirmed by the network, preventing the second attempt to spend the same funds, thus solving the double-spending problem at the account level.