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

In Hyperledger Fabric, Blocks locations and validity criteria

Full disclosure, some users have asked about this but the answers have somehow diverted leaving the actual question unanswered. So, In Hyperledger Fabric: Where are the physical block files stored on a peer instance? How Often or when is the World…
user2009750
  • 3,169
  • 5
  • 35
  • 58
3
votes
1 answer

Error: Cannot sort on field(s) "balance" when using the default index

I am trying to run a query like : query temp{ description: "Find bidder with highest balance" statement: SELECT org.dltlabs.auctionModel.Bidder WHERE (balance > _$balance) ORDER BY balance } I am running a query on…
3
votes
1 answer

Hyperledger Playground - Credentials for network administrator

In the "My Wallet"->"Deploy New Business Network screen" what is the Credentials for network administrator? I have installed the Dev tools based on the tutorial. No problems here, everything was straightforward. After the installation I've got the…
Hugo Meira
  • 33
  • 1
  • 3
3
votes
1 answer

Hyperledger Composer - Rest Server Local Passport Strategy

i'm trying to implement the Local Passport Strategy for Hyperledger Composer Rest Server. Instead of using a third part service to authenticate the users (in the official example is used GitHub Oauth…
Leonardo Carraro
  • 1,532
  • 1
  • 11
  • 24
3
votes
1 answer

Hyperledger-composer: Expected Resource or Concept

I'm getting expected resource or concept errors with two functions. I am creating the Concept and Resource and assigning their values the correct way, according to the hyperledger composer API example. What my code does: createUser() User contains…
Joel
  • 51
  • 5
3
votes
1 answer

Hyperledger Fabric: How private keys are stored in Hyperledger?

Scenario: Every peer sends a private number to the blockchain and the smart contract should add these numbers and publicly share the result. Each node can only see its number. In a hyperledger numbers are encrypted so users can't view the numbers.…
3
votes
4 answers

composer runtime install error card not found peerAdmin

I was following this tutorial fine until I got an error Error: Card not found: PeerAdmin@hlfv1 at below command : composer runtime install --card PeerAdmin@hlfv1 --businessNetworkName tutorial-network The tutorial says that usually a peerAdmin…
3
votes
1 answer

Error: Expected a Resource or Concept

When I try to execute the transaction in composer-playground I got an error "getAssetRegistry is returning null and the error message says assetRegistry is not defined" /*Here is my .cto file: */ namespace org.acme.payrent participant Authority…
Michael
  • 51
  • 1
  • 10
3
votes
1 answer

x509: ECDSA verification failure

I have to install a bna file on fabric . I am following the link https://hyperledger.github.io/composer/tutorials/deploy-to-fabric-single-org.html . However when I run the command: composer runtime install -c PeerAdmin@fabric-network -n…
3
votes
1 answer

Using queries with ORDER BY when testing with the embedded runtime

I am developing my composer application using TDD approach, so it's important that all the code can run in the embedded runtime used in tests. My stumbling block is that I cannot make queries using ORDER BY clause to work in tests. This is a snippet…
Igor
  • 191
  • 11
3
votes
1 answer

Hyperledger composer peer to peer connection not establishing

We have established a business network using Hyperledger composer and created participant card by creating peers. When we try to connect the peer to a different machine in the local after importing participant card then I'm getting the following…
SeekeR
  • 145
  • 1
  • 7
3
votes
1 answer

How to deploy Hyperledger Composer to "Azure Hyperledger Single Member Blockchain"?

I found the guideline to deploy Hyperledger Fabric to "Azure Hyperledger Single Member Blockchain" here but I can't deploy my Composer network. I don't found any guideline to do it. Does anyone have the same problem with me? Thanks!
Phan Hoàng Nhân
  • 990
  • 1
  • 8
  • 21
3
votes
0 answers

unable to establish a network in Hyper-fabric composer from OS X

In Hyperledger composer, composer network start always fails with the following error. *"Error trying to instantiate composer runtime. Error: Error: SERVICE_UNAVAILABLE"*. But I installed the runtime environment for the same card using composer…
3
votes
1 answer

How to resolve this error (t: Identifier cannot extend from super type) on Hyperledger Composer playground?

Im following the Hyperledger tutorial Youtube Link and the instructor modifies a sample contract. However with the current version of Hyperledger fabric playground which can be accessed online, there is no mention of state after entering the…
SeaWarrior404
  • 3,811
  • 14
  • 43
  • 65
3
votes
2 answers

No composer.json found in the current directory

Hi guys, really sorry if this has a basic answer as I'm quite new to this. I am following a YouTube tutorial Hyperledger Composer Development Tutorial (2/5) - Modeling Language (Mac OS X) https://www.youtube.com/watch?v=S2S5cEcmx7Q&t=100s. Following…
Joe
  • 33
  • 1
  • 1
  • 5