Ethereum Account

There are 2 kinds of account in Ethereum blockchain: Externally Owned Account (EOA) and Contract Account

Externally owned accounts are have a private key which control over access to funds or contracts. EOAs can initiate transactions, but Contract Account can’t. One typical use of this is an EOA sending a request transaction to a multisignature smart contract wallet to send some ETH on to another address

A contract account has smart contract code, which EOA can’t have. A Contract Account does not have a private key. Instead, it is owned (and controlled) by the logic of its smart contract code: the software program recorded on the Ethereum blockchain at the contract account’s creation and executed by the EVM. When a transaction destination is a contract address, it causes that contract to run in the EVM ,
using the transaction, and the transaction’s data, as its input.
transactions can contain data indicating which specific function in the contract to run and what parameters to pass to that function. In this way, transactions can call functions within contracts. Note that because a contract account does not have a private key, it cannot initiate a transaction

Both of EOA and Contract Account have addresses, and can also send and receive ether. Address form like this 0x4f1809cf76a8946d615cb546271cae3ea36328ed

Leave a Reply

Your email address will not be published. Required fields are marked *