
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之前的版本稍显落后,适合当作入门材料。