Hands-On Smart Contract Development with Hyperledger Fabric V2: Building Enterprise Blockchain Applications
- Length: 300 pages
- Edition: 1
- Language: English
- Publisher: O'Reilly Media
- Publication Date: 2021-10-19
- ISBN-10: 1492086126
- ISBN-13: 9781492086123
- Sales Rank: #0 (See Top 100 Books)
Blockchain technology continues to disrupt a wide variety of organizations, from small businesses to the Fortune 500. Today, hundreds of blockchain networks are in production, including many built with Hyperledger Fabric. This practical guide shows developers how the latest version of this blockchain infrastructure provides an ideal foundation for developing enterprise blockchain applications or solutions.
Authors Matt Zand, Xun (Brian) Wu, and Mark Anthony Morris demonstrate how the versatile design of Hyperledger Fabric 2.0 satisfies a broad range of industry use cases. Developers with or without previous Hyperledger experience will discover why no other distributed ledger technology framework enjoys such wide adoption by cloud service providers such as Amazon, Microsoft, IBM, Google, and Oracle.
- Walk through the architecture and components of Hyperledger Fabric 2.0
- Learn about the Hyperledger family, projects, and ecosystem
- Migrate your current Hyperledger Fabric projects to version 2
- Develop blockchain applications on the Hyperledger platform with Node.js
- Deploy and integrate Hyperledger on Microsoft Azure, Amazon Managed Blockchain, IBM Cloud, and Oracle Cloud
- Develop blockchain applications with Hyperledger Aries, Avalon, Besu, and Grid
- Build end-to-end blockchain supply chain applications with Hyperledger
Preface How to Build Enterprise Blockchain Applications with Hyperledger Who Is This Book For? Overview of the Chapters Conventions Used in This Book Using Code Examples O’Reilly Online Learning How to Contact Us Acknowledgments I. Introduction to Blockchain 1. Fundamental Concepts of Blockchain What Is Blockchain? Origin of Blockchain The Blockchain Revolution Blockchain 2.0 Core Components of Blockchain Decentralized Network Cryptography Wallet Shared Ledger Consensus Smart Contracts Blockchain Architecture Nodes Blocks Chains Channels Supporting Technology and Concepts DLT Decentralization Peer-to-Peer Immutability Identity Accounts SDK API Transactions Incentives Privacy State Turing Complete Gas Tokens On-Chain Off-Chain Scalability Cryptocurrency Enclaves Oracles DApps Virtual Machine Fork Governance Genesis Clients Summary II. Introduction to Hyperledger Projects 2. Overview of Hyperledger Projects and Tools Evolution and Phases of Blockchain Technology Blockchain 1.0 Blockchain 2.0 Blockchain 3.0 Blockchain 4.0 Hyperledger Family, Architecture, and Ecosystem The Hyperledger Design Philosophy Overview of Hyperledger Overview of Hyperledger Projects Distributed Ledger Frameworks Domain-Specific Overview of Hyperledger Tools and Libraries Tools Libraries Summary 3. Hyperledger Fabric Architecture and Components Hyperledger Fabric Overview Hyperledger Fabric Model Blockchain Network Identity Membership Service Provider Policies Nodes Chaincode Ledger The Ordering Service Private Collections of Data Summary III. Developing Smart Contracts with Hyperledger Fabric 4. Smart Contract Development Installing Prerequisites and Setting Up Hyperledger Fabric Git cURL Node.js and npm Docker and Docker Compose Fabric Installation Script Fundamental Requirements of a Smart Contract SDK Create and Execute Queries Defining a Smart Contract Define Assets by Using Key-Value Pairs Collect Private Data Set Attribute-Based Access Control Initialize the Ledger State Installing and Instantiating a Smart Contract Package the Chaincode Install the Chaincode Query the Installation Approve the Package Check Commit Readiness Commit the Chaincode Definition Query Whether the Chaincode Is Committed Initialize the Contract Execute a Query Summary 5. Smart Contract Invocation Overview of fabric-samples, Fabcar, and the Test Network fabric-samples Fabcar Fabric Test Network Deploying a Smart Contract Understand the startFabric.sh Anatomy Execute startFabric.sh Generate Fabric Certificate Authorities Create Org1 Identities Invoke the Peer Chaincode Invoking Smart Contract Transactions Peer Command Fabric SDK for Node.js Command-Line Application Summary 6. Testing and Maintenance Creating a Fabcar UI Client Error Response Handling Fabcar UI Web Pages Fabcar UI Code Fabcar UI Execution Performing Rapid Smart Contract Testing Setting Up Preparing the Fabcar Smart Contract for Testing and Debugging Performing Fabcar Testing and Debugging Identifying and Reviewing Logs Creating Unit Test Contracts Summary IV. Blockchain Supply Chain with Hyperledger 7. Building Supply Chain DApps with Hyperledger Fabric Designing a Blockchain Supply Chain Understanding the Supply Chain Workflow Defining a Consortium Reviewing the PLN Life Cycle Understanding Transactions Writing Chaincode as a Smart Contract Project Structure Contract Class Transaction Logic Compiling and Deploying Fabric Chaincode Install Prerequisites Review the Project Structure Install Binaries and Docker Images Start the PLN Network Monitor the PLN Network Create a PLN Channel Running and Testing the Smart Contract Install the Smart Contract Test the Smart Contract Developing an Application with Hyperledger Fabric Through the SDK Summary V. Hyperledger Fabric—Other Topics 8. Deploying Hyperledger Fabric on the Cloud Deploying Hyperledger Fabric on Amazon Blockchain Services Set Up Amazon Managed Blockchain with Prerequisites Set Up the Hyperledger Fabric Network Set Up the Hyperledger Fabric Client Clone the Samples Repository Run the Hyperledger Fabric Application Using IBM Cloud for Blockchain Applications Understand the Platform Features Create an IBM Cloud Account Decide the Structure of the Blockchain Network Create and Join the Fabric Network Build the Blockchain Network Deploy the Smart Contract Create the Application Oracle Blockchain Platform Overview Oracle Blockchain Platform Use Case Explore the Use Case Engage with the Solution Experiment with Oracle Blockchain Platform Experience the Solution Summary 9. Hyperledger Fabric V2 Integration New Features of Hyperledger Fabric V2 Decentralized Governance for Smart Contracts New Chaincode Application Patterns Private Data Enhancements External Chaincode Launcher State Database Cache for CouchDB Alpine-Based Docker Images Sample Test Network Updating the Capability Level of a Channel Update to the Newest Capability Levels Upgrade Components Set Environment Variables for the Binaries Back Up and Restore the Ledger Upgrade the Orderer Nodes Upgrade the Peers Upgrade the Node SDK Clients Considerations for Moving to V2 Chaincode Life Cycle Chaincode Shim Changes (Go Chaincode Only) Chaincode Logger (Go Chaincode Only) Peer Databases Upgrade Capabilities Summary 10. Overview of Other Hyperledger Projects Hyperledger Aries Set Up the VON Network Run Hyperledger Aries Cloud Agent Hyperledger Avalon Trusted Execution Environment Zero-Knowledge Proofs Multiparty Computation Hyperledger Avalon Architecture Hyperledger Besu Hyperledger Besu Architecture Set Up Hyperledger Besu Smart Contract and DApp in Hyperledger Besu Private Network Hyperledger Grid Domain Models Smart Contracts Pike Sample Apps Summary Concluding Remarks Next Steps Now It’s Your Turn Further Reading Index
Donate to keep this site alive
How to download source code?
1. Go to: https://www.oreilly.com/
2. Search the book title: Hands-On Smart Contract Development with Hyperledger Fabric V2: Building Enterprise Blockchain Applications
, sometime you may not get the results, please search the main title
3. Click the book title in the search results
3. Publisher resources
section, click Download Example Code
.
1. Disable the AdBlock plugin. Otherwise, you may not get any links.
2. Solve the CAPTCHA.
3. Click download link.
4. Lead to download server to download.