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

What is the relation between `Fabric`, `Composer`, `Cello` and other Hyperledger applications?

When I was tasting the fabric, I found many other blockchain projects, like Composer, Cello, Explorer. They are all belong to Hyperledger. I'm very confused that there are so many projects. Should I learn all of them? It seems each project plays a…
4
votes
3 answers

How can I add the Hyperledger Fabric explorer to the "Hyperledger composer" environment

As I understand, the Hyperledger composer environment runs on a Hyperledger Fabric v1.0 (or 0.8?) blockchain. Beside the REST server to interact with the blockchain or see the transaction, participants etc. is is possible to see which transactions…
4
votes
1 answer

Querying in Hyperledger Composer

When I try to make the query: query PapersFromAPoll { description: "retrieve all the papers from a poll" statement: SELECT org.acme.democracity.Paper WHERE(poll.pollId == _$id) } I am not able to get any rows, here is…
4
votes
2 answers

Hyperledger Composer - How can I check chaincode after deploying a network

I am new to Hyperledger, what i did yesterday is installed Oracle virtual box on my windows 10, followed by Ubuntu, followed by Composer prerequisites including Docker Engine, Compose and everything else. Finally followed the composer playground…
sam disilva
  • 121
  • 1
  • 2
4
votes
6 answers

Hyperledger Composer Incompatible versions error and the versions are the same

Executing: composer network ping -n calma-network -p hlfv1 -i admin -s adminpw I receive the following error: Error: Error trying to ping. Error: Composer runtime (0.8.0) is not compatible with client (0.11.0) Command failed The versions look the…
4
votes
1 answer

First network in hyperledger

I am trying to work on my first network in Hyperledger Fabric. Using the following documentation http://hyperledger-fabric.readthedocs.io/en/latest/build_network.html I have completed the setup till…
Katiyman
  • 827
  • 2
  • 12
  • 32
4
votes
2 answers

How to include relationship object in response composer-rest-server?

We have defined Asset as: asset PurchaseOrder identified by orderId { o String orderId --> SupplierChainParticipant createdBy --> SupplierChainParticipant assignedTo o String description o String status o Integer quantity o…
deepak parmar
  • 691
  • 1
  • 6
  • 20
4
votes
1 answer

How do I see the logs for Fabric Composer

I would like to view the runtime and client logs generated by Fabric Composer but cannot find them. Can you please provide guidance on how to access the logs?.
Dan Selman
  • 2,287
  • 2
  • 9
  • 18
3
votes
0 answers

"SERVICE_UNAVAILABLE" in a Hyperledger Fabric-Composer network, after a restart from a snapshot of Virtualbox machines

I'm making some tests about a configuration of multi-machine and multi-organization blockchain network based on Hyperledger Fabric and Hyperledger Composer. In my configuration I have two Virtualbox Machines with one organization for each machine.…
3
votes
1 answer

How to normalize blockchain storage?

I am wondering how to model my assets, participants, transactions en events. I have already looked on documentation on how to do it syntax wise, but I was wondering if there is a structured way to do it. Just like the way normalization is done on…
deltu100
  • 581
  • 7
  • 26
3
votes
1 answer

Hyperledger Composer Playground local files

I'm a beginner with Hyperledger and I have some questions about Hyperledger Composer: What's the difference between Hyperledger Composer and Composer Playground? From what I understand Playground is just a user interface for the configuration,…
Riccardo
  • 1,083
  • 2
  • 15
  • 25
3
votes
1 answer

In Model file DateTime data type is storing UTC format. Is it possible to store in IST format?

In Model file (Hyperledger), DateTime data type is by default storing values in UTC format, but I want to store in IST format. Is this possible? If yes, how?
3
votes
0 answers

Hyperledger Composer: command composer network start failing

I am trying to deploy a business network using command: composer network start -c PeerAdmin@hlfv1 -n test-bna -V 0.0.1 -A admin -S adminpw And it is failing with error: Error trying to start business network. Error: Failed to connect to any peer…
Anand
  • 31
  • 1
  • 5
3
votes
1 answer

How to secure participants card in hyperledger composer?

Every time an Id is issued to a participant in hyperledger, a card gets generated and imported to the network. by default imported card gets stored in home/.composer/cards directory. So, anyone having access to machine can have access to those…
3
votes
1 answer

What is the profile section in configtx.yaml in Hyperledger Fabric

TwoOrgsOrdererGenesis: <<: *ChannelDefaults Orderer: <<: *OrdererDefaults Organizations: - *OrdererOrg Capabilities: <<: *OrdererCapabilities …
Nika Kurashvili
  • 6,006
  • 8
  • 57
  • 123