
Discover fabric 2.x updates, the composer transition, and a new step-by-step guide to fabric to point X, with sections on blockchain concepts and recommended videos and commands.
Learn how hashes create a fixed-size, irreversible representation that changes with any input, enabling blockchain integrity and data verification across large files and archives.
Explore how blocks, hashes, and nonces form a blockchain, mine to satisfy three zeros in the hash, and secure links via previous hashes to prevent tampering.
Explore how smart contracts operate within a distributed ledger, from bitcoin genesis blocks to JavaScript-based contracts on Hyperledger Fabric, with composer for easy integration.
Install prerequisites on Ubuntu Linux for deploying Hyperledger Fabric, following the official Composer documentation, and use Docker containers to streamline setup while avoiding Windows.
Install the Mac prerequisites for Hyperledger Fabric by setting up Xcode command line tools and nvm. Then install the latest LTS node and the Mac Docker installer.
Execute commands to set up development environment, including npm and the command line interface, install generator and human packages, and use the composer playground to scaffold a dummy business network.
Set up a local Hyperledger Fabric 2.x development environment by downloading fabric tools, installing the runtime, and starting docker containers to run and test networks.
Start a local composer playground to deploy a business network on fabric, define ledger entities and activities, and connect to a locally hosted network while troubleshooting startup issues.
Define a model with assets, participants, and transactions; create a commodity asset with a trading symbol as its primary key, a creator participant, and a transaction that records ownership transfer.
Define the business logic of transactions in javascript for hyperledger fabric 2.x, creating a mortgage function that updates asset ownership through the registry with async operations.
Create participants and assets, execute a commodity transfer, and observe how each transaction is recorded on the block chain ledger with a transaction id in a sandbox.
Create and deploy a Hyperledger Fabric business network by scaffolding a composer project, defining assets, participants, and trades, then expose a REST API via explorer.
Explore the composer rest server and loopback interface to interact with the fabric ledger via rest by creating commodities and creators and executing get, post, and delete operations.
Learn to access a Hyperledger Fabric 2.x network from outside the local environment using a third-party REST client like Postman or Insomnia, performing get and post requests to manage commodities.
Build a PHP-based REST client to interact with a Hyperledger Fabric blockchain, creating assets, participants, and transactions, and exposing a server for app access.
Prepare a clean Ubuntu 20.04 environment with bash, install git and jq, configure docker to start on boot, and set up Norges 12.x and npm 6.x for Fabric prerequisites.
Download and install Hyperledger Fabric binaries, set up a two-organization network with peers and an auditor, deploy a basic chaincode, and configure a Node.js client to connect.
Publish and interact with a smart contract in Hyperledger Fabric 2.x by building JavaScript chaincode for asset transfer and deploying it to two organizations through install, approve, and commit.
Interact with the smart contract via command line to invoke the init ledger function, monitor blockchain logs, and perform read operations to view assets on the channel.
clean the environment by removing all docker containers, images, volumes, and fabric samples to start from scratch. proceed to avoid deleting non-fabric resources as you prepare for node-based blockchain work.
Learn to access Hyperledger Fabric chaincode programmatically with a clean Node.js application, using helper functions to load config, build wallets, and enroll admins and users via the CA.
Set up a node-based asset app for Fabric, install Fabric client and network, create wallets and identities, and register admin and non-admin users to interact with the smart contract.
Interact with ledger using gateway, connection profile, wallet, and discovery to submit or evaluate chaincode transactions. Learn to get all assets, read assets, and create assets via a rest API.
** UPDATE: Course radically updated to include latest Fabric 2.x. Watch the first video for details**
So you want to deploy a blockchain but are overwhelmed by the sea of information out there that is half-baked and seems to want to do too much at the same time.
If so, this course is for you. We will start by explaining exactly what a blockchain is from a technical perspective instead of a high-level business overview. We start from absolute zero, assume no background and give the details only as much as necessary. Then, we move on to the highly popular and industry backed blockchain framework -- Hyperledger Fabric and its high-level library -- Composer. We explain how to set everything up and then move to creating our first blockchain and then a smart contract.
We will also cover how this blockchain can be used from an existing application using a REST API. This would enable you to start using blockchains in your own applications that can benefit from a blockchain or distributed ledger.
We take a case study-based approach and motivate why we need the commands we're running and how everything fits together. If there is a concept that is typically covered in similar courses but isn't immediately necessary for deploying our first smart contract, we'll skip it. We aim to have our first smart contract up and running in about an hour and then integrate with it from outside the Fabric environment by the end of this course -- a total of about 1.5 hours.
There is also a real-time chat system in place for students who enroll in this course. With a free signup, you get access to real-time chat with myself and fellow students who are working to complete this course (or have completed the course before you). We plan on creating this network of like-minded experts who can help each other out and collaborate on exciting ideas together.
What will I learn?
Basics of a hash
How this simple concepts enable the powerful blockchain architecture
Install and configure Hyperledger Fabric using the easiest method available
Install and run Composer -- a high-level, easy to use interface to Fabric
Set up a REST API to use our blockchain from outside Fabric
Use a REST API testing application and then PHP to access data from our blockchain
Use the Latest Fabric 2.x
About the instructor:
Teacher and researcher by profession
PhD in Security and a PostDoc from Max Planck Institute for Software Systems, Germany
17+ years of working with computers and 15+ years of teaching experience
10+ years of working professionally as a Linux System Administrator -- including 5+ years of provable track record on UpWork (with 5.0 star rating there)
What you need to know:
No prerequisites are assumed.
*** UPDATES ***
Updated videos and files for commands changed in the next release of the official docs (just 5 days after the release of the course).
Added Fabric 2.x details now.