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
3
votes
2 answers

Can 2 peers of different ORG instantiate same ChainCode and submit transactions?

I have used BYFN to create a fabric network, with configuration 2 ORG with each ORG having 2 peers (each having their own couch-db as state db), 1 orderer and 2 fabric-ca. Now, I installed a chaincode(named as ordering-network) on peer0.org1 and…
3
votes
2 answers

why Hyperledger composer supports only Hyperledger Fabric?

Hyperledger Composer supports the existing Hyperledger Fabric blockchain infrastructure and runtime, which supports pluggable blockchain consensus protocols. But why Hyperledger Composer supports only Hyperledger Fabric and not others like…
Sahil
  • 461
  • 1
  • 9
  • 24
3
votes
1 answer

Hyperledger : Not able to submit a transaction if one peer is down

Currently, I am doing some negative testing for hyperledger fabric to understand the architecture properly. I wanted to test if one peer goes down due to some unwanted exceptions then how we workaround the situation. I have deployed the Fabric with…
3
votes
2 answers

Composer playground unable to load sample business networks

I am running composer playground locally and while I am connected to the Internet, it is unable to load the sample business networks when I attempt to deploy a new business network. I get following error message: Error: could not get any sample…
3
votes
2 answers

Response from attempted peer comms was an error: Chaincode Error

I'm trying to deploy a multiple organisations to Hyperledger fabric by following this tutorial Everything works as expected until I try to start the network: Step no 17 command: composer network start -c PeerAdmin@byfn-network-org1 -n trade-network…
3
votes
1 answer

Adding relationships to an array of relationships in hyperledger-composer

In my hyperledger composer app, I have Clients and Consultants. A Client has read access to Consultants that have been added to his/her "readAccessList". Here are the models of these two participant types: participant Client identified by id { o…
Tommy
  • 699
  • 4
  • 11
  • 26
3
votes
1 answer

Support for Side DB in Composer?

Are there any plans for composer, to make usage of the recently released Side DB feature (https://jira.hyperledger.org/browse/FAB-1151)? As a developer I would like to be able to submit private data with composer-client and choose, which…
ayyt2002
  • 31
  • 1
3
votes
3 answers

Hyperledger Composer - Is ready for production?

i'm wondering if Hyperledger Composer is ready for production. Does anyone know where I can find documentation about the performances of Composer? UPDATE: here an important message from Hyperledger Composer…
Leonardo Carraro
  • 1,532
  • 1
  • 11
  • 24
3
votes
1 answer

Error: Object with ID 'Participant:com.test.participant' in collection with ID '$sysregistries' does not exist

I am trying to change the value of the Participant using a transaction. It throws the error "Error: Object with ID 'Participant:com.test.participant' in collection with ID '$sysregistries' does not exist" Please let me know what is the issue. Was…
3
votes
2 answers

Hyperledger composer rest server : Error trying to ping. Error: No peers available to query. last error was Error: 14 UNAVAILABLE: Connect Failed

Under Hyperledger composer, I am trying to set up a persistent Rest Server using googleauth2.0 over a multi-org setup. For the multi-org setup, I have followed https://hyperledger.github.io/composer/latest/tutorials/deploy-to-fabric-multi-org and…
3
votes
1 answer

Error : 14 UNAVAILABLE : Connect Failed

I am getting the below error while deploying the business network using multi org env. Error : Error trying install business network. Error: No valid responses from any peers. Responses from attempted peer comms was an error : Error : 14 UNAVAILABLE…
Srikanth
  • 31
  • 3
3
votes
1 answer

composer network upgrade not working when there is not internet connection

In my production environment, there is no INTERNET connection. I want to know how I will upgrade a business network using "composer network upgrade" command. I am getting getting following error while running "composer network upgrade". Same…
Firoz Ansari
  • 55
  • 1
  • 4
3
votes
0 answers

Instantiating Chaincode in Hyperledger Composer with local npm registry

I want to instantiate a chaincode in an environment without any Internet connection. As the chaincode container will issue npm install upon instantiation, I added a new container called npmregistry in the docker-composer.yml so that it is…
aldred
  • 743
  • 3
  • 9
  • 19
3
votes
2 answers

Hyperledger Composer for blockchain based academic certificates

For a couples of week I've been reading about blockchain, more specifically hyperledger composer. I want to build a blockchain based academic certificates using hyperledger-composer like one of these: Blockcert Smartcert Open…
3
votes
1 answer

CouchDB Index Error using ORDER BY in queries from Hyperledger Composer v0.18.0 to v0.19.0

I have an issue with CouchDB Index on a query with the ORDER BY statement while moving from Hyperledger Composer v0.18.0 to v0.19.0. Context: A Simple Asset called Event: asset Event identified by id { o String id o String name o…