Skip to content

Hyperledger Fabric is an enterprise-grade permissioned distributed ledger framework for developing solutions and applications. Its modular and versatile design satisfies a broad range of industry use cases. It offers a unique approach to consensus that enables performance at scale while preserving privacy. https://wiki.hyperledger.org/display/fa…

License

Notifications You must be signed in to change notification settings

asadmanzoor93/hyperledger-fabric-blockchain

Repository files navigation

Hyperledger Fabric Blockchain

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]

Continuous Integration

Please have a look at Continuous Integration Process

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

API Setup Guide

1- Go to the following path

cd {project-path}/hyperledger-fabric-term-project/fabcar/javascript/

2- Install the Node packages

npm i

3- Install nodemon package to serve api's

npm i -g nodemon

4- Start API server

nodemon index.js

5- Check that API is running or not by visiting the following link.

Restarting Network

docker stop $(docker ps -a -q)
docker rmi -f $(docker images | grep fabcar | awk '{print $3}')
docker ps -qa|xargs docker rm

About

Hyperledger Fabric is an enterprise-grade permissioned distributed ledger framework for developing solutions and applications. Its modular and versatile design satisfies a broad range of industry use cases. It offers a unique approach to consensus that enables performance at scale while preserving privacy. https://wiki.hyperledger.org/display/fa…

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published