This repository sets up a Hyperledger Fabric blockchain network for a crowdfunding platform with four organizations: Fundraisers, Donors, Authorities, and Bank. The network is configured with Fabric CA for certificate management and includes the full lifecycle of creating a channel, joining peers, and installing chaincode.
- Architecture
- Prerequisites
- Network Setup
- Organizations Setup
- Channel Configuration
- Chaincode Deployment
- Network Management
- Useful Commands
The CrowdFundingNetwork consists of the following entities:
- Orderer Organization:
crowdfund.com
with one orderer node. - Fundraisers Organization: Includes peers representing fundraising campaigns.
- Donors Organization: Includes peers representing donors.
- Authorities Organization: Includes peers for regulatory authorities.
- Bank Organization: Handles financial transactions.
All organizations use Fabric CA for certificate generation and user management. Each organization has one peer node, and the network uses a solo ordering service.
Technologies used in the project:
- Hyperledger Fabric
Make sure the following tools are installed on your machine:
- Docker
- Docker Compose
- Node.js (for running and testing the chaincode)
- Hyperledger Fabric binaries
git clone https://github.com/yourusername/CrowdFundingNetwork.git
cd CrowdFundingNetwork