Samples for Hyperledger Fabric
Find a file
Bret Harrison 1f27c327f3 Allow install of a chaincode
options on the network script to deploy chaincode
-ccn The name to be used as the deployed name and used as
     the short name of known chaincodes when the -ccp is not included.
   known short names
     'basic' - asset-transfer-basic
     'secure' - asset-transfer-secured-agreement
     'ledger' - asset-transfer-ledger-queries
     'private' - asset-transfer-private-data
-ccl the language of the chaincode
-ccv the version
-ccs the sequence
-ccp [optional] the path to the chaincode, when provided
     the -ccn will be the deployed name
-cci [optional] the chaincode function to call during deployment
     that will perform an initialization of the channel state
     required for this chaincode

Signed-off-by: Bret Harrison <beharrison@nc.rr.com>
2020-07-15 10:39:12 -04:00
.github FAB-17777 Create basic settings.yaml (#165) 2020-04-22 08:09:56 +02:00
asset-transfer-basic Fix param sequence for typescript invoke function. 2020-07-12 17:29:06 -04:00
asset-transfer-ledger-queries/chaincode-go Refactor Asset Query Chaincode Into Idiomatic Go 2020-07-15 10:36:04 -04:00
asset-transfer-private-data/chaincode-go Initialize new private data asset transfer CC 2020-07-11 08:04:37 -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 Allow install of a chaincode 2020-07-15 10:39:12 -04:00
commercial-paper Add missing Copyright in some files (#163) 2020-05-19 15:50:48 +01:00
fabcar Allow install of a chaincode 2020-07-15 10:39:12 -04: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 Allow install of a chaincode 2020-07-15 10:39:12 -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/.