Part 2: Writing Robust Smart Contracts
Armed with an understanding of the fundamentals of Solidity, in this section, we will explore more complex Solidity topics, such as exception handling using try-catch
blocks, object orientation in Solidity, in-depth discussions on the address
type and its low-level functions, and special functions such as fallback
and receive
. We will also show ways to debug smart contracts and adopt engineering practices such as unit testing.
This part contains the following chapters:
- Chapter 6, Writing Smart Contracts
- Chapter 7, Functions, Modifiers, and Fallbacks
- Chapter 8, Exceptions, Events, and Logging
- Chapter 9, Truffle Basics and Unit Testing
- Chapter 10, Debugging Contracts