Most viewed questions in Blockchain

0 votes
4 answers

Issue with getting web3.eth.accounts (MetaMask)

I solved problem, using: web3.eth.getAccounts((err, res) => ...READ MORE

Oct 12, 2018 in Blockchain by Perry
• 17,090 points
1,252 views
+1 vote
5 answers

How to solve "truffle: command not found" error in blockchain?

First try restarting the system and then ...READ MORE

Jul 16, 2018 in Blockchain by slayer
• 29,260 points
1,245 views
0 votes
1 answer

Call contract methods with web3 from newly created account

In fact, we can't just send transactions ...READ MORE

Sep 25, 2018 in Blockchain by digger
• 26,660 points
1,235 views
0 votes
3 answers

Solidity: TypeError: Data location must be "memory" for parameter in function, but none was given.

Could be a version problem. This worked ...READ MORE

Apr 30, 2019 in Blockchain by Yogi
1,227 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
1,219 views
0 votes
3 answers

Hyperledger fabric: Cant connect peer to channel

Open the hosts file: $ gedit /etc/hosts And add the IP ...READ MORE

May 8, 2019 in Blockchain by John
1,218 views
0 votes
1 answer

How to deploy hyperledger fabric in production level?

Once you set up the Fabric, bring ...READ MORE

Aug 1, 2018 in Blockchain by Aryya
• 7,340 points
1,215 views
+1 vote
4 answers

How can we search a block using transaction Id(TxID) or hash?

The most obvious use case would be ...READ MORE

Apr 10, 2018 in Blockchain by Johnathon
• 9,090 points
1,210 views
0 votes
1 answer

Hyperledger Fabric: Error: Error getting chaincode code chaincode: cannot find package

In the startFabric.sh launch the cli container ...READ MORE

Nov 12, 2018 in Blockchain by Omkar
• 68,840 points
1,207 views
0 votes
1 answer

Hyperledger Fabric: “Local Fabric binary version does not match this newer version of BYFN and is unsupported”.

You need to first delete the existing ...READ MORE

Nov 19, 2018 in Blockchain by Omkar
• 68,840 points
1,204 views
+1 vote
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
• 68,840 points
1,196 views
+1 vote
2 answers

Using Composite Key formation to get states for a date range in Hyperledger Fabric V1.0

I think you have found a partial ...READ MORE

Jul 20, 2018 in Blockchain by charlie_brown
• 7,720 points
1,184 views
+2 votes
3 answers

Hyperledger Fabric: Peer Connection error: Failed obtaining connection: Could not connect to any of the endpoints.

 You can extend your /etc/hosts file and make orderer.example.com domain name ...READ MORE

Nov 13, 2018 in Blockchain by Omkar
• 68,840 points
1,171 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,660 points
1,167 views
0 votes
1 answer

What is the use of role when registering user in Hyperledger Fabric

When you register a user, that user ...READ MORE

May 2, 2019 in Blockchain by Raj
1,166 views
+1 vote
2 answers

How to solve Hyperledger Fabric "error endorsing chaincode" error?

Try to install chaincode with a name ...READ MORE

Jul 13, 2018 in Blockchain by digger
• 26,660 points
1,156 views
+1 vote
4 answers

Where does hyperledger fabric store the database for the blockchain?

The data of the Hyperledger Blockchain is ...READ MORE

Apr 29, 2019 in Blockchain by Tina
1,150 views
+3 votes
3 answers

How to validate bitcoin address?

I found these 2 scripts online: Javascript: <html> <head> <script type="text/javascript" ...READ MORE

Aug 17, 2018 in Blockchain by slayer
• 29,260 points
1,145 views
+1 vote
2 answers

Where is custom chaincode path Hyperledger Fabric 1.0?

You have to have your chaincode at ...READ MORE

Jul 10, 2018 in Blockchain by slayer
• 29,260 points
1,139 views
0 votes
3 answers

How to solve “VM Exception while processing transaction: revert” error?

I am using windows 7. Any solution ...READ MORE

Apr 30, 2019 in Blockchain by Rajesh
1,105 views
0 votes
1 answer

How to create channels in Hyperledger Sawtooth?

There are two features that I know ...READ MORE

Aug 9, 2018 in Blockchain by slayer
• 29,260 points
1,096 views
+1 vote
5 answers

Does Hyperledger remove asset actually remove anything?

Hyperledger remove asset doesn't actually "remove" the ...READ MORE

Jun 19, 2018 in Blockchain by charlie_brown
• 7,720 points
1,094 views
+1 vote
3 answers

Not able to read a file from my assets folder

Hi.. I faced a similar problem in ...READ MORE

Oct 25, 2018 in Blockchain by Shrikanth
1,083 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
• 68,840 points
1,082 views
+1 vote
1 answer

Return array of struct from a solidity function: "Expected type name function getPurchaseOrderForVendor" error

There's a typo in your code. The ...READ MORE

Oct 17, 2018 in Blockchain by Christine
• 15,810 points
1,055 views
+1 vote
2 answers

How to configure Endorsement policy in Hyperledger?

The Hyperledger Fabric Endorsement policy is configured ...READ MORE

Jul 25, 2018 in Blockchain by slayer
• 29,260 points
1,051 views
0 votes
3 answers

Hyperledger fabcar sample fabric error: sendPeersProposal - Promise is rejected: Error: Connect Failed

Open the datasources.json file and replace the grpcs:// with grpc://. This solution worked ...READ MORE

Apr 30, 2019 in Blockchain by Reshma
1,048 views
+1 vote
1 answer

Hyperledger fabric java sdk setup

Suppose (assuming) you started the first network ...READ MORE

Nov 16, 2018 in Blockchain by Christine
• 15,810 points
1,037 views
+1 vote
2 answers

How to return value from a chaincode in Hyperledger Fabric?

Hyperledger Fabric supports only 2 types of ...READ MORE

Jun 13, 2018 in Blockchain by Perry
• 17,090 points
1,035 views
0 votes
1 answer

Hyperledger Fabric: How to get transaction history using key?

history, err := stub.GetHistoryForKey(key_value) for history.HasNext() { ...READ MORE

Nov 20, 2018 in Blockchain by Omkar
• 68,840 points
1,012 views
0 votes
1 answer

"Migrations" -- Returned error: authentication needed: password or unlock.

By default, the accounts are locked and ...READ MORE

Jan 17, 2019 in Blockchain by Omkar
• 68,840 points
1,011 views
0 votes
1 answer

JavaFX Location is not set error message

I had this problem and found this ...READ MORE

Sep 19, 2018 in Blockchain by slayer
• 29,260 points
1,002 views
0 votes
1 answer

"Migrations" exceeded the block limit (with a gas value you set).

In the error you have posted, in ...READ MORE

Jan 17, 2019 in Blockchain by Omkar
• 68,840 points
984 views
0 votes
2 answers

Hyperledger byfn: could not assemble transaction: ProposalResponsePayloads do not match

This is because you have not installed ...READ MORE

Nov 20, 2018 in Blockchain by Omkar
• 68,840 points
970 views
0 votes
1 answer

How to read a state after writing it into a chaincode?

Data that is 'written' in chaincode is ...READ MORE

May 28, 2018 in Blockchain by Perry
• 17,090 points
969 views
+1 vote
3 answers

How to convert timestamp to readable format in blockchain.info?

You are talking about the block_time property ...READ MORE

Apr 29, 2019 in Blockchain by Raghu
968 views
0 votes
1 answer

Extract data from Json url result php

Try this code, it worked for me: $balance ...READ MORE

Sep 3, 2018 in Blockchain by slayer
• 29,260 points
966 views
+1 vote
1 answer

Can there be multiple Hyperledger Fabric CA servers in the same blockchain?

Yes, you can run multiple CA servers ...READ MORE

Jun 26, 2018 in Blockchain by Omkar
• 68,840 points
959 views
+1 vote
3 answers

Pass parameter as bytes32 to Solidity Smart Contract

Use the common.HexToHash package and pass the string ...READ MORE

Sep 19, 2019 in Blockchain by Grashias

edited Sep 19, 2019 by Omkar 954 views
0 votes
1 answer

How to generate Bitcoin address in Ruby?

In your generate_address_from_public_key_hash method, the checksum should be over ...READ MORE

Aug 22, 2018 in Blockchain by slayer
• 29,260 points
954 views
0 votes
1 answer

How to check ethereum logs?

Hey there! You don't have a Verbose ...READ MORE

Jan 9, 2019 in Blockchain by Omkar
• 68,840 points
951 views
+1 vote
2 answers

Hyperledger: get “/bin/bash: ./scripts/script.sh: No such file or directory” when running “./byfn -m up”

You can follow these steps : In your ...READ MORE

Mar 27, 2018 in Blockchain by ned_crew
• 1,620 points
949 views
+1 vote
1 answer

How to create participant and there identities via rest API in Hyperledger Composer?

If you have already imported an Identity ...READ MORE

Aug 10, 2018 in Blockchain by Perry
• 17,090 points
938 views
0 votes
1 answer

HyperLedger Fabric and Multichain - difference & different use cases

MULTICHAIN: It is a Permissioned Blockchain. It doesn't implement ...READ MORE

Dec 28, 2018 in Blockchain by Omkar
• 68,840 points
937 views
0 votes
1 answer

What is the format for crypto-config.yaml and configtx.yaml in Hyperledger Fabric?

You can find the details you want ...READ MORE

Jul 12, 2018 in Blockchain by slayer
• 29,260 points
927 views
0 votes
2 answers

How to use multiple anchor peers in an organization?

To use multiple anchor peers, you need ...READ MORE

Jul 10, 2018 in Blockchain by digger
• 26,660 points
904 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,260 points
903 views
+1 vote
4 answers

What is the asset, key-value pair in hyperledger fabric?

Let me explain with an example. Suppose ...READ MORE

May 2, 2019 in Blockchain by Kiran
899 views
0 votes
1 answer

Where does Hyperledger Fabric store the database for the Blockchain? [closed]

The Hyperledger Fabric stores the database in ...READ MORE

Jul 13, 2018 in Blockchain by Perry
• 17,090 points
890 views
0 votes
1 answer

How to add peer to ethereum private network?

To connect a node to already existing ...READ MORE

Jan 22, 2019 in Blockchain by Omkar
• 68,840 points
884 views