We’re giving away 1,500 DJI Tello drones. Enter to win ›
Get the code
View the demo
By Ishan Gulhane, Kevin Hoyt | Published June 6, 2017 - Updated August 6, 2017
Hyperledger Fabric is a shared, immutable ledger for recording the history of transactions; it’s fostering a new generation of transactional applications. This developer journey shows you how to perform traditional data store transactions with blockchain and migrate from Hyperledger Fabric v0.6 to v1.0. You’ll implement a web-based to-do list application that enables you to browse, read, edit, add, and delete list items.
This developer journey helps you understand how developers perform common transactions of creating, reading, updating and deleting against a Hyperledger Fabric blockchain. It also helps you migrate from Hyperledger Fabric V0.6 to Hyperledger Fabric V1.
This web-based client is designed around Polymer 2 Release Candidate, which acts as a polyfill for assorted web components specifications. These specifications include Custom Elements, Shadow DOM, HTML Imports, and HTML Templates. As Hyperledger Fabric supports cross-origin resource sharing (CORS) out of the box, the web client communicates directly via HTTP/JSON.
As requests arrive on Hyperledger Fabric, they are mapped to a specific smart contract written in Go. There are two types of requests that can be made. The first is an invoke request, which will take place asynchronously on Hyperledger Fabric, returning only a transaction identifier. The second is a query request which will return some value. This project uses invoke requests for create, update, and delete operations, and query requests for read operations.
The to-do list application that you will create is designed to help you understand how common transactions needed by business processes can be adapted to use blockchain. Remember: blockchain does not equal Bitcoin! (Although it might be said that Bitcoin is one of the first true blockchain applications.) As a distributed ledger, blockchain’s distinct characteristics, such as decentralization, consensus, and encryption, have broad-reaching implications to many businesses and organizations, including finance, transportation, health care, and more.
November 1, 2018
March 3, 2019
Back to top