Skip to content

stephyee/fabric-samples

 
 

Hyperledger Fabric Samples

You can use Fabric samples to get started working with Hyperledger Fabric, explore important Fabric features, and learn how to build applications that can interact with blockchain networks using the Fabric SDKs. To learn more about Hyperledger Fabric, visit the Fabric documentation.

Getting started with the Fabric samples

To use the Fabric samples, you need to download the Fabric Docker images and the Fabric CLI tools. First, make sure that you have installed all of the Fabric prerequisites. You can then follow the instructions to Install the Fabric Samples, Binaries, and Docker Images in the Fabric documentation. In addition to downloading the Fabric images and tool binaries, the instructions will make you clone the Fabric samples on your local machine.

Guide to the Fabric samples

You can use the following table to learn more about each sample, and find the corresponding tutorial or documentation.

Sample Description Documentation
Fabric test network Get started by deploying a basic Fabric network on your local machine. Using the Fabric test network
Fabcar Learn how to use the Fabric SDK's to invoke smart contracts from your client applications. Writing your first application
Commercial paper Explore a use case in which two organizations use a blockchain network to trade commercial paper. Commercial paper tutorial
Interest rate swaps Explore state based endorsement using a financial services use case. Setting Key level endorsement policies
Off chain data Learn how to use the Peer channel-based event services to build an off chain database for reporting and analytics. Peer channel-based event services
High throughput Learn how you can design your smart contracts to process a large volume of transactions.
First network Deprecated. Use the Fabric test network to get started. Build your first network
Chaincode A set of sample smart contracts used by other samples and the tutorials in the Fabric documentation. Fabric tutorials

License

Hyperledger Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Hyperledger Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.

Packages

No packages published

Languages

  • Shell 32.6%
  • Go 27.7%
  • JavaScript 20.4%
  • Java 16.9%
  • TypeScript 2.4%