Getting Started with Blockchain on GCP using Hyperledger Fabric and Composer
A blockchain is a growing list of records, called blocks, which are linked using cryptography. Each block contains:
- a cryptographic hash of the previous block
- a timestamp
- transaction data (generally represented as a merkle tree root hash)
By design, a blockchain is resistant to modification of the data. It is "an open, distributed ledger that can record transactions between two parties efficiently and in a verifiable and permanent way". For use as a distributed ledger, a blockchain is typically managed by a peer-to-peer network collectively adhering to a protocol for inter-node communication and validating new blocks. Once recorded, the data in any given block cannot be altered retroactively without alteration of all subsequent blocks, which requires consensus of the network majority. Although blockchain records are not unalterable, blockchains may be considered secure by design and exemplify a distributed computing system with high Byzantine fault tolerance. Decentralized consensus has therefore been claimed with a blockchain.
Hyperledger is an open source collaborative effort created to advance cross-industry blockchain technologies. It is a global collaboration, hosted by The Linux Foundation, and includes leaders in finance, banking, Internet of Things, supply chains, manufacturing, and technology.
Hyperledger Composer is an extensive open development toolset and framework to make developing blockchain applications easier.
Hyperledger Composer can be used to rapidly develop use cases and deploy a blockchain solution in weeks rather than months. Hyperledger Composer allows you to model your business network and integrate existing systems and data with your blockchain applications. It supports the existing Hyperledger Fabric blockchain infrastructure and runtime, which supports pluggable blockchain consensus protocols to ensure that transactions are validated according to policy by the designated business network participants.
For an example of a business network in action; a realtor can quickly model their business network as such:
Assets: houses and listings
Participants: buyers and homeowners
Transactions: buying or selling houses, and creating and closing listings
In this lab, you will learn to use Hyperledger Composer to quickly model a business network containing assets, participants, and transactions related to them. Hyperledger Composer Playground provides a user interface for the configuration, deployment, and testing of a business network.
What you'll learn
How to deploy Hyperledger Fabric and Composer solution from Google Cloud Marketplace.
How to deploy a new business network.
How to use Hyperledger Composer Playground to configure and test the deployed business network by creating sample assets, participants, and transactions.
To complete this lab
You do NOT need a G Suite Admin account. An account, project and associated resources are provided to you as part of this lab.
If you already have your own G Suite Admin account, make sure you are signed out of the account. Do not use it for this lab.
Join Qwiklabs to read the rest of this lab...and more!
- Get temporary access to the Google Cloud Console.
- Over 200 labs from beginner to advanced levels.
- Bite-sized so you can learn at your own pace.