This repository contains a Hyperledger Fabric project built using Fabric 2.0. It demonstrates the implementation of a blockchain network and smart contracts using Hyperledger Fabric.
These instructions will help you get a copy of the project up and running on your local machine for development and testing purposes.
-
Linux or macOS is recommended for the development environment.
-
For Windows users, it is recommended to set up WSL (Windows Subsystem for Linux) to run this project. Follow the steps below to set up WSL:
-
Install WSL: Follow the official Microsoft documentation to install WSL on your Windows machine. You can find more information here.
-
Install a Linux distribution: Once WSL is set up, install a Linux distribution of your choice from the Microsoft Store or by following the instructions in the WSL documentation.
-
Launch a Linux shell: Open the Linux distribution you installed and proceed with the remaining instructions in this README file within the Linux shell.
Before running the project, ensure you have the following software installed:
- Docker
- Go programming language (version 1.13 or later)
- Node.js (version 8.x or later)
- npm (Node package manager)
Follow these steps to install the project:
-
Clone this repository to your local machine:
git clone https://github.com/rishitashaw/Hyperledger-Fabric.git
-
Navigate to the project directory:
cd Hyperledger-Fabric
-
Install the necessary dependencies:
npm install
-
Build the project:
make all
To start the Hyperledger Fabric network and deploy the smart contracts, follow these steps:
-
Start the network:
make network-up
-
Deploy the smart contracts:
make deploy
I'll update as soon as the project is complete
Contributions are welcome! If you would like to contribute to this project, please follow these steps:
- Fork the repository
- Create a new branch:
git checkout -b my-new-branch
- Make your changes and commit them:
git commit -am 'Add some feature'
- Push the branch:
git push origin my-new-branch
- Submit a pull request
This project is licensed under the MIT License.
List any acknowledgments or resources that you found helpful during your work on the project.
If you have any questions or suggestions, feel free to contact me at [email protected].