ReasonJun

Ethereum : EOA / CA 본문

Blockchain/Ethereum

Ethereum : EOA / CA

ReasonJun 2023. 10. 18. 14:41
728x90
  • Externally Owned Accounts (EOAs): These accounts are controlled by private keys and are typically used by individuals and businesses to store and send Ether and other ERC-20 tokens.
  • Contract Accounts (CAs): These accounts are controlled by smart contracts and are typically used to implement decentralized applications (DApps) and other complex functionality.

Here is a table that summarizes the key differences between EOAs and CAs:

Feature EOA CA
Controlled by Private key Smart contract
Can initiate transactions Yes Only in response to transactions received
Has code No Yes
Can store data Yes Yes
Can charge fees Yes Yes
Execution fees None Yes

EOAs are the most common type of account on Ethereum. They are relatively simple to create and use, and they can be used for a wide range of purposes, such as storing and sending Ether and other tokens, interacting with smart contracts, and participating in decentralized governance.

 

CAs are more complex than EOAs, but they are also more powerful. CAs can be used to implement a wide range of functionality, such as decentralized exchanges, lending platforms, and non-fungible token (NFT) marketplaces.

 

Here are some examples of how EOAs and CAs are used:

  • EOA: A user uses their EOA to send Ether to a friend or to purchase an ERC-20 token.
  • CA: A user interacts with a decentralized exchange to swap one ERC-20 token for another.
  • EOA: A user deposits Ether into a lending platform to earn interest.
  • CA: A user purchases an NFT from an NFT marketplace.

EOAs and CAs are both essential parts of the Ethereum ecosystem. EOAs provide a simple and convenient way for users to interact with the network, while CAs enable the development of complex and innovative applications.

728x90

'Blockchain > Ethereum' 카테고리의 다른 글

Etherscan : Verify  (0) 2023.10.21
Ethereum : ERC-20 (Ethereum Request for Comments 20)  (0) 2023.10.20
Ethereum : Ghost Protocol (Greedy Heaviest Observed Subtree)  (0) 2023.10.13
Ethereum : Contract ABI  (0) 2023.10.13
Ethereum : Bytecode  (0) 2023.10.13
Comments