hyperledger-composer

How to run Hyperledger Composer Rest Server docker image?

醉酒当歌 提交于 2020-01-16 21:33:14
问题 I have pulled hyperledger/composer-rest-server docker image , Now if i wanted to run this docker image then on which port should i expose ? Like mentioned below. docker run --name composer-rest-server --publish XXXX:YYYY --detach hyperledger/composer-rest-server Here please tell me what should i replace for XXXX & YYYY ? 回答1: I run the rest server in a container using a command as follows: docker run -d \ -e COMPOSER_CARD="admin@test-net" \ -e COMPOSER_NAMESPACES="never" \ -v ~/.composer:

How to run Hyperledger Composer Rest Server docker image?

六月ゝ 毕业季﹏ 提交于 2020-01-16 21:31:27
问题 I have pulled hyperledger/composer-rest-server docker image , Now if i wanted to run this docker image then on which port should i expose ? Like mentioned below. docker run --name composer-rest-server --publish XXXX:YYYY --detach hyperledger/composer-rest-server Here please tell me what should i replace for XXXX & YYYY ? 回答1: I run the rest server in a container using a command as follows: docker run -d \ -e COMPOSER_CARD="admin@test-net" \ -e COMPOSER_NAMESPACES="never" \ -v ~/.composer:

How to run Hyperledger Composer Rest Server docker image?

﹥>﹥吖頭↗ 提交于 2020-01-16 21:30:15
问题 I have pulled hyperledger/composer-rest-server docker image , Now if i wanted to run this docker image then on which port should i expose ? Like mentioned below. docker run --name composer-rest-server --publish XXXX:YYYY --detach hyperledger/composer-rest-server Here please tell me what should i replace for XXXX & YYYY ? 回答1: I run the rest server in a container using a command as follows: docker run -d \ -e COMPOSER_CARD="admin@test-net" \ -e COMPOSER_NAMESPACES="never" \ -v ~/.composer:

Hyperledger composer generator: Trying to copy from a source that doesn't exist (no concepts support for Angular)

醉酒当歌 提交于 2020-01-16 09:02:35
问题 I have a composer-rest-server running on localhost:3000 . To go with that, I tried to generate an Angular 2 app using yo hyperledger-composer . My business network models also have a abstract concept Spray{...} present. I believe the documentation is outdated as I was presented with slightly different options than on the documentation. After choosing Angular and following through the steps, I got an AssertionError: Trying to copy from source that does not exist ... /concept/concept.component

Securing confidential information in Hyperledger Composer

蓝咒 提交于 2020-01-15 06:56:26
问题 Looking at securing confidential information in Hyperledger Composer If assets and transactions in a business network have ACL's to prevent a competitor participant (non-owner) from viewing confidential information, what access can the competitor have to assets and transactions owned by another participant? Can the competitor access the underlying Fabric ledger to view assets/transactions? Can the competitor view the transaction processing function? Can the competitor view the logs of the

Understanding Various Certificates in Hyperledger fabric

回眸只為那壹抹淺笑 提交于 2020-01-11 17:02:39
问题 Hello I am tryin to use hyperledger fabric for a block chain implementation. I did the first-network demo and found lot of certificates in it. I have tried arranging them hierarchically in below picture. I Have some questions related to them Why are all these different categories of certs required. Like different msp tls are they generated once and copied at different locations? How these different certificates will be used in different scenarios (like enrollment and communication.) If we

“composer network ping” won't show the participant after “composer identity issue”

旧街凉风 提交于 2020-01-11 13:17:07
问题 I am following steps in https://fabric-composer.github.io/managing/identity-issue.html to check the identity issuing for participants. I get no errors and when executing: composer identity issue -n 'mychain-network' -i WebAppAdmin -s DJY27pEnl16d -u user1 -a "com.example.model.Owner#userid" I get correctly: The participant can now connect to the business network with the following details: userID = user1 userSecret = kJoWHaYCxnes The problem is that later I don't get the participant when

How to restart the fabric composer without losing the existing data?

做~自己de王妃 提交于 2020-01-08 14:26:13
问题 I have tried "carauction-network" example in my local. But when I am starting the network by using "startFabric.sh" file, it is removing the Couch DB & again creating Couch DB, due to this old data are getting lost. Please suggest how we can start the fabric server without cleaning the data. 回答1: The startFabric.sh under fabric-dev-servers (formerly fabric-tools) does more than just start the Fabric - it removes existing Fabric Containers and recreates new Containers from the Docker Images.

Hyperledger Composer - Angular App Compile

蹲街弑〆低调 提交于 2020-01-06 06:47:05
问题 I spun up an Ubuntu server on AWS and everything is working as expected with Hyperledger Composer except when I try to compile an angular-app using "npm start" after creating the app via "yo hyperledger-composer:angular". Its taking forever to compile at 92% chunk asset optimization. When I do the same exact steps on my local mac laptop, no issues at all. Must be some sort of version issue with something in the node_modules? Any thoughts or suggestions? 回答1: probably because your AWS VM

Hyperledger composer javascript return value

给你一囗甜甜゛ 提交于 2020-01-06 06:05:48
问题 I want to create smart contract for login. When users input username and password are correct its will return true and incorrect return false to my web application. Model participant SampleParticipant identified by participantId { o String participantId o String username o String password } transaction SampleLogin { --> SampleParticipant participant o String inputUsername o String inputPassword } Transaction function sampleLogin(tx) { var username = tx.participant.username; var password = tx