Samples for Hyperledger Fabric
Find a file
Stefan Obermeier 5e5d2c8e01
Update java chaincode to be compatible with doc and other implementations (#149)
* Use numbers without leading zeroes for key

Signed-off-by: Stefan Obermeier <scray@stefan-obermeier.de>

* Update chaincode to be compatible with doc.

E.g. Return key of the queried record

Signed-off-by: Stefan Obermeier <scray@stefan-obermeier.de>

* Clean up

Use always whitespaces to indent the start of the line
Remove unnecessary whitespaces

Signed-off-by: Stefan Obermeier <scray@stefan-obermeier.de>
2020-04-07 09:09:10 +02:00
chaincode Update java chaincode to be compatible with doc and other implementations (#149) 2020-04-07 09:09:10 +02:00
chaincode-docker-devmode [FAB-17121] Use new bootstrap config in orderer 2019-11-26 11:41:19 -08:00
ci Organize and Standardize ci Directory Content (#152) 2020-04-06 22:20:43 +02:00
commercial-paper Add enrollUser files to commercial paper (#140) 2020-03-30 21:38:40 +02:00
fabcar Bump acorn from 6.4.0 to 6.4.1 in /fabcar/javascript (#144) 2020-03-31 07:49:52 +02:00
first-network [FAB-17656] echo Generating channel.tx (#139) 2020-03-27 14:38:29 +01:00
high-throughput [FAB-17460] Move High Throughput sample to test network (#112) 2020-03-20 14:23:00 +00:00
interest_rate_swaps [FAB-17504] add Organizations.<Org>.OrdererEndpoints and remove Orderer.Addresses (#125) 2020-03-20 16:02:44 +01:00
off_chain_data [FAB-17461] Move off_chain_data sample to test network (#122) 2020-03-20 14:23:54 +00:00
test-network Organize and Standardize ci Directory Content (#152) 2020-04-06 22:20:43 +02:00
.gitignore Change Download Location of Fabric Binaries (#143) 2020-03-30 17:51:39 +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 Perform General Cleanup (#151) 2020-04-06 21:49:14 +02:00
README.md Perform General Cleanup (#151) 2020-04-06 21:49:14 +02:00
SECURITY.md [IN-68] Add default GitHub SECURITY policy 2019-09-25 10:22:26 -07:00

Hyperledger Fabric Samples

Please visit the installation instructions to ensure you have the correct prerequisites installed. Please use the version of the documentation that matches the version of the software you intend to use to ensure alignment.

Download Binaries and Docker Images

The installation instructions will utilize scripts/bootstrap.sh (available in the fabric repository) script to download all of the requisite Hyperledger Fabric binaries and docker images, and tag the images with the 'latest' tag. Optionally, specify a version for fabric, fabric-ca and thirdparty images. If versions are not passed, the latest available versions will be downloaded.

The script will also clone fabric-samples repository using the version tag that is aligned with the Fabric version.

You can also download the script and execute locally:

# Fetch bootstrap.sh from fabric repository using
curl -sS https://raw.githubusercontent.com/hyperledger/fabric/master/scripts/bootstrap.sh -o ./scripts/bootstrap.sh
# Change file mode to executable
chmod +x ./scripts/bootstrap.sh
# Download binaries and docker images
./scripts/bootstrap.sh [version] [ca version] [thirdparty_version]

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