Samples for Hyperledger Fabric
Find a file
Brett Logan a401bc92bc Refactor Asset Secured Chaincode Into Idiomatic Go
Rewrites the chaincode in idiomatic Go and cleans up
the general implementation.

A future commit should push the chaincode logic itself
into a separate package as chaincode cannot be tested
when the logic is part of the main package.

Signed-off-by: Brett Logan <brett.t.logan@ibm.com>
2020-07-11 07:53:45 -04:00
.github FAB-17777 Create basic settings.yaml (#165) 2020-04-22 08:09:56 +02:00
asset-transfer-basic Add Tests and Mocks To Asset Transfer Chaincode 2020-07-10 05:59:22 -04:00
asset-transfer-ledger-queries/chaincode-go Update asset_transfer_ledger_chaincode.go 2020-07-10 07:39:46 -04:00
asset-transfer-secured-agreement/chaincode-go Refactor Asset Secured Chaincode Into Idiomatic Go 2020-07-11 07:53:45 -04:00
chaincode Fix java fabcar queryAllCars (#239) 2020-07-09 17:32:08 +01:00
chaincode-docker-devmode [FAB-17121] Use new bootstrap config in orderer 2019-11-26 11:41:19 -08:00
ci Update tests for commercial paper 2020-07-03 13:46:01 -04:00
commercial-paper Add missing Copyright in some files (#163) 2020-05-19 15:50:48 +01:00
fabcar run fabcar go (#232) 2020-07-10 16:18:05 +01:00
high-throughput [FAB-17957] Delete --tls extra arguments from fabric-samples (#198) 2020-06-04 16:49:29 -04:00
interest_rate_swaps Remove gossip leader election config from samples (#223) 2020-07-02 15:37:15 -04:00
off_chain_data Add missing Copyright in some files (#163) 2020-05-19 15:50:48 +01:00
scripts Add CHANGELOG.md with script to update it (#162) 2020-05-19 15:52:13 +01:00
test-network Remove gossip leader election config from samples (#223) 2020-07-02 15:37:15 -04:00
.gitignore Change Download Location of Fabric Binaries (#143) 2020-03-30 17:51:39 +01:00
CHANGELOG.md Add CHANGELOG.md with script to update it (#162) 2020-05-19 15:52:13 +01:00
CODE_OF_CONDUCT.md FAB-9362 add CONTRIBUTING.md and CODE_OF_CONDUCT.md 2018-04-04 19:25:55 -04:00
CODEOWNERS Perform General Cleanup (#151) 2020-04-06 21:49:14 +02:00
CONTRIBUTING.md Fix doc link 2019-01-24 16:47:03 +08:00
LICENSE FAB-4853 initial content 2017-06-21 07:30:04 +08:00
MAINTAINERS.md Nominate Nikhil Cupta as Fabric-samples maintainer (#180) 2020-05-18 18:03:44 +02:00
README.md remove link to BYFN in README 2020-07-03 13:44:31 -04:00
SECURITY.md [IN-68] Add default GitHub SECURITY policy 2019-09-25 10:22:26 -07:00

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.
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/.