舉報

會員
Truffle Quick Start Guide
Truffleisaworld-classdevelopmentenvironment,testingframeworkandassetpipelineforEthereum,aimingtomakelifeasanEthereumdevelopereasier.IfyouareawebdeveloperwantingtotryyourhandatdevelopingDappswithTruffle,thenthisisthebookforyou.ThisbookwillteachyoutowritesmartcontractsandbuildDappswithTruffle.YouwillbeginwithcoveringthebasicsofTruffle,brieflyexplaininghowitintegratesSolidityandWeb3,inordertostartbuildingaminidecentralizedapplication.Also,youwilldiveintomigration,testingandintegratingTrufflewiththeuseofpopularJavaScriptframeworks.Lastly,youwillshipyourdecentralizedapplicationandpackageitintoaproduct.Moreover,youwillgothroughthebestpracticesinTruffle,soastoincreaseyourproficiencyinbuildingDappswithTruffle.Bytheendofthebook,youwillbeabletowritesmartcontractsandbuilddecentralizedapplicationswithTruffleonEthereumblockchains.
目錄(122章)
倒序
- 封面
- 版權信息
- Packt Upsell
- Why subscribe?
- PacktPub.com
- Contributors
- About the author
- About the reviewer
- Packt is searching for authors like you
- Preface
- Who this book is for
- What this book covers
- To get the most out of this book
- Download the example code files
- Download the color images
- Code in Action
- Conventions used
- Get in touch
- Reviews
- Truffle for Decentralized Applications
- Technical requirements
- What is Truffle?
- Let's build a mini Dapp
- Let's build a to-do list
- Initializing a Truffle project
- Peeping into the folders
- Peeping into the root files
- Housekeeping before we write code
- Writing our first smart contract
- Adding an owner
- Creating a reward method
- Securing your contract with modifiers
- Adding a utility method
- Wrapping up
- Building a user interface
- Simple styling
- Performing the build steps
- Let's write some JavaScript
- References
- Summary
- Web3 and Solidity in Truffle
- Technical requirements
- What is web3?
- Ganache-CLI
- Web3 in Truffle
- Solidity – a refresher
- Data types
- Arrays
- Structs
- Mapping
- Visibility specifiers
- Functions
- Function modifiers
- Function types
- Events
- Summary
- Choosing an Ethereum Client for Your Dapp
- Technical requirements
- Geth Parity and Ganache
- What is an Ethereum client?
- Geth
- How does Geth work?
- The power of Geth
- Common GETH actions
- Parity
- The power of Parity
- Common Parity actions
- Ganache-CLI
- The power of Ganache-CLI
- Common Ganache-CLI actions
- Choosing the correct Ethereum client
- Truffle and Ethereum clients
- Truffle and Geth
- Truffle and Parity
- Truffle and Ganache-CLI
- Summary
- Migrating Your Dapp to Ethereum Blockchains
- Technical requirements
- Let's migrate
- Migrating your contracts to Ropsten with Parity
- Creating a new Ropsten Parity account
- Syncing Parity to Ropsten
- Adding funds to our Parity coinbase account
- Migrating our contract to Ropsten
- Migrating our contract to kovan
- Common migration pitfalls
- Summary
- Truffle and Popular JavaScript Technologies
- Technical requirements
- Truffle and Angular
- angular-truffle-starter-dapp
- Peeping into the src folder
- Running the starter Dapp
- Part 1
- Part 2
- Diving into Web3Service
- MetaCoinService
- Truffle and React
- The Truffle and React starter
- Peeping into the src folder
- Diving into the Truffle and React code
- Truffle and Node
- Running our Truffle and Node application
- The node run steps
- Summary
- Testing Your Dapp
- Technical requirements
- Writing unit tests with Solidity
- Testing the TaskMaster
- Writing unit tests with JavaScript
- Testing for Solidity events
- Summary
- Truffle Gotchas and Best Practices
- Gas versus gas limit versus gas price
- Gas
- Gas price
- Gas limit
- Sync issues in Geth
- Security best practices
- Summary
- Other Books You May Enjoy
- Leave a review - let other readers know what you think 更新時間:2021-06-25 20:47:51
推薦閱讀
- 計算機網絡與通信(第2版)
- Hands-On Chatbots and Conversational UI Development
- 計算機網絡安全實訓教程(第二版)
- 智慧城市中的移動互聯網技術
- SD-WAN架構與技術(第2版)
- 圖解手機元器件維修技巧
- 網絡基礎與網絡管理項目化教程
- 光纖通信系統與網絡(修訂版)
- 5G技術與標準
- Learning Storm
- React Cookbook
- Implementing NetScaler VPX?
- LwIP應用開發實戰指南:基于STM32
- Professional Scala
- 從物聯到萬聯:Node.js與樹莓派萬維物聯網構建實戰
- Cisco無線局域網配置基礎
- Hands-On Microservices:Monitoring and Testing
- 深入淺出計算機網絡
- Learn Node.js by Building 6 Projects.
- 創新力:中國網絡創新研究
- 計算機網絡技術(第3版)
- 5G波形設計
- 增長密碼:大型網站百萬流量運營之道
- Moodle for Mobile Learning
- 5G無線系統指南:知微見著,賦能數字化時代
- 遠程醫療網絡多路徑數據安全傳輸
- Modern C++:Efficient and Scalable Application Development
- 計算機網絡原理與應用(第2版)
- Windows Server 2008組網技術詳解:服務器搭建與升級篇
- INSTANT Google Map Maker Starter