Latest questions in Blockchain

0 votes
1 answer

Hyperledher: How to convert formControlName value to JSON Format?

<textarea [ngModel]="offers[0] | json" formControlName="offers" class="form- ...READ MORE

Nov 12, 2018 in Blockchain by Omkar
• 69,220 points
1,320 views
0 votes
1 answer

Error With Rest Server: HyperLedger

It's a trivial issue mate - you're ...READ MORE

Nov 9, 2018 in Blockchain by Christine
• 15,790 points
1,175 views
0 votes
1 answer

Hyperledger Fabric query system chaincode using node SDK

The Fabric Node SDK actually provides a ...READ MORE

Nov 9, 2018 in Blockchain by Christine
• 15,790 points
1,293 views
0 votes
2 answers

Hyperledger Fabric: invokeChaincode returns [Object object]

Replace  return shim.success(valString); with: return shim ...READ MORE

Nov 9, 2018 in Blockchain by Omkar
• 69,220 points
1,161 views
0 votes
1 answer

Hyperledger Composer: How to update a contract after it is saved?

Try this and see if this works: /** * ...READ MORE

Nov 9, 2018 in Blockchain by Omkar
• 69,220 points
1,012 views
0 votes
2 answers

Hyperledger Composer: Adding a new peer: failed to create a new connection: context deadline exceeded.

Seems like peer address problem. Set the ...READ MORE

May 6, 2019 in Blockchain by Tina
4,060 views
0 votes
1 answer

Hyper Fabric: Error: CONNECTION_FAILED. Description: dialing connection timed out

The mapping is not set up right. ...READ MORE

Nov 9, 2018 in Blockchain by Omkar
• 69,220 points
3,017 views
0 votes
1 answer

Hyperledger Fabric: How to give full read access to all participants?

To do this, you must first provide ...READ MORE

Nov 9, 2018 in Blockchain by Omkar
• 69,220 points
1,342 views
0 votes
1 answer

Hyperledger Composer: How to query using string?

You can try this: query selectReading { ...READ MORE

Nov 9, 2018 in Blockchain by Omkar
• 69,220 points
800 views
0 votes
1 answer

Hyperledger Fabric: Kafka can not establish a connection

Try this:  kafka1.hyperfabric.xyz: image: hyperledger/fabric-kafka restart: ...READ MORE

Nov 9, 2018 in Blockchain by Omkar
• 69,220 points
1,687 views
0 votes
1 answer

Hyperledger Fabric: How to ping network using program?

// http://nodejs.org/api.html#_child_processes var sys = require('sys') var exec = ...READ MORE

Nov 9, 2018 in Blockchain by Omkar
• 69,220 points
1,228 views
0 votes
1 answer

Hyperldger: Hyperledger Explorer not starting. Throws error

in "network-config" you should use lowercase 'org1' { ...READ MORE

Nov 8, 2018 in Blockchain by Omkar
• 69,220 points
2,416 views
0 votes
1 answer

Hyperledger Fabric: How to retrieve result from Fabric Transaction?

invokeChainCode(securityContext, functionName, args, options) { ...READ MORE

Nov 8, 2018 in Blockchain by Omkar
• 69,220 points
2,137 views
0 votes
1 answer

Hyperledger: How to retrieve properties of relationship through query?

I dont think its possible using query. ...READ MORE

Nov 8, 2018 in Blockchain by Omkar
• 69,220 points
1,030 views
0 votes
1 answer

Hyperledger Fabric: How to convert channel.tx artifact into json?

You can use configtxgen to do this: configtxgen ...READ MORE

Nov 8, 2018 in Blockchain by Omkar
• 69,220 points
1,196 views
0 votes
1 answer

Hyperledger composer: How to allow create in transaction? Access Control

This is how you can do it: /** @returns ...READ MORE

Nov 8, 2018 in Blockchain by Omkar
• 69,220 points
1,080 views
+1 vote
1 answer

Error while instantiating chaincode

Hey @Vikas!  The error says, dial unix /host/var/run/docker.sock: connect: ...READ MORE

Nov 6, 2018 in Blockchain by Omkar
• 69,220 points
1,557 views
+1 vote
1 answer

invalid sender error when trying to send signed transaction

Hi, i had the same error and ...READ MORE

Nov 16, 2018 in Blockchain by bublig737
6,007 views
0 votes
1 answer

Hyperledger Fabric SDK Design/Role of the application

When invoking functions, it has to be ...READ MORE

Nov 6, 2018 in Blockchain by Perry
• 17,100 points
1,235 views
0 votes
1 answer

Setting up Hyperledger Fabric Application with IBM Cloud.

You have to develop your "Client" application ...READ MORE

Nov 6, 2018 in Blockchain by Perry
• 17,100 points
792 views
0 votes
4 answers

Hyperledger: byfn.sh up: ERROR !!! FAILED to execute End-2-End Scenario.

Try these commands $ docker rm -f $(docker ...READ MORE

Nov 28, 2018 in Blockchain by kartik chauhan
6,994 views
0 votes
1 answer

Hyperledger: How to update values from an asset?

This should work: return getAssetRegistry('org.rytle.Route').then(function(ar) { ...READ MORE

Nov 6, 2018 in Blockchain by Omkar
• 69,220 points
1,824 views
0 votes
1 answer

TypeError: argument must be a string node.js while encoding to hex string.

The error is in protobuf.Transaction.create headerSignature needs to be a string, ...READ MORE

Nov 6, 2018 in Blockchain by Omkar
• 69,220 points
3,434 views
0 votes
1 answer

Hyperledger Composer: REST Server transaction failed but returns 200 status

You need to return the function calls from the ...READ MORE

Nov 6, 2018 in Blockchain by Omkar
• 69,220 points
1,010 views
0 votes
1 answer

Hyperledger composer: Not able to issue identities from a Business network.

To specify your own affiliation you need ...READ MORE

Nov 6, 2018 in Blockchain by Omkar
• 69,220 points
1,551 views
0 votes
1 answer

Hyperledger Fabric: How to access transaction ID in invoke function?

You can access transaction ID in Invoke ...READ MORE

Nov 5, 2018 in Blockchain by Omkar
• 69,220 points
2,531 views
0 votes
1 answer

Hyperledger Composer: How to Update Existing Assets?

get on an asset registry returns a ...READ MORE

Nov 5, 2018 in Blockchain by Omkar
• 69,220 points
1,701 views
+1 vote
4 answers

Hyperledger Fabric: Failed to enroll admin: Error: Failed to enroll admin.

As your .hfc-key-store directory is in chaindev, Try running the following ...READ MORE

Nov 5, 2018 in Blockchain by Omkar
• 69,220 points
6,353 views
0 votes
1 answer

Hyperledger Fabric: PEM encoded certificate is required.

Hey, the syntax you are using is ...READ MORE

Nov 5, 2018 in Blockchain by Omkar
• 69,220 points
1,914 views
0 votes
1 answer

Hyperledger composer: runtime install error card not found peerAdmin

The right way to do it is: downloadFabric.sh startFabric.sh createPeerAdminCard.sh If ...READ MORE

Nov 5, 2018 in Blockchain by Omkar
• 69,220 points
1,391 views
+1 vote
2 answers

Hyperledger fabric: Error: got unexpected status: FORBIDDEN -- Failed to reach implicit threshold of 1 sub-policies

Try  ./byfn.sh -m down and then ./byfn.sh -m up READ MORE

Nov 5, 2018 in Blockchain by Omkar
• 69,220 points
6,675 views
0 votes
1 answer

Hyperledger Fabric ./byfn -m up not bringing up

Seems like you have not installed docker-compose. ...READ MORE

Nov 5, 2018 in Blockchain by Omkar
• 69,220 points
1,671 views
0 votes
1 answer

Hyperledger Composer: Error: Error trying to start business network. Error: No valid responses from any peers.

You have to configure TLS in peers ...READ MORE

Nov 5, 2018 in Blockchain by Omkar
• 69,220 points
2,818 views
0 votes
1 answer

Hyperledger Composer: Query using relation

 you need to refer to your specific ...READ MORE

Nov 5, 2018 in Blockchain by Omkar
• 69,220 points
1,094 views
0 votes
1 answer

Hyperledger composer: network start gives no output

You are using -v as your option ...READ MORE

Nov 5, 2018 in Blockchain by Omkar
• 69,220 points
724 views
0 votes
1 answer

Can I execute distributions in ERC20 tokens on a later stage?

It is best to have a claim ...READ MORE

Nov 2, 2018 in Blockchain by Prerna
• 1,960 points
908 views
0 votes
1 answer

Ethereum Advance token sample

Using > instead of >= is a ...READ MORE

Nov 2, 2018 in Blockchain by Christine
• 15,790 points
673 views
0 votes
2 answers

Hyperledger-fabric : chaincode deploy connection error "addrConn.resetTransport failed to create client"

I have your problem too,  PLEASE HELP ...READ MORE

Feb 28, 2019 in Blockchain by Hyperledger hater
2,601 views
0 votes
1 answer

Hyperledger Fabric: Not able to install docker

Clean up the invalid package repository: cd ../../etc/apt/sources.list.d sudo ...READ MORE

Nov 2, 2018 in Blockchain by Omkar
• 69,220 points
1,006 views
+4 votes
2 answers

Hyperledger Fabric issue: orderer client failed to connect to orderer.xxx.net:7050: failed to create new connection

Hey @gujiwork, Try making the following changes: docker-compose-base.yaml and ...READ MORE

Nov 5, 2018 in Blockchain by Omkar
• 69,220 points
20,828 views
0 votes
1 answer

Hyperledger Fabric: Could not resolve all dependencies for configuration

First, build the chaincode using gradle build. You should ...READ MORE

Nov 2, 2018 in Blockchain by Omkar
• 69,220 points
1,826 views
0 votes
1 answer

HyperLedger Composer: Failed to load connector module “composer-connector-embedded” for connection profile “testprofile”

First, update your devDependencies in package.json "devDependencies": { ... "composer-admin": ...READ MORE

Nov 2, 2018 in Blockchain by Omkar
• 69,220 points
940 views
0 votes
1 answer
0 votes
1 answer

Hyperledger Fabric: error on outputChannelCreateTx: Cannot define a new channel with no Application section

Try defining or referencing the application in ...READ MORE

Nov 2, 2018 in Blockchain by Omkar
• 69,220 points
1,666 views
+2 votes
3 answers

Hyperledger Fabric: Not able to create the channel "Channel creation failed" error

Seems like you have not set the ...READ MORE

Nov 2, 2018 in Blockchain by Omkar
• 69,220 points
8,198 views
0 votes
1 answer

Hyperledger: Not able to connect from docker container to validator. curl http://rest-api:8008/blocks

The REST API service is exposed on ...READ MORE

Nov 2, 2018 in Blockchain by Omkar
• 69,220 points
1,394 views
–1 vote
6 answers

Hyperledger fabric: Docker container error: Error response from daemon: Container is not running

I had to update the version of ...READ MORE

Apr 25, 2019 in Blockchain by Gani
9,906 views
+2 votes
3 answers

Hyperledger Fabric: How to run node js chaincode in dev mode?

Hi, the command you are using to ...READ MORE

Nov 2, 2018 in Blockchain by Omkar
• 69,220 points
4,961 views
0 votes
1 answer

Hyperledger Fabric:Error while creating channel unknown consortium

Firstly, replace DocChain with DocChainConsortium. Then run: docker-compose -f docker-compose-cli.yaml down --volumes ...READ MORE

Oct 31, 2018 in Blockchain by Omkar
• 69,220 points
2,082 views
0 votes
1 answer

Hyperledger Fabric: How to create wallet using program?

You can do this by passing some ...READ MORE

Oct 31, 2018 in Blockchain by Omkar
• 69,220 points
2,246 views