In the last chapter, we learned about blockchain, smart contracts, and Ethereum. For writing smart contracts, there are multiple languages supported by Ethereum, including Solidity, Vyper, and Low-level Lisp-like Language (LLL).
In this chapter, we will deep dive into Ethereum's most popular contract-oriented language, called Solidity. We will cover Solidity's source code file structure and the different data types supported. We will also understand the different units, global variables, and functions it supports and where these should be used.
We will cover only the parts of Solidity language that are essential for Solidity developers. We will not cover the advance concepts of Solidity language.
The following topics will be covered in this chapter:
- The structure of a Solidity source code file
- The structure of a Solidity contract
- The...