Trending questions in Blockchain

0 votes
1 answer

Cant set Remix IDE to work on testrpc

As I can see that you are ...READ MORE

Dec 11, 2018 in Blockchain by Omkar
• 69,220 points
718 views
0 votes
1 answer

Not able to migrate contract in Truffle: Error: No network specified. Cannot determine current network

Make these entries in truffle.js file: module.exports = { ...READ MORE

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

"[RuntimeException] The "-t" option does not exist" error in Hyperledger composer.

This command runs on composer-cli. Have you ...READ MORE

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

Why is Blockchain called a Disruptive Technology?

Blockchain Technology showed the world a new ...READ MORE

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

Solidity Web3js: Invalid number of arguments to Solidity function error

Try this: Change console.log(formData.destinationtoke); console.log(formData.amounttoke); var tx = sendtoken(destinationtoke, amounttoke); To : console.log(formData.destinationtoke); console.log(formData.amounttoke); var ...READ MORE

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

Unboxing truffle: Shows error: Stopping to prevent overwriting data.

As mentioned in the error: unboxing or ...READ MORE

Dec 1, 2018 in Blockchain by Omkar
• 69,220 points
1,158 views
0 votes
1 answer

Command "network" is not defined. in hyperledger composer

For composer network to work, you must ...READ MORE

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

In Ethereum Solidity, what is the purpose of the “memory” keyword?

Without the memory keyword, Solidity tries to declare variables ...READ MORE

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

Accessing External Api in HyperLedger Fabric

Generally you are not supposed to call ...READ MORE

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

Hyperledger Composer: How to retrieve array of assets?

This is what worked for me: asset Ask ...READ MORE

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

Hyperledger: Explorer Shows Empty Data and Promise is rejected: Error: 12 UNIMPLEMENTED: unknown service protos.Endorser

This config worked for me: { "network-config": { ...READ MORE

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

javascript bytes32 to string

Assuming you're using web3 on the JS side, it's web3.toAscii. Example ...READ MORE

Oct 8, 2018 in Blockchain by Omkar
• 69,220 points
3,332 views
0 votes
1 answer

How to set the hex-encoded data field in a Web3j Ethereum transaction?

You can use the "data" field of ...READ MORE

Oct 15, 2018 in Blockchain by Omkar
• 69,220 points
3,023 views
0 votes
1 answer

Hyperledger Fabric: ERROR: manifest for hyperledger/fabric-ca:latest not found.

docker pull hyperledger/fabric-ca:x86_64-1.1.0-preview Now tag this the latest ...READ MORE

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

Hyperledger-Composer: Error: Object with ID 'undefined' in collection with ID 'chaincodes' does not exist

First delete the cache and cookies from ...READ MORE

Oct 29, 2018 in Blockchain by Omkar
• 69,220 points
2,395 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
1,945 views
0 votes
1 answer

What is the mean Hash Encryption?

Hash encryption is a form of providing ...READ MORE

Dec 4, 2018 in Blockchain by Omkar
• 69,220 points
835 views
0 votes
1 answer

Ethereum "truffle server" gives error: TypeError: fsevents is not a constructor

Looks like you have files missing.  Try creating project with: truffle ...READ MORE

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

Getting Invalid number of parameters for “undefined” when deploying smart contract

Try something like this for contracts that ...READ MORE

Oct 10, 2018 in Blockchain by Omkar
• 69,220 points
3,160 views
0 votes
1 answer

Hyperledger Fabric: How to Enable Full Logging in Balance Transfer?

This is how you can do it. ...READ MORE

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

Not able to start testrpc for Ethereum truffle

Hey. It seems like you already have ...READ MORE

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

Cannot find package “google/protobuf”

Firstly, your import is wrong, you are ...READ MORE

Oct 1, 2018 in Blockchain by Perry
• 17,100 points
3,504 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,140 views
0 votes
1 answer

Hyperledger Composer: Error: Chaincode already installed - Composer-playground

You get this error because composer-playground saves ...READ MORE

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

Hyperledger Vagrant make peer failed

Maybe you forgot to install docker. Try ...READ MORE

Nov 22, 2018 in Blockchain by digger
• 26,740 points
1,125 views
0 votes
1 answer

Hyperledger Fabric: orderer launching fails with error "panic: Error reading configuration:Unsupported Config Type"

The error says there's some problem finding ...READ MORE

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

Hyperledger Composer: How to write complex queries in Composer?

You can do this using the query ...READ MORE

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

How do display all the events logs from a smart contract?

You'll need to watch the events. const filter ...READ MORE

Oct 3, 2018 in Blockchain by digger
• 26,740 points
3,262 views
0 votes
1 answer

Hyperledger Fabric: How to start/stop the fabric nodes?

This is another way to do it: docker ...READ MORE

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

Should I encrypt my address before sending bitcoin?

Hey. No, you dont have to encrypt ...READ MORE

Dec 4, 2018 in Blockchain by Omkar
• 69,220 points
606 views
0 votes
1 answer

Solidity: How to return id from hash value?

You can do it by storing the hash ...READ MORE

Oct 22, 2018 in Blockchain by Omkar
• 69,220 points
2,425 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,771 views
0 votes
3 answers

String conversion to Array in Solidity

There is no built-in method/function for this ...READ MORE

Oct 3, 2018 in Blockchain by Charlie
3,293 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,602 views
0 votes
1 answer

Calling function in truffle console error

Inside Truffle console ContractName.deployed().then(function(instance){app = instance}) app.adopt(23)//call method on ...READ MORE

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

Cant initialization project in truffle

Try this: truffle unbox webpack READ MORE

Nov 30, 2018 in Blockchain by Omkar
• 69,220 points
709 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
1,967 views
0 votes
1 answer

Hyperledger: How to take DateTime input from user?

There are tow options: 1. You can set ...READ MORE

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

Hyperledger Fabric: make peer make: *** No rule to make target `peer'. Stop

The makefile is in /opt/gopath/src/github.com/hyperledger/fabric , not ...READ MORE

Nov 15, 2018 in Blockchain by Omkar
• 69,220 points
1,266 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,622 views
0 votes
1 answer

Web3js: how to catch ethereum contract exception?

try this: try{ Test test = Test.load(contractObj.getContractAddress(), ...READ MORE

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

Using json rpc with curl on java?

Quoting different pieces the way you're doing ...READ MORE

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

Hyperledger Fabric: Error endorsing chaincode: rpc error

Run the following commands and try again: docker ...READ MORE

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

How to solve “insufficient funds for gas * price + value” error?

Change the following line Credentials credentials = Credentials.create(firstAccount); To ...READ MORE

Aug 1, 2018 in Blockchain by slayer
• 29,370 points
5,756 views
0 votes
1 answer

Hyperledger Fabric: cp: cannot stat ‘build/docker/gotools/bin/protoc-gen-go’: No such file or directory

Do this: $go get -u github.com/golang/protobuf/protoc-gen-go $ cp $GOPATH/bin/protoc-gen-go build/docker/gotools/bin/ Now ...READ MORE

Oct 29, 2018 in Blockchain by Omkar
• 69,220 points
1,908 views
0 votes
1 answer

Hyperledger composer: How to include relationship in custom query?

You are trying to use filter={"include":"resolve"} in Composer Query. ...READ MORE

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

How to get return value from solidity contract?

Once you call a constant function, you ...READ MORE

Aug 16, 2018 in Blockchain by slayer
• 29,370 points
5,085 views
0 votes
1 answer

How to run smart contract function using nethereum to return a result?

Try this: var result = getUserAtIndex.CallAsync<byte[]>(123) ...READ MORE

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

Javascript Websocket subscribe to channel

This is how you can do it let ...READ MORE

Aug 28, 2018 in Blockchain by slayer
• 29,370 points
4,539 views
0 votes
1 answer

Ethereum: Cloning cpp-ethereum from git.

Yes, you can only clone the additional ...READ MORE

Nov 19, 2018 in Blockchain by Omkar
• 69,220 points
937 views