Accounts

Accounts are one of the main building blocks of the Ethereum blockchain. Ethereum, being a transaction driven state machine, the state is created or updated as a result of the interaction between accounts and transaction execution. Operations performed between and on the accounts, represent state transitions. The state transition is achieved using what's called the Ethereum state transition function, which works as follows:

  1. Confirm the transaction validity by checking the syntax, signature validity, and nonce.
  1. The transaction fee is calculated, and the sending address is resolved using the signature. Furthermore, sender's account balance is checked and subtracted accordingly, and nonce is incremented. An error is returned if the ...

Get Mastering Blockchain - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.