Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Blockchain with Hyperledger Fabric

You're reading from   Blockchain with Hyperledger Fabric Build decentralized applications using Hyperledger Fabric 2

Arrow left icon
Product type Paperback
Published in Nov 2020
Publisher Packt
ISBN-13 9781839218750
Length 756 pages
Edition 2nd Edition
Languages
Concepts
Arrow right icon
Authors (7):
Arrow left icon
Salman A. Baset Salman A. Baset
Author Profile Icon Salman A. Baset
Salman A. Baset
Venkatraman Ramakrishna Venkatraman Ramakrishna
Author Profile Icon Venkatraman Ramakrishna
Venkatraman Ramakrishna
Salman Baset Salman Baset
Author Profile Icon Salman Baset
Salman Baset
Anthony O'Dowd Anthony O'Dowd
Author Profile Icon Anthony O'Dowd
Anthony O'Dowd
Petr Novotny Petr Novotny
Author Profile Icon Petr Novotny
Petr Novotny
Nitin Gaur Nitin Gaur
Author Profile Icon Nitin Gaur
Nitin Gaur
Luc Desrosiers Luc Desrosiers
Author Profile Icon Luc Desrosiers
Luc Desrosiers
+3 more Show less
Arrow right icon
View More author details
Toc

Table of Contents (18) Chapters Close

Preface 1. Blockchain – An Enterprise and Industry Perspective 2. Exploring Hyperledger Fabric FREE CHAPTER 3. Business Networks 4. Setting the Stage with a Business Scenario 5. Designing Smart Contract Transactions and Ledger Data Structures 6. Developing Smart Contracts 7. Developing Applications 8. Advanced Topics for Developing Smart Contracts and Applications 9. Network Operation and Distributed Application Building 10. Enterprise Design Patterns and Considerations 11. Agility in a Blockchain Network 12. Governance – A Necessary Evil of Regulated Industries 13. Life in a Blockchain Network 14. Hyperledger Fabric Security 15. Blockchain's Future, Protocol Commercialization, and Challenges Ahead 16. Another Book You May Enjoy
17. Index

Designing Smart Contract Transactions and Ledger Data Structures

In Hyperledger Fabric, a smart contract, sometimes referred to as chaincode or just contract, is written by a developer. A contract implements a business logic agreed upon by stakeholders of the blockchain network. The functionality is exposed to client applications for them to invoke, provided they have the correct permissions.

A contract runs as an independent process in its own container, isolated from the other components of the Fabric network. An endorsing peer manages the lifecycle of the contract and of the transaction invocations. In response to client invocations, the contract queries the ledger and generates a transactions proposal.

Fabric provides Contract APIs for the development of contracts in three languages of Go, Java, and Node.js (JavaScript or TypeScript). In the first edition of this book published along with Fabric 1.2, we focused on the development of contracts in Go. The APIs and mechanisms...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime