Externally Owned Account (EOA)
- Controlled by a private key and identified by a unique address.
- It holds an ETH balance and has no associated code.
- Used for holding, sending and receiving ETH and for interacting with smart contracts (deployments, calling functions etc).
Contract Account(CA)
- Controlled by Contract Code.
- Has a unique address but doesn’t have a Public or a Private Key.
- It’s an autonomous agent and it’s code execution is triggered by receiving a transaction or a message(call) from another account of an EOA.
- It holds a ETH balance like an EOA.
Ethereum Account Components
- NONCE “Number only used ONCE” : Counter that indicates the number of transactions sent from the account(it ensure that the same transaction isn’t submitted twice)
- Balance : in Wei
- Address : for both EOA & CA
- Public and Private Key : Only for EOA
- Code : This is the immutable EVM bytecode, only for CA
- Storage : Empty by default, only for CA
Video : Basics
Question / Answer
Vitaly Dmitrievich Buterin, better known as Vitalik Buterin, is a Russian-Canadian computer programmer, and co-founder of Ethereum. Buterin became involved with cryptocurrency early in its inception, co-founding Bitcoin Magazine in 2011.
Bibliography/References
- None