Trending questions in Blockchain

–1 vote
1 answer

Unable to create account in geth

Well, that's not how you create a ...READ MORE

Dec 28, 2018 in Blockchain by Omkar
• 69,220 points
831 views
0 votes
2 answers

Not able to POST chaincode to hyperledger-fabric using API

TypeError: Cannot read property 'curve' of undefined     at ...READ MORE

Jan 30, 2019 in Blockchain by SHRADDHA
1,237 views
0 votes
1 answer

truffle npm run dev not working

Are you running this command from the ...READ MORE

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

Send all Tokens and Eth to a Address automatically

require(token.transfer(beneficiary, token.balanceOf(this))); where token is the ERC20 token you're transferring. ...READ MORE

Oct 1, 2018 in Blockchain by digger
• 26,740 points
4,436 views
0 votes
2 answers

Laravel 5.4 to get data form API response

Input::get('var_name') READ MORE

Feb 14, 2019 in Blockchain by anonymous
2,205 views
0 votes
1 answer

Hyperledger Fabric :failed to send proposal to peers: Unable to resolve host peer0.org1

This peer address does not exist on ...READ MORE

Nov 16, 2018 in Blockchain by Omkar
• 69,220 points
2,387 views
0 votes
2 answers

Hyperledger sawtooth installation: No connectivity between host computer and docker container

Check the ip used by docker. If ...READ MORE

Jan 21, 2019 in Blockchain by Bhavana
2,190 views
0 votes
1 answer

Hyperledger Fabric: Upgrading Chaincode after modification

You need to specify the channel name ...READ MORE

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

Invalid opcode error in a simple Solidity contract and script

You don't need to call .at() if you're using .new(). ...READ MORE

Sep 14, 2018 in Blockchain by slayer
• 29,370 points
5,091 views
0 votes
1 answer

Hyperledger Fabric:Promise is rejected:Error:Failed to deserialize creator identity,The supplied identity is not valid.

 This error happens because basic-network/docker-compose.yaml has CA ...READ MORE

Nov 14, 2018 in Blockchain by Omkar
• 69,220 points
2,421 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,797 views
0 votes
1 answer

truffle create contract shows no network available error

In your truffle project directory, you have ...READ MORE

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

How to save complex object in the contract in solidity

You can't pass objects when initiating a ...READ MORE

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

Where is the cryptogen tool in fabric?

Go in the fabric directory and then ...READ MORE

Oct 29, 2018 in Blockchain by Omkar
• 69,220 points
3,064 views
0 votes
2 answers

Is it possible to modify a variable value from another contract?

No, you can't directly edit a variable ...READ MORE

Sep 24, 2018 in Blockchain by Sai
4,507 views
0 votes
1 answer

Angular: How to display ngModel Object In Html Template?

You can use pipe as json on html page like this: {{ ...READ MORE

Oct 30, 2018 in Blockchain by Omkar
• 69,220 points
2,948 views
+1 vote
4 answers

What role does Orderer peer serves in Hyperledger Fabric??

Shared communication channel to clients and peers ...READ MORE

Apr 12, 2018 in Blockchain by Johnathon
• 9,090 points
3,195 views
0 votes
1 answer

How can I get the same return value as solidity `abi.encodePacked` in Golang?

This is what I used:  package main import ( ...READ MORE

Sep 26, 2018 in Blockchain by slayer
• 29,370 points
4,405 views
0 votes
2 answers

How to generate ethereum qr code address with amount?

You implement this package: ethereum-qr-code. It implements the EIP67 standard which uses ...READ MORE

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

What is my chaincode ID in Hyperledger Fabric?

Hey. You have used chaincode id but ...READ MORE

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

How to use different network cards for multiple composer rest server users?

You are getting the same network card in ...READ MORE

Dec 6, 2018 in Blockchain by Perry
• 17,100 points
1,346 views
+2 votes
3 answers

Can multi-channels be supported by Hyperledger in one peer?

Yes you can run  multiple chains on ...READ MORE

Apr 11, 2018 in Blockchain by Perry
• 17,100 points
3,157 views
0 votes
1 answer

How to create Bitcoin Address in PHP?

You need to understand that Bitcoin address and ...READ MORE

Aug 28, 2018 in Blockchain by Perry
• 17,100 points
5,641 views
0 votes
1 answer

Not able to migrate truffle project even after running testrpc

Maybe you forgot to compile the project ...READ MORE

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

Why do I require fabric-kafka and fabric-order containers in same network?

There are three ordering services, as you ...READ MORE

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

NPM cannot install “truffle” on Windows

Your install is failing at node-gyp rebuild. Solutions ...READ MORE

Sep 27, 2018 in Blockchain by slayer
• 29,370 points
4,264 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,405 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,520 views
0 votes
1 answer

Not able to create contracts in truffle

It seems like you have files missing that ...READ MORE

Dec 11, 2018 in Blockchain by Omkar
• 69,220 points
965 views
+1 vote
1 answer

Calling deployed smart contract from node.js

contractInstance.wakeUp.call is calling the function as constant, but ...READ MORE

Sep 26, 2018 in Blockchain by digger
• 26,740 points
4,212 views
0 votes
1 answer

Ethereum truffle server command not working

Try this command to create project: truffle init ...READ MORE

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

Hyperledger Docker: Error building images: cannot connect to Docker endpoint.

Check your container environment variable: CORE_VM_ENDPOINT=unix:///var/run/docker.sock Then if you ...READ MORE

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

How to install chaincode in new Org in hyperledger fabric?

To do this, first enter you cli ...READ MORE

Nov 22, 2018 in Blockchain by Omkar
• 69,220 points
1,717 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,384 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,317 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,139 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,967 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,667 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,967 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,647 views
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
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,984 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
1,084 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,897 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,781 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,122 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,118 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,509 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,843 views