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.

1895 questions
4
votes
7 answers

Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running? inside a Dockerfile

I have the following Dockerfile: FROM ubuntu ENV NPM_CONFIG_LOGLEVEL warn ENV admin_user="PeerAdmin" network_name=$1 version=$2 hversion=hlfv1 fabrik_path=/fabric-tools project_dir=$(pwd) ENV card_store_dir=$project_dir/.card-store…
4
votes
2 answers

How to access hyper ledger composer queries from angular app?

I have defined a query in the query.qry file in my hyperledger composer app: query selectPersonsByHobby { description: "Select all persons with a certain hobby." statement: SELECT org.comp.myapp.Person WHERE (passTime CONTAINS…
steady_progress
  • 1,561
  • 6
  • 23
  • 52
4
votes
0 answers

Object with id does not exist in $sysregistries when starting hyperledger composer v0.19.x network

I have recently upgraded my Hyperledger Composer project from 0.16.x to 0.19.4 using the https://hyperledger.github.io/composer/latest/tutorials/deploy-to-fabric-multi-org tutorial. Since the upgrade my composer network start throws a lot of…
4
votes
0 answers

HYPERLEDGER : Error While Starting Business Network

I am researching on Hyperledger. After going through the basic tutorials and documentation, I have started setting up a Blockchain Business Network With Hyperledger Fabric & Composer Running on Multiple Physical Machine as described on…
4
votes
2 answers

How to use hyperledger getnative API

I came across the getNative API through which one call chaincode from Hyperledger composer. See here: https://github.com/hyperledger/composer/issues/3120 Can someone please tell me exactly how does this work? Say if I have a very simple chaincode…
user1274878
  • 1,105
  • 1
  • 21
  • 49
4
votes
1 answer

Include external library file in Hyperledger Composer

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)…
Mohale
  • 720
  • 1
  • 6
  • 13
4
votes
2 answers

Difference between users in hyperledger fabric and participants in hyperledger composer

Hello I am new to both HyperLedger Fabric and composer.I got confused with two terms. one is user in HyperLedger Fabric and another is participant in HyperLedger Composer.We have a set of users(including one administrator) in each organization along…
4
votes
3 answers

Hyperledger Composer vs Hyperledger Nodejs Api

I am new to hyperledger and bit confused about hyperledger composer & nodejs api. I saw using composer we can create assets, transactions, participants and chaincode and in last we have to archive it this all into .bna file and finally we deploy…
zubair
  • 175
  • 3
  • 15
4
votes
2 answers

chaincode in hyperledger composer vs chaincode in hyperleger fabric?

does same functionality can be achieved by writing chaincode with javascript in hyperledger composer as writing chaincode with go in Hyperledger fabric? and What are the limitations and benefits of writing chaincode in JS as compared to writing in…
4
votes
1 answer

Hyperledger Composer Web application user authentication

I already created a business network using hyperledger composer and I created a simple web app for adding participants and submitting transactions through web interface by using angular. Also, I have enabled authentication for the REST server using…
ethertest
  • 317
  • 3
  • 13
4
votes
1 answer

Are there enterprise solutions being developed/already developed using Hyperledger Composer

I did a small POC on blockchain using Hyperledger Composer and deployed a BNA file created using Hyperledger Playground on IBM Bluemix Container. The Angular sample app created by yeoman gave me an option to connect to the REST API exposed for the…
4
votes
2 answers

Why can't I deploy a tutorial-netword in Playground Composer?

Ubuntu 16.04, just installed the Hyperledger composer and all its prereqs. I created a PeerAdmin card, I started the Composer Playground locally. Trying to follow this basic…
JamesD
  • 449
  • 5
  • 23
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…