This directory contains all configuration files for the Fabric Zakat network.
config/
├── dev/ # Development environment configs
│ ├── configtx.yaml # Channel configuration for development
│ └── crypto-config.yaml # Crypto configuration for development
├── prod/ # Production environment configs
│ ├── configtx.yaml # Channel configuration for production
│ └── crypto-config.yaml # Crypto configuration for production
├── docker-compose-test.yaml # Docker compose for test network
└── README.md # This documentation
Development and production environments are separated into different directories:
configtx.yaml
: Channel configuration for local developmentcrypto-config.yaml
: MSP configuration for development- Used with docker-compose-test.yaml for local testing
configtx.yaml
: Channel configuration for production deploymentcrypto-config.yaml
: MSP configuration for production environment- Note: Production configs should be managed securely and not committed to git
docker-compose-test.yaml
defines the local test network with:
- Orderer node
- YDSF Malang peer
- YDSF Jatim peer
- CLI containers
Use the generate.sh script in the project root:
./generate.sh
This will:
- Use configs from dev/ or prod/ based on environment
- Generate crypto materials
- Create genesis block
- Create channel transaction files