Transactions are cryptographically signed instructions from accounts. An account will initiate a transaction to update the state of the Ethereum network. The simplest transaction is transferring ETH from one account to another.
An Ethereum transaction refers to an action initiated by an externally-owned account, in other words an account managed by a human, not a contract. For example, if Bob sends Alice 1 ETH, Bob's account must be debited and Alice's must be credited. This state-changing action takes place within a transaction.
Diagram adapted from Ethereum EVM illustrated
Transactions, which change the state of the EVM, need to be broadcast to the whole network. Any node can broadcast a request for a transaction to be executed on the EVM; after this happens, a miner will execute the transaction and propagate the resulting state change to the rest of the network.
Transactions require a fee and must be mined to become valid. To make this overview simpler we'll cover gas fees and mining elsewhere.
블록체인 플랫폼의 트랜잭션은 블록체인의 상태를 변경하는 노드간 전송되는 메시지입니다. 예를 들어 Alice의 계정에서 Bob의 계정으로 10 KLAY를 보내는 트랜잭션이 실행될 때 Alice의 잔액은 10 KLAY 감소하고 Bob의 잔액은 10 KLAY 증가합니다. 한 트랜잭션이 다른 트랜잭션 사이에 낄 수 없습니다. 트랜잭션은 아토믹(atomic) 연산이기 때문입니다.
https://www.inflearn.com/course/klaytn-스마트계약과-탈중앙앱/dashboard
https://ethereum.org/en/developers/docs/transactions/
https://ko.docs.klaytn.com/klaytn/design/transactions
'Blockchain' 카테고리의 다른 글
멀티체인(MultiChain) (0) | 2022.04.07 |
---|---|
메인체인(main chain) (0) | 2022.04.05 |
서비스체인 (0) | 2022.04.05 |
앵커링(anchoring)이란? (0) | 2022.04.04 |
Fungible Tokens (0) | 2022.04.04 |