0
0
Blockchain / Solidityprogramming~5 mins

Accounts (EOA vs contract accounts) in Blockchain / Solidity - Quick Revision & Key Differences

Choose your learning style9 modes available
Recall & Review
beginner
What is an Externally Owned Account (EOA) in blockchain?
An Externally Owned Account (EOA) is a blockchain account controlled by a private key. It can send transactions, hold cryptocurrency, and initiate actions on the blockchain.
Click to reveal answer
beginner
What is a Contract Account in blockchain?
A Contract Account is a blockchain account controlled by code (smart contract). It cannot initiate transactions but can execute code when triggered by EOAs or other contracts.
Click to reveal answer
intermediate
How does an EOA differ from a Contract Account?
EOAs are controlled by private keys and can initiate transactions. Contract Accounts are controlled by code and only execute when called by EOAs or other contracts.
Click to reveal answer
beginner
Can Contract Accounts hold cryptocurrency?
Yes, Contract Accounts can hold cryptocurrency and manage it according to their programmed rules in the smart contract code.
Click to reveal answer
beginner
Who controls the actions of an EOA?
The owner of the private key controls the actions of an EOA, including sending transactions and interacting with contracts.
Click to reveal answer
Which account type can initiate transactions on the blockchain?
AContract Account
BExternally Owned Account (EOA)
CBoth EOA and Contract Account
DNeither
What controls a Contract Account?
ASmart contract code
BBlockchain miner
CUser password
DPrivate key
Can a Contract Account send transactions by itself?
AOnly when triggered by an EOA or another contract
BYes, anytime
CNo, never
DOnly if it has a private key
Which account type holds the private key?
AContract Account
BNeither
CBoth
DExternally Owned Account (EOA)
What happens when an EOA sends a transaction to a Contract Account?
AThe contract code executes
BThe contract account sends a transaction back
CNothing happens
DThe EOA loses its private key
Explain the main differences between an Externally Owned Account (EOA) and a Contract Account.
Think about who controls each account and how they interact with the blockchain.
You got /4 concepts.
    Describe how a Contract Account operates when it receives a transaction from an EOA.
    Focus on what happens inside the contract after receiving a transaction.
    You got /4 concepts.