hyperledger-composer

Hyperledger Composer - connection issue when using TLS

為{幸葍}努か 提交于 2019-12-22 01:31:48
问题 i'm having issues deploying composer on top of a multi org, multi peer network. My network has two CA's, one order and six peers (two per org). The network uses TLS, which is giving me some issues. When running composer network ping -n network2 -p org1 -i user -s pass i am receiving SSL errors; E0913 16:54:49.855499904 120141 ssl_transport_security.c:921] Handshake failed with fatal error SSL_ERROR_SSL: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed. E0913

How to integrate HyperLedger composer Business network with Hyperledger explorer?

孤街醉人 提交于 2019-12-22 00:17:10
问题 I have built Business network using HyperLedger composer. Now, I want to use HyperLedger explorer for my solution? I didnt find any help on the same. I have downloaded all the Hyperledger explorer from Git, I am stuck in configuring the Config file? I am not sure, which config file is being referred in the below link? https://github.com/hyperledger/blockchain-explorer/blob/master/README.md 回答1: I think that the file structure has been changed recently, but the reference to the config file in

failed to install composer-cli but I see errors

家住魔仙堡 提交于 2019-12-20 07:22:23
问题 I see the following errors when run command npm install -g composer-cli@0.20 nvm 0.33.0 npm 6.4.1 node 10.13.0 I'm trying to the Hyperledger in my local Mac OS but it keep failing when I run the command. I followed this guide to install it https://hyperledger.github.io/composer/latest/installing/development-tools.html here's the error part: grpc@1.10.1 install /Users/jason/.nvm/versions/node/v10.13.0/lib/node_modules/composer-cli/node_modules/grpc node-pre-gyp install --fallback-to-build -

composer network start: No valid responses from any peers. Response from attempted peer comms was an error: Error: REQUEST_TIMEOUT

佐手、 提交于 2019-12-20 05:53:55
问题 I'm trying to deploy a multiple organisations to Hyperledger fabric by following this tutorial -> https://hyperledger.github.io/composer/latest/tutorials/deploy-to-fabric-multi-org Everything works as expected until I try to start the network: composer network start -l "DEBUG" -c PeerAdmin@byfn-network-org1 -n block-aviation-network -V 0.0.1 -o endorsementPolicyFile=./tmp/composer/endorsement-policy.json -A SimonOrg1 -C SimonOrg1/admin-pub.pem -A SimonOrg2 -C SimonOrg2/admin-pub.pem -A

How should composer setup to be done for hyperledger fabric network deployment for multiple orgs on multiple physical machine

馋奶兔 提交于 2019-12-20 05:43:05
问题 for deploying hyperledger fabric network using composer do i need to deploy composer per orgs (here in this case i'm using 2 orgs on 2 physical machine) or i setup of composer for all orgs is required? anyone have idea on this? 回答1: Hyperledger Composer can be used against any hyperledger fabric network topology you have defined, you just need to configure connection profiles and build business network cards with these profiles for the actions you want to perform. The best place to understand

Using two business cards in the same composer rest server configuration

穿精又带淫゛_ 提交于 2019-12-20 04:24:52
问题 I did the tutorial to deploy to a multi org fabric network and it worked successfully . Now i have two admin cards - alice@trade-network , bob@trade-network and two identities/cards issued by them - jdoe@trade-network , dlowe@trade-network Now i have given access control rules stating that jdoe (trader1-org1) and dlowe(trader2-org2) can only view their own records Thus when i connect to their respective business cards i am able to view only their records . Now i can start two rest servers

Building a real time application USing composer

断了今生、忘了曾经 提交于 2019-12-19 04:46:20
问题 Consider a scenario: I am building the Enterprise Web application, in which some part of the data resides in Blockchain and in the normal database. It is the authorized application. .bna has two types of participant admin and normal user Use case 1) Customer registers as "admin" on the application form. During the process, Username and password are saved in the normal database. Now the same user needs to be created in the Blockchain as Participant "admin" in parallel using the API's.What is

Handshake failed with fatal error SSL_ERROR_SSL

老子叫甜甜 提交于 2019-12-18 18:07:38
问题 I'm following this tutorial https://hyperledger.github.io/composer/latest/tutorials/deploy-to-fabric-multi-org to deploy a composer blockchain business network to Hyperledger Fabric (multiple organizations) I'm getting the following error however when trying to install the business network though: Installing business network. This may take a minute...E0424 16:44:04.865686000 140735870391104 ssl_transport_security.cc:989] Handshake failed with fatal error SSL_ERROR_SSL: error:14090086:SSL

Hyperledger Composer Error Identity has not been registered once issued after restart

五迷三道 提交于 2019-12-18 09:46:44
问题 I am using hyperledger composer 0.16.0 and I want to persist data to database so that data can be used even after restart. so I am using loopback-connector-mongodb Context I have been following this tutorial and I am able to complete it. I have setup fabric by issuing below steps cd ${HOME}/fabric-tools/ ./stopFabric.sh ./teardownFabric.sh ./downloadFabric.sh ./startFabric.sh cd ${HOME}/tmt/Profile/ composer card create -p connection.json -u PeerAdmin -c Admin@org1.example.com-cert.pem -k

Can I use JavaScript libs with require on transaction processor

∥☆過路亽.° 提交于 2019-12-18 09:18:32
问题 Can I use JavaScript libs with require on transaction processor of fabric composer? I'd like to use it with npm install.. at least I couldn't do this on playground now. 回答1: No, we do not support that. We have tentative plans to move to native Node.js chain code container, which may allow this. It does raise some challenges around lifecycle management of the code however. 回答2: I have tried to use momentjs and numeraljs in my project . Since i can use many logic js file in my model . I have