일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
- node.js
- SSR
- tailwindcss
- nextJS
- Props
- error
- Interface
- express.js
- solidity
- 삶
- Ethereum
- 기준
- JavaScript
- typeScript
- concept
- middleware
- REACT
- API
- CSS
- HTML
- CLASS
- useState
- Redux
- built in object
- bitcoin
- hardhat
- blockchain
- graphQL
- web
- evm
- Today
- Total
ReasonJun
Ethereum : EOA / CA 본문
- 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.
'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 |