We dived into details about smart contract execution under the hood in Chapter 4, Solidity Fundamentals, and learned how to develop our own cryptocurrency using smart contracts in Chapter 5, Developing Your Own Cryptocurrency. In Chapter 6, Smart Contract Development and Test Fundamentals, we showed you how to use Remix to develop and debug a smart contract. We will add a few different aspects of smart contracts here: contract accounts on Ethereum and a little background on smart contracts.
As we discussed in Chapter 9, Creating an Ethereum Private Chain, a recipient of a transaction can be an EOA or a contract account. The transaction data is considered an argument to the function. EOA is usually managed by the users through a wallet, while a contract account is handled by a smart contract—basically, a piece of code. We can get a...