Questions tagged [hyperledger-composer]

Hyperledger Composer (previously Fabric Composer) provides a layer of abstraction on top of the Hyperledger Fabric blockchain for building business applications. Please use this tag for questions relating to the use of Hyperledger Composer, but not general Hyperledger Fabric questions. Defects in Hyperledger Composer should be reported as GitHub issues.

Hyperledger Composer provides a layer of abstraction on top of the Hyperledger Fabric blockchain. Developers can design in terms of business networks, participants, identity, assets, registries, transactions, events and links, in contrast to the low level abstractions of chaincode and key-value stores.

The composer modelling language makes it easy for developers to model the specific nature of their business domains. The interactive web Playground allows them to author and test these models, and then create domain specific APIs for developers building applications.

Developers can use Composer tools to create applications which exploit these APIs, and create loopback connectors which provide connectivity between the blockchain and their existing systems.

We're keen to build a community so please take a look!

Environments

Hyperledger Composer is a node.js framework available under the Apache-2 license. Hosted in github, using Travis-ci and npm.

Getting Started

Our getting started guide will help you install Hyperledger Composer, define and deploy a business network and start to integrate the network with applications.

Resources

Deprecated

Update Aug 29th 2019: Hyperledger Composer has been deprecated. Please see the README for more information.

1914 questions
0
votes
1 answer

Why we should create two connection profiles for one organization, i.e 1. Org1 only and Org1 and Org2 ?

I am using "https://hyperledger.github.io/composer/tutorials/deploy-to-fabric-multi-org" for Deploying Hyperledger Composer blockchain business network to Hyperledger Fabric(mulriple organizations). In this tutorial why we are creating two…
0
votes
1 answer

Composer query does not work on array of concepts

We have an asset which has an Array of Concepts. And we are tying to query this asset using a condition on this array which is not working. Sample Model (v0.16.0): concept MyConcept { o String Name o String value } asset MyAsset identified…
0
votes
1 answer

Failed at the pkcs11js@1.0.13 install script 'node-gyp rebuild'

I am getting following error while trying to install hyperledger composer on my ubuntu: 60822 verbose stack Error: pkcs11js@1.0.13 install: `node-gyp rebuild` 60822 verbose stack Exit status 1 60822 verbose stack at EventEmitter.
0
votes
2 answers

Deploy API REST IBM Hyperledger Composer Blockchain (bad flag in substitute command: 'U' ERROR)

I'm getting this error trying to deploy a card to a working blockchain on cloud, any idea? Thanks in advance. I'm using a mac, following the guide (Kubernetes installed/configured well, I…
0
votes
3 answers

Endorsement policy doesn't work

When I use admin deploy a network with one organization include three peers. My endorsement-policy.json as below , and it not work. { "identities": [ { "role": { "name": "member", "mspId":…
T_murder
  • 31
  • 1
  • 8
0
votes
0 answers

Unable to update to hyperledger composer v 0.18.1

I'm having trouble updating to the new version of hyperledger composer 0.18.1. This is my work flow: Uninstall the Hyperledger Composer components: npm uninstall -g composer-cli npm uninstall -g composer-rest-server npm uninstall -g…
Simon Mullaney
  • 447
  • 2
  • 5
  • 21
0
votes
2 answers

How to extend multiple classes in Hyperledger composer .cto file

I want to create a new Role extending two existing roles. So is it possible in composer modelling language for a participant to extend multiple participants?
Thomas John
  • 101
  • 1
  • 1
  • 5
0
votes
1 answer

hyperledger composer post method:how to pass parameter in post method

I want to pass parameters to an url using post method in hyperledger composer, but i didn't found any example of it. I only found one example in sample code of composer.. function handlePost(postTransaction) { var url =…
Akshay Indalkar
  • 359
  • 2
  • 12
0
votes
1 answer

Regex for double in Hyperledger Modeling languager

Is there a way to validate currency in Hyperledger, I am aware that it is possible to validate String values using regex, but I get an error when using regex for Double data type. Here is what gives an error, it complains about the one line in the…
Mohale
  • 2,040
  • 3
  • 17
  • 18
0
votes
1 answer

Transactions to authorize/revoke READ access to transaction initiator's assets in Hyperledger Composer ACL

At the Hyperledger Composer github, they give an example of a conditional ACL script with an optional transaction clause. In the example they provide, it's operations access to the asset owner and INITIATOR of the transaction. rule…
Brad S.
  • 1
  • 2
0
votes
1 answer

No valid responses from any peers while deploying the BNA file with "composer network start"

I am following the link: https://hyperledger.github.io/composer/tutorials/deploy-to-fabric-multi-org to deploy bna file in 2 different peers. Up to step-16 everything is working fine, but when I am trying to deploy the .bna file getting following…
chinmaya.mahunta
  • 133
  • 2
  • 10
0
votes
3 answers

Deploy API REST IBM Hyperledger Composer Blockchain

I'm developing a POC over IBM HyperLedger Blockchain. I have a business network developed and deployed in IBM Cloud. I can generate a working local API REST, but cannot make it work on cloud, on the deployed IP. I'm following this…
AlexAcc
  • 601
  • 2
  • 10
  • 28
0
votes
1 answer

I want to create a relationship between list of suppliers and a single order in Hyperledger Composer

I have a transaction placeorder which takes list of supplier as input and creates an order. transaction PlaceOrder { o String orderId --> Consumer consumer o OrderDetails orderDetails --> Supplier[] supplier …
0
votes
1 answer

Javascript file in Hyperledger Composer

I am a beginner with hyperledger. I want to retrieve all data from Asset of Car for do something in javascript file in hyperledger composer. I don't need to input id of asset car one by one. how can i do? Model participant Car identified by…
0
votes
0 answers

Configuring the REST server with a persistent data store

I am having problems trying to deploy the rest server with persistence storage (mongo db) I ge this message when deploying the rest server: docker logs -f rest [2018-03-12 00:01:13] PM2 log: Launching in no daemon mode [2018-03-12 00:01:14] PM2…
Mil R
  • 13
  • 3
1 2 3
99
100