以下所有的命令均在supply-finance
目录下执行
环境变量设置:
1 2 3
| export PATH=${PWD}/bin:$PATH export FABRIC_CFG_PATH=${PWD}/config configtxgen --help
|
核心企业GylCoreOrg1MSP,Admin:
1 2 3 4 5
| export CORE_PEER_TLS_ENABLED=true export CORE_PEER_LOCALMSPID="GylCoreOrg1MSP" export CORE_PEER_TLS_ROOTCERT_FILE=${PWD}/organizations/peerOrganizations/core.supply.com/peers/peer0.core.supply.com/tls/ca.crt export CORE_PEER_MSPCONFIGPATH=${PWD}/organizations/peerOrganizations/core.supply.com/users/Admin@core.supply.com/msp export CORE_PEER_ADDRESS=localhost:8051
|
一级供应商GylFOrg1MSP,Admin:
1 2 3 4 5
| export CORE_PEER_TLS_ENABLED=true export CORE_PEER_LOCALMSPID="GylFOrg1MSP" export CORE_PEER_TLS_ROOTCERT_FILE=${PWD}/organizations/peerOrganizations/f1.supply.com/peers/peer0.f1.supply.com/tls/ca.crt export CORE_PEER_MSPCONFIGPATH=${PWD}/organizations/peerOrganizations/f1.supply.com/users/Admin@f1.supply.com/msp export CORE_PEER_ADDRESS=localhost:8053
|
二级供应商1GylSOrg1MSP,Admin:
1 2 3 4 5
| export CORE_PEER_TLS_ENABLED=true export CORE_PEER_LOCALMSPID="GylSOrg1MSP" export CORE_PEER_TLS_ROOTCERT_FILE=${PWD}/organizations/peerOrganizations/s1.supply.com/peers/peer0.s1.supply.com/tls/ca.crt export CORE_PEER_MSPCONFIGPATH=${PWD}/organizations/peerOrganizations/s1.supply.com/users/Admin@s1.supply.com/msp export CORE_PEER_ADDRESS=localhost:8055
|
二级供应商2GylSOrg2MSP,Admin:
1 2 3 4 5
| export CORE_PEER_TLS_ENABLED=true export CORE_PEER_LOCALMSPID="GylSOrg2MSP" export CORE_PEER_TLS_ROOTCERT_FILE=${PWD}/organizations/peerOrganizations/s2.supply.com/peers/peer0.s2.supply.com/tls/ca.crt export CORE_PEER_MSPCONFIGPATH=${PWD}/organizations/peerOrganizations/s2.supply.com/users/Admin@s2.supply.com/msp export CORE_PEER_ADDRESS=localhost:8151
|