
Jitendra Chittoda
Solidity is among the most popular and contract-oriented programming languages used for writing decentralized applications (DApps) on Ethereum blockchain. If you’re looking to perfect your skills in writing professional-grade smart contracts using Solidity, this book can help.You will get started with a detailed introduction to blockchain, smart contracts, and Ethereum, while also gaining useful insights into the Solidity programming language. A dedicated section will then take you through the different Ethereum Request for Comments (ERC) standards, including ERC-20, ERC-223, and ERC-721, and demonstrate how you can choose among these standards while writing smart contracts. As you approach later chapters, you will cover the different smart contracts available for use in libraries such as OpenZeppelin. You’ll also learn to use different open source tools to test, review and improve the quality of your code and make it production-ready. Toward the end of this book, you’ll get to grips with techniques such as adding security to smart contracts, and gain insights into various security considerations. By the end of this book, you will have the skills you need to write secure, production-ready smart contracts in Solidity from scratch for decentralized applications on Ethereum blockchain.
這本書的內容和安排還是可以的。書中的內容組織也可以當做學習solidity的路線。區塊鏈、以太坊基礎知識->solodity語法->開發工具學習->常用標準學習->常用庫學習->實踐要點技巧。 不足的地方是本書出版時間較早,有蠻多地方已經過時了,而且現在大熱的defi應用也沒有。solidity語法,標準和庫部分因爲過時可以略過。建議solidity語法和標準看官網文檔,庫看openzeppelin官網。除此之外因爲合約安全性的重要性,合約安全審查成爲行業趨勢,許多審計公司成立。這導致文中提到的許多開源安全分析工具都不更新,商業化了。 關於合約安全方面,再推薦閱讀consensys的最佳實踐。 最後高興的是對書中提到的某個工具進行學習的時候,順便幫它修復了bug[呲牙]。
這個作者就離譜,完全不考慮學習曲線,上來就一堆概念,舉得例子較爲複雜。
難得的好書,非常簡練。不足的地方就是猶豫出版時間比較早,時效性差一些。defi的pattern基本沒有涉及。
大部分篇幅講API,另外用的solidity 0.5之前的版本稍顯落後,適合當作入門材料。