Update package.json in balance transfer to fetch the latest
published fabric-client and fabric-ca-client npm module
versions.
Change-Id: Ica95ae1671f257322096863509bf67fa11a3dd59
Signed-off-by: rameshthoomu <rameshbabu.thoomu@gmail.com>
- Made it possible to deploy the app (both the client and fabric
backend) to a location other than localhost
- Made it possible to work with a backend over grpc instead of always
assuming grpcs
- Made the list of target peers for instantiate and invoke calls
to be optional
- Enabled target networks to be controlled by an env variable
Change-Id: Ie394cf7e8f6ed47d970d4be992f2f6a0394fff7f
Signed-off-by: Jim Zhang <jzhang@us.ibm.com>
The README in "balance-transfer" should be fixed in the section:
https://github.com/hyperledger/fabric-samples/tree/master/
balance-transfer#running-the-sample-program
1. Broken link
There is a link to "Sample REST APIs Requests" which is broken.
This is linked to non-existent path on fabric-sdk-node repository.
I believe the intended link is to
https://github.com/hyperledger/fabric-samples/tree/master/
balance-transfer#sample-rest-apis-requests
2. Instruction to start node application.
There is no instruction to start node application.
If we execute the REST APIs according to the current README,
we can't get any responses since node application is not working.
We need to execute the following steps before calling REST APIs.
- npm install
- PORT=4000 node app
fix repo names
Change-Id: I9ec0ec18bb36addd6c8371481dc8cfe645053ec6
Signed-off-by: Yuki Kondo <yuki.kondo@hal.hitachi.com>
Signed-off-by: Christopher Ferris <chrisfer@us.ibm.com>
Sample should use 'fcn' not 'functionName'
in the sample curl calls and sample app.
Change-Id: I4be92a0394fdf579195e9566d049aac0862d5888
Signed-off-by: Bret Harrison <beharrison@nc.rr.com>
"balance-transfer" app doesn't check all of the proposal responses.
An app sends a transaction proposal to multiple peers and get
multiple responses. However, the only first response
"proposalResponses[0]" is checked repeatedly in the loop.
This patch fixes the code to check all of the array value of
proposalResponses correctly.
Change-Id: Id61e691eb4d1c3a6c4a7a390584dfd74f1fc6196
Signed-off-by: Yuki Kondo <yuki.kondo@hal.hitachi.com>
Move the Balance Transfer sample application from
fabric-sdk-node to fabric-samples. This cr will
add the files to the fabric-samples. There will
another one to remove the files from fabric-sdk-node.
Change-Id: I2344ee00bcd47793ae07f203070af93bc2ee69d6
Signed-off-by: Bret Harrison <beharrison@nc.rr.com>