Solidity is a language that executes instructions by consuming gas, and this gas is paid to the Ethereum network's miners. For Solidity instructions to execute, consumers have to buy ether and pay for using the computation and storage resources of the Ethereum blockchain network. Before the innovation of the contract-oriented Solidity language, there was no other language that required crypto fuel to be paid for each instruction's execution. This makes Solidity a unique Turing-complete language.Â
We looked into the basics of the Solidity language in this chapter. We also covered the data types supported in Solidity. Solidity is a smart contract-oriented language that uses a very unique data type, called address. This address data type is the heart of the smart contracts. Almost all of the contracts that you will write will most likely use this data...