Re: Network configuration file


Siddharth Jain
 

thanks for the clarification.


From: Tiffany Harris <Tiffany.Harris@...>
Sent: Thursday, June 11, 2020 8:49 AM
To: siddjain@... <siddjain@...>
Cc: fabric@... <fabric@...>
Subject: Re: [Hyperledger Fabric] Network configuration file
 
The connection-org1.yaml is copied to the gateway directory from the test-network when the network-starter.sh is run. 
 
 

----- Original message -----
From: "Siddharth Jain" <siddjain@...>
Sent by: fabric@...
To: "fabric@..." <fabric@...>
Cc:
Subject: [EXTERNAL] [Hyperledger Fabric] Network configuration file
Date: Wed, Jun 10, 2020 7:36 PM
 
Hi,
 
we are looking at the fabric-samples
let connectionProfile = yaml.safeLoad(fs.readFileSync('../gateway/connection-org1.yaml', 'utf8'));
 

but cannot find the connection-org1.yaml file in https://github.com/hyperledger/fabric-samples/tree/v2.1.0/commercial-paper/organization/digibank/gateway
 
Is there any document that explains the syntax of this file needed by the Gateway class?
 
Sid
 

Join fabric@lists.hyperledger.org to automatically receive all group messages.