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
0
votes
1 answer

Calling a REST API from Transaction Processor Functions

I'm trying to get data from the open sky api through a transaction processor function. I have been looking at the documentation: https://hyperledger.github.io/composer/integrating/call-out Since I'm doing a GET request to this API I don't need to…
0
votes
2 answers

while adding an asset to hyperledger got error that particular field is missing

i made a business network using hyperledger composer playground i want add an asset in the registry but while adding it is saying that t: Instance com.acn.hps.aops.ims.EvidenceDoc#4439 missing required field owner .cto file asset EvidenceDoc…
Akshay Indalkar
  • 321
  • 2
  • 9
0
votes
1 answer

Hyperledger Composer runtime install error- No valid responses fromm any peers

I am following this tutorial to set up a blockchain on two physical machines. I've successfully completed the tutorial and 3 peers are able to join the channel. And then I got an error when install composer runtime: composer runtime install -c…
Susie Song
  • 21
  • 3
0
votes
2 answers

Is it possible to hack the world state in Hyperledger composer

Since the world state is stored in the database of the peer, is it possible to get all the data in it on the peer node? If yes, how to make sure all the data in state are well access controlled? Plus, if everyone can see the transactions in the…
Jacky
  • 7,725
  • 7
  • 34
  • 39
0
votes
1 answer

Hyperledger Composer: Error trying to ping business network: x509: certificate signed by unknown authority

Receiving error when Fabric CA Server starts (ca.org1.example.com) This is the error: Could not load TLS certificate with BCCSP: Could not find matching private key for SKI: CSP:500 - Failed getting key for SKI [[74 227 52 30 73 220 158 98 138 158…
0
votes
1 answer

Function in logic.js works in playground but not in REST server

I have a function in my logic.js file that retrieves the latitude and longitude of a plane from an api: function getLocation(){ var url = 'https://opensky-network.org/api/states/all?time=1458564121&icao24=3c6444' return fetch(url) …
0
votes
1 answer

HyperLedger Composer on Fabric - console.log() doesn't work

I currently installed the HL Composer and HL Fabric environment on docker (following the official guide https://hyperledger.github.io/composer/installing/development-tools.html). I was able to deploy successfully a bna into HL Composer. But i'm not…
Leonardo Carraro
  • 982
  • 1
  • 8
  • 22
0
votes
1 answer

Hyperledger composer on hyperledger fabric deployed on Docker swarm

I have deployed a one org hyperledger fabric network over docker swarm. Where one node has an orderer, peer , ca and couchdb and other node has one couchdb and node. I was able to invoke basic chaincode over it. Now I want to deploy composer over…
user9040429
  • 620
  • 1
  • 7
  • 22
0
votes
1 answer

Duplicate identifier 'Asset'. webpack: failed to compile error while ng serve angular-app(generated from hyperledger-composer:angular)

I used yo hyperledger-composer:angular to create skeleton app. when I cd into the app directory and performed ng serve, I got the following error(please refer to the image). I used both npm install and ng serve. But both resulted in the same…
0
votes
2 answers

Is it possible to subscribe to asset creation events in composer?

I realise I can emit events in chaincode and listen for those events in the node SDK. However, I'd like to be able to receive an event when an asset is created so that I can act on that. Is this possitble? An alternative might be the ability to…
0
votes
1 answer

Is it possible to have several versions of hyperledger composer on the same machine?

Is it possible to have several versions of composer on same (mac) machine? For instance, I want to experiment with the latest version (v0.17.x) while being able to work with my older projects that run on the stable release (0.16.x)
kofman
  • 88
  • 6
0
votes
1 answer

Deploy Hyperledger composer network to AWS or Openstack

I am new to Hyperledger. I have defined my model for the network and successfully deployed it locally(over my system). Everything is working as expected. I want to replicate the same and make it public so that other team members can use it too. How…
0
votes
5 answers

Error response from daemon: No such container: cli (Hyperledger .byfn.sh -m up Error)

I am trying to configure hyperledger composer with multi peer. But when I have started the hyperledger fabric, getting following response. amandai@ubuntultop:~/block chain/fabric-samples V1/ess-multipeer-sample /network$ ./byfn.sh -m…
chinmaya.mahunta
  • 113
  • 2
  • 10
0
votes
1 answer

Simple transaction in hyperledger-composer application yields expected a resource or concept error

I was building a simple business network where a user can create an assest and sell/buy the assest. I installed the playground locally and was working on it. I had success in being able to create a user and asset(goods) but sell transaction yields…
Pb Vignesh
  • 165
  • 1
  • 10
0
votes
1 answer

How do I delete a relationship on Hyperledger Composer?

I'm running a simple test on Hyperledger composer where I have one asset, some users and two transactions: assign an user to the asset, and unassign the user from the asset. The assign transaction is working fine. I create a relationship to the…
remintz
  • 55
  • 1
  • 4
1 2 3
99
100