hyperledger-composer

How to use hyperledger getnative API

佐手、 提交于 2019-11-28 08:28:42
问题 I came across the getNative API through which one call chaincode from Hyperledger composer. See here: https://github.com/hyperledger/composer/issues/3120 Can someone please tell me exactly how does this work? Say if I have a very simple chaincode with a getter and setter, can I invoke those from the JS code in composer 回答1: To call the Hyperledger Fabric API in a transaction processor function of composer , the function getNativeAPI must be called. getNativeAPI allow users to call directly of

Hyperledger composer for enterprise

大憨熊 提交于 2019-11-28 06:13:28
问题 I saw that Hyperledger composer is really easy to work with, also we can deploy the composer code on hyperledger fabric. But I found that they create only one channel, and we will have the flexibility to talk to the specific peers like what we can do in GoLang\fabric, can we call external web services from composer java script code as we can do in Golang on fabric? I'm wondering, can we use hyperledger composer for enterprise blockchain applications? or just we use it to create blockchain

Hyperledger Composer v0.16.0 network start error

旧时模样 提交于 2019-11-28 00:41:55
问题 I'm trying Hyperledger Composer v0.16.0. According to this procedure, I want to Deploy BNA to Fabric network on cloud. but following error occurs. Kindly let me know how I can solve it. command: composer network start --card PeerAdmin@myfabric --networkAdmin admin --networkAdminEnrollSecret adminpw --archiveFile trade-network.bna --file networkadmin.card result: tarting business network from archive: trade-network.bna Business network definition: Identifier: trade-network@0.1.13 Description:

Difference between hyperledger composer and hyperledger fabric?

安稳与你 提交于 2019-11-27 11:59:56
问题 I am java developer and new to hyperledger. I am interested in learning it and need to know where to start . fabric vs composer? 回答1: Hyperledger Composer simplifies application development on top of the Hyperledger Fabric blockchain infrastructure. If you are interested in the blockchain infrastructure, start with the Fabric tutorials. If you are interested in blockchain applications, start with the Composer tutorials. The Fabric tutorials also include samples of low level chaincode

Error in starting hyperledger fabric network with hyperledger composer

五迷三道 提交于 2019-11-27 09:33:42
I am trying to set up a network using hyper ledger composer, for which I followed the Developer tutorial for creating a Hyperledger Composer solution but when I use the command composer network start --networkName tutorial-network --networkVersion 0.0.1 --networkAdmin admin --networkAdminEnrollSecret adminpw --card PeerAdmin@hlfv1 --file networkadmin.card It is giving the following error : Starting business network tutorial-network at version 0.0.1 Processing these Network Admins: userName: admin ✖ Starting business network definition. This may take a minute... **Error: Error trying to start

Hyperledger Composer Web application user authentication

别等时光非礼了梦想. 提交于 2019-11-27 07:20:59
I already created a business network using hyperledger composer and I created a simple web app for adding participants and submitting transactions through web interface by using angular. Also, I have enabled authentication for the REST server using passport and I have used multiple user mode so I could export business network card to the rest api and change the default card and submit transaction via different users. Now I want to create the registration part of my web app, so my users could be able to register through the web application, issue an identity and then submit transactions or view

Fabric composer integration with Bluemix blockchain service

守給你的承諾、 提交于 2019-11-27 02:28:23
问题 Can a composer fabric business network, .bna file, be deployed to the bluemix blockchain service today? If so, is there a connection profile example that someone can share? Thanks. 回答1: You can use Composer with the Bluemix Blockchain service today. However, you must be running a local copy of the Composer Playground as the version of Composer running on Bluemix (fabric-composer.mybluemix.net) only supports the web connection profile at the moment. You can set up a local copy of the Composer

How to restart the fabric composer without losing the existing data?

浪子不回头ぞ 提交于 2019-11-26 17:53:23
I have tried "carauction-network" example in my local. But when I am starting the network by using "startFabric.sh" file, it is removing the Couch DB & again creating Couch DB, due to this old data are getting lost. Please suggest how we can start the fabric server without cleaning the data. R Thatcher The startFabric.sh under fabric-dev-servers (formerly fabric-tools) does more than just start the Fabric - it removes existing Fabric Containers and recreates new Containers from the Docker Images. The impact of this is that you lose all your data and your Business Network from the Fabric. All

Error in starting hyperledger fabric network with hyperledger composer

耗尽温柔 提交于 2019-11-26 14:47:36
问题 I am trying to set up a network using hyper ledger composer, for which I followed the Developer tutorial for creating a Hyperledger Composer solution but when I use the command composer network start --networkName tutorial-network --networkVersion 0.0.1 --networkAdmin admin --networkAdminEnrollSecret adminpw --card PeerAdmin@hlfv1 --file networkadmin.card It is giving the following error : Starting business network tutorial-network at version 0.0.1 Processing these Network Admins: userName: