hyperledger-composer

createPeerAdminCard.sh not running

青春壹個敷衍的年華 提交于 2021-01-28 02:05:57
问题 https://ibm-blockchain.github.io/develop/installing/development-tools As i was following this and reached the step to Start and Stop Hyperledger Fabric, i was told to run ./createPeerAdminCard.sh as i run this, i get an error as follows: Development only script for Hyperledger Fabric control Running 'createPeerAdminCard.sh' FABRIC_VERSION is unset, assuming hlfv11 FABRIC_START_TIMEOUT is unset, assuming 15 (seconds) Cannot use Composer version @package_branch_alias_version@ (1.0.0-beta2) 2016

MVCC_READ_CONFLICT error when update the fabric chaincode with composer

ε祈祈猫儿з 提交于 2020-04-17 21:30:42
问题 I use composer deployed to the fabric network with five peers. Today when i try to update the fabric chaincode with composer bna file. but one peer return error: Error: Peer localhost:13051 has rejected transaction '39ae7b9cf735ca56a7b9a20c60745206d94852a0a4f73d14cd6fd8813ef57566' with code MVCC_READ_CONFLICT althrough the new dev* chaincode docker of this peer is generated an up. but,all the transaction will return: EXPIRED CHAINCODE so i check this peer's log, found it still use the older

How to upload image on hyperledger composer playground?

Deadly 提交于 2020-02-06 17:10:58
问题 I am trying to build a Block chain application for distributed image sharing and copyright protection. I am using image as an asset. So now I want to upload an image on Hyper ledger Composer playground. How can I do that? 回答1: You can store your file data into the IPFS. IPFS is a protocol and network designed to create a content-addressable, peer-to-peer method of storing and sharing hypermedia in a distributed file system. For IPFS I recommend you to follow the link In your application, In

How to upload image on hyperledger composer playground?

我与影子孤独终老i 提交于 2020-02-06 17:10:54
问题 I am trying to build a Block chain application for distributed image sharing and copyright protection. I am using image as an asset. So now I want to upload an image on Hyper ledger Composer playground. How can I do that? 回答1: You can store your file data into the IPFS. IPFS is a protocol and network designed to create a content-addressable, peer-to-peer method of storing and sharing hypermedia in a distributed file system. For IPFS I recommend you to follow the link In your application, In

How to upload image on hyperledger composer playground?

依然范特西╮ 提交于 2020-02-06 17:09:26
问题 I am trying to build a Block chain application for distributed image sharing and copyright protection. I am using image as an asset. So now I want to upload an image on Hyper ledger Composer playground. How can I do that? 回答1: You can store your file data into the IPFS. IPFS is a protocol and network designed to create a content-addressable, peer-to-peer method of storing and sharing hypermedia in a distributed file system. For IPFS I recommend you to follow the link In your application, In

How to deploy Hyperledger Composer to “Azure Hyperledger Single Member Blockchain”?

混江龙づ霸主 提交于 2020-01-23 11:40:13
问题 I found the guideline to deploy Hyperledger Fabric to "Azure Hyperledger Single Member Blockchain" here but I can't deploy my Composer network. I don't found any guideline to do it. Does anyone have the same problem with me? Thanks! 回答1: cool. Next, go ahead and install Hyperledger Composer and its tooling, see doc link here -> https://hyperledger.github.io/composer//installing/development-tools.html It describes all of the pre-requisites you need to set up on your Development VM (that

Get Count of assets in HyperLedger Composer Query?

你说的曾经没有我的故事 提交于 2020-01-22 02:02:46
问题 I want to write a query in HyperLedger Composer that returns me the count of assets that I have in hyper ledger. I have thousands of records. I don't want to fetch them all and calculate count. Data transfer will be slow I want the query to return the count. 回答1: Unfortunately there is no count in the composer query language. You would have to create a query to select all the assets then check the length of the results. For example with the Basic Sample Network: query selectAssets {

Hyperledger Composer - multi host installation

≯℡__Kan透↙ 提交于 2020-01-17 01:25:10
问题 I've been experimenting with Hyperledger Fabric, deployed over 2 VirtualBox Ubuntu images with docker swarm. But I have some issues when it comes to the Composer installation. Network Setup: Host1: Orderer, Peer1.Org1, Peer2.Org1, CLI Host2: Peer1.Org2, Peer2.Org2 When it comes to the Fabric setup everything appears to be ok. I'm able to start the network, join the peers from the second host, and update the anchor peers (one for each organisation). The Composer installation starts with

AssetRegistry.get function is not returning the complete object in Hyperledger Composer

三世轮回 提交于 2020-01-16 21:57:16
问题 It is an inheritance, Record has a reference of SampleAsset and SampletAsset has a reference of SampleParticipant. In transaction I am sending record object and when i am printing it on console It is showing complete information of Sample asset and complete information of SampleParticipant, while I am trying to fetch it using get method it is not returning the complete information of the objects. Please check the screenshot: Record Object getObject SampleParticipant(owner) reference is not

AssetRegistry.get function is not returning the complete object in Hyperledger Composer

偶尔善良 提交于 2020-01-16 21:56:07
问题 It is an inheritance, Record has a reference of SampleAsset and SampletAsset has a reference of SampleParticipant. In transaction I am sending record object and when i am printing it on console It is showing complete information of Sample asset and complete information of SampleParticipant, while I am trying to fetch it using get method it is not returning the complete information of the objects. Please check the screenshot: Record Object getObject SampleParticipant(owner) reference is not