hyperledger-composer

Include external library file in Hyperledger Composer

我的梦境 提交于 2019-12-23 12:28:23
问题 Is there a way to include an external library in Hyperledger Composer? I would like to use this library for currency computations. I saw in this post ( which I think is old and there might be advancements on this since the response is 9 months old ) that at the time it was not possible to include external libraries in Hyperledger 回答1: If you are referring to business network Transaction Processor functions (which I think you are) then you cannot use require to include an external library.

steps to install cryptogen tool for hyperledger fabric node setup?

自古美人都是妖i 提交于 2019-12-23 09:27:45
问题 I am a java developer and i have started learning hyperledger fabric . I am trying to do the setup for fabric node setup . I am not sure how to install cryptogen tool . Please help me . 回答1: For Linux users: The installation process of binaries tools for Hyperledger Fabric is captured in the download platform-specific binaries section. You need to run: curl -sSL https://raw.githubusercontent.com/hyperledger/fabric/release/scripts/bootstrap-1.0.0.sh | bash It will download required files. Make

Does composer support endorsement policy? How?

泄露秘密 提交于 2019-12-23 06:49:11
问题 I understand that it is possible to specify the endorsement policy using -o or -O options during composer network deploy or composer network start, but given that composer connection profile contains the connection information for only one MSP/Org, how does composer sends the transaction proposal to the Peers of other Orgs in the endorsement policy? 回答1: The connection profile has information which represents the organisation to which you belong (mspID), this doesn't restrict from sending

Can connect between hyperledger composer and Android app?

那年仲夏 提交于 2019-12-23 05:07:08
问题 I created a network on hyperledger composer on one physical machine and create cards for admin and user I have some questions: 1) how can I access the same network using 2 different machines(laptops) ? 2) and if it possible to connect this network on hyperledger composer to Android app ? I want to know if these possible or not and how can do that? And I want to know if using hyperledger fabric will be best or go on hyperledger composer? 回答1: It depends on what you mean with "access the

Hyperledger-Composer: Getting “access denied” when pinging network admin card

。_饼干妹妹 提交于 2019-12-23 04:29:11
问题 Im using Hyperledger Composer over Hyperledger Fabric to deploy a .bna file. The problem comes when creating networkAdmin cards for the different organizations, they are not able to access the network. Background The project structure is as follows: Organizations: exporter01 with one peer and one CA maritimeAgency01 with one peer and one CA terminal01 with one peer and one CA terrestrialTransport01 with one peer and one CA The steps towards the problem are as follows: Create the PeerAdmin

Hyperledger-Composer: Getting “access denied” when pinging network admin card

穿精又带淫゛_ 提交于 2019-12-23 04:29:06
问题 Im using Hyperledger Composer over Hyperledger Fabric to deploy a .bna file. The problem comes when creating networkAdmin cards for the different organizations, they are not able to access the network. Background The project structure is as follows: Organizations: exporter01 with one peer and one CA maritimeAgency01 with one peer and one CA terminal01 with one peer and one CA terrestrialTransport01 with one peer and one CA The steps towards the problem are as follows: Create the PeerAdmin

Can some one share fabric multi channel example using hyperledger-composer

℡╲_俬逩灬. 提交于 2019-12-23 03:02:00
问题 There is no clear documentation of hyperledger fabric multichannel, can someone from community share example of configuration. 回答1: This Stack Overflow thread on creating multi-channel for a Hyperledger Fabric configuration should help you (mostly in yellow and grey code blocks) -> Configure Multiple Channel in Hyperledger Fabric. Once you have configured your custom runtime Fabric environment for your multi-Org, multi-channel setup, you can then create the requisite Hyperledger Composer

Fabric Composer quick-start failing when trying to deploy the bna file on OSX

跟風遠走 提交于 2019-12-23 01:54:57
问题 I'm having some problems trying to deploy a bna file using the fabric composer. First I tried using my own HyperLedger 0.6 instance, creating a connection profile and then using the composer-cli to deploy a bna and I got the following error during the composer network deploy command: "TypeError: Cannot read property 'fail' of undefined" Then I removed all my docker images and containers, made sure everything was updated and I tried the getting-started script and I got the exact same error.

Error: Expected a Resource or Concept

吃可爱长大的小学妹 提交于 2019-12-22 10:52:39
问题 When I try to execute the transaction in composer-playground I got an error "getAssetRegistry is returning null and the error message says assetRegistry is not defined" /*Here is my .cto file: */ namespace org.acme.payrent participant Authority identified by authorityId { o String authorityId } participant Tenant identified by tenantEmailId { o String tenantEmailId regex =/^([a-zA-Z0-9_\-\.]+)@([a-zA-Z0-9_\-\.]+)\.([a-zA-Z]{2,5})$/ o String tFirstName o Address Address o TBankDetails tBank o

Hyperledger Composer issue identity but missing business card

余生颓废 提交于 2019-12-22 10:46:14
问题 I am working in a proof of concept with a Node.js application and 'composer-client' npm module. I have tried different commands such as adding a participant, adding an asset and performing a transaction and everything seems to work correctly. However, when I try to issue a new identity I do not get the results that I expect. I execute my Node.js application with the following code: var businessNetwork = new BusinessNetworkConnection(); return businessNetwork.connect('admin@tutorial-network')