composer-sample-applications | : warning : : warning : : warning : Hyperledger | Blockchain library
kandi X-RAY | composer-sample-applications Summary
kandi X-RAY | composer-sample-applications Summary
The repository contains sample applications written against the Hyperledger Composer. Currently this contains the code and scripts for the 'DigitalProperty-App' tutorial - see the README in that directory for instructions on how to install.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of composer-sample-applications
composer-sample-applications Key Features
composer-sample-applications Examples and Code Snippets
Community Discussions
Trending Discussions on composer-sample-applications
QUESTION
I am trying to run composer-sample-applicaions(Digital Property) but when I am trying to run npm test it is throwing an error: Composer runtime (0.18.2) is not compatible with the client (0.17.6)
Following is the complete log:
...ANSWER
Answered 2018-Apr-09 at 11:32Composer runtime and client must be on same version. Best approach to solve this issue, execute following commands in order.
- npm install -g composer-cli
- npm install -g composer-rest-server
QUESTION
I'm following the tutorial to generate REST API whith Digital Land Title Network example. But I get the following error:
...ANSWER
Answered 2017-May-09 at 13:31You are running a HLF 1.0.0-alpha fabric, but when you started the rest server you specified defaultProfile which is a profile for hlf v0.6. When you deployed the digitalproperty-network you specified a profile hlfv1 (which is created for you when you follow the quickstart guide) which is the profile you need to use when you start the rest server.
QUESTION
I'm using Fabric v0.6 on Bluemix and composer-ui on my local machine. I was able to make my model and logic files and deployed them to my Blockchain network on Bluemix. Now I want to invoke the chaincode I deployed with composer from an app that is already running on Bluemix (node.js), not from the composer-ui. How would I approach this?
I have seen a sample app here: https://github.com/hyperledger/composer-sample-applications/tree/master/packages/getting-started
But it requires this configuration file: https://github.com/hyperledger/composer-sample-applications/blob/master/packages/getting-started/config/default.json
And that configuration file specifies the connectionProfile, which I guess is the connection profile I created on composer-ui to connect to my Blockchain service on Bluemix.
Do I need to have Fabric Composer running in order to invoke the chaincode? Or is there anyway to invoke my chaincode completely independent from the composer runtime?
...ANSWER
Answered 2017-May-01 at 17:01Couple of options:
- Use the composer-rest-server and write your front-end application against a domain specific REST API
- Pass the connection profile information into the Composer JS composer-client API using an environment variable. See: https://github.com/hyperledger/composer/issues/602
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install composer-sample-applications
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page