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
849 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,258 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,293 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,482 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,850 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,253 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,164 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,412 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,535 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,825 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,436 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,246 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,718 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,088 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,549 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,259 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,242 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,456 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,278 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,975 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,702 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,368 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,970 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,331 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,076 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,312 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,270 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,427 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,542 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,495 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
972 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,097 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,737 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,397 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,335 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,155 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,998 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,989 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,682 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,664 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
786 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,119 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,997 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,824 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,910 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,147 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,138 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,532 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,421 views