# Hyperledger Fabric Asset Transfer API Environment Configuration # Copy this file to config.env and modify the values as needed # ============================================================================= # Server Configuration # ============================================================================= HOST=localhost PORT=8080 # ============================================================================= # Hyperledger Fabric Configuration # ============================================================================= # MSP (Membership Service Provider) ID MSP_ID=Org1MSP # Base path for cryptographic materials CRYPTO_PATH=../../test-network/organizations/peerOrganizations/org1.example.com # Certificate path (optional, defaults to CRYPTO_PATH/users/User1@org1.example.com/msp/signcerts) CERT_PATH= # Private key path (optional, defaults to CRYPTO_PATH/users/User1@org1.example.com/msp/keystore) KEY_PATH= # TLS certificate path (optional, defaults to CRYPTO_PATH/peers/peer0.org1.example.com/tls/ca.crt) TLS_CERT_PATH= # Peer endpoint for gRPC connection PEER_ENDPOINT=dns:///localhost:7051 # Gateway peer name (used for TLS verification) GATEWAY_PEER=peer0.org1.example.com # Fabric network channel name CHANNEL_NAME=mychannel # Chaincode name deployed on the channel CHAINCODE_NAME=basic # ============================================================================= # Logging Configuration # ============================================================================= # Log level: panic, fatal, error, warn, info, debug, trace LOG_LEVEL=info # Log format: text, json LOG_FORMAT=text # ============================================================================= # Development Configuration # ============================================================================= # Set to development for additional debug features ENVIRONMENT=production # API request timeout in seconds API_TIMEOUT=30 # Database connection timeout in seconds (if using database) DB_TIMEOUT=10