Most viewed questions in Blockchain

0 votes
1 answer

Go- Chaincode function to display struct values

Try this func (t *SimpleChaincode) setDetails(stub shim.ChaincodeStubInterface, args ...READ MORE

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

how to get modification history of asset?

You can use GetHistoryForKey() API as shown ...READ MORE

Jul 9, 2018 in Blockchain by digger
• 26,740 points
1,122 views
0 votes
1 answer

What is the difference between Blockchin and Bitcoin

Blockchain has potential beyond Bitcoin and cryptocurrency. ...READ MORE

Jul 13, 2018 in Blockchain by shweta
• 440 points
1,119 views
0 votes
1 answer

Solidity difference array with and without new keyword.

Creating arrays with variable length in memory ...READ MORE

Aug 16, 2018 in Blockchain by digger
• 26,740 points
1,116 views
0 votes
1 answer

how to get the information of asset created in hyperledger composer in case of with out transaction?

First, get the list of all existing ...READ MORE

Mar 13, 2019 in Blockchain by Omkar
• 69,190 points
1,109 views
+1 vote
2 answers
0 votes
1 answer

How to create a contract in truffle?

The command you are using to create ...READ MORE

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

Hyperledger Fabric: "No go in PATH" error.

The error is because the go path ...READ MORE

Jun 27, 2018 in Blockchain by Omkar
• 69,190 points
1,104 views
0 votes
1 answer

How to monitor Ethereum private network?

geth should be started with --metrics. try the ...READ MORE

Jul 11, 2018 in Blockchain by slayer
• 29,350 points
1,102 views
+1 vote
1 answer

How immutability is achieved in hyperledger fabric?

Since it is a private blockchain platform, ...READ MORE

Apr 21, 2018 in Blockchain by Perry
• 17,100 points
1,102 views
0 votes
1 answer

Fatal error while installing web3 node.

Try to add git config by executing ...READ MORE

Aug 10, 2018 in Blockchain by digger
• 26,740 points
1,101 views
0 votes
1 answer

How do I develop a supply chain DApp on Blockchain?

Either of the ways is acceptable but ...READ MORE

May 30, 2018 in Blockchain by Perry
• 17,100 points
1,098 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,190 points
1,096 views
0 votes
1 answer

Getting wrong result from SHA256 than what is expected

It's just an encoding issue - don't ...READ MORE

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

Truffle Error: Migrations contract constructor expected

You are not using constructor() public { ...READ MORE

Aug 10, 2018 in Blockchain by digger
• 26,740 points
1,096 views
0 votes
1 answer

How to make POST request on C# to blockr.io

By default UploadValues doesn't format the data ...READ MORE

Aug 30, 2018 in Blockchain by digger
• 26,740 points
1,094 views
0 votes
1 answer

Hyperledger Fabric: Cannot update chaincode

First, stop and delete all the containers: docker ...READ MORE

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

How to input realtime data from google sheets into urlfetch google scripts?

Based on your title I hope to ...READ MORE

Oct 12, 2018 in Blockchain by Perry
• 17,100 points
1,089 views
0 votes
1 answer

Can’t find value for key while using CouchDB for Fabric.

In the output you have mentioned: {   "id": ...READ MORE

Jul 31, 2018 in Blockchain by slayer
• 29,350 points
1,086 views
0 votes
1 answer

How to create tokens in smart contracts from node.js?

Any modification to the Ethereum Blockchain will ...READ MORE

Jun 27, 2018 in Blockchain by Shashank
• 10,400 points
1,085 views
0 votes
1 answer

How to solve "Failed to deserialize creator identity error"?

It seems like the problem is caused ...READ MORE

Jul 13, 2018 in Blockchain by slayer
• 29,350 points
1,084 views
0 votes
1 answer

How to connect to *coin RPC-Server with PHP

If you want to connect inside your ...READ MORE

Sep 12, 2018 in Blockchain by slayer
• 29,350 points
1,082 views
0 votes
1 answer

How many peers in fabric network need to endorse a transaction?

The number of peers required to endorse ...READ MORE

Jan 31, 2019 in Blockchain by Omkar
• 69,190 points
1,079 views
0 votes
2 answers

how save data from different account using web3.py to smart contract

Hey, @Amal, It will automatically take the address ...READ MORE

Jul 28, 2020 in Blockchain by Rajiv
• 8,910 points
1,078 views
0 votes
1 answer

Calling functions from other contracts solidity

This code worked for me: pragma solidity ^0.4.2; contract ...READ MORE

Sep 17, 2018 in Blockchain by digger
• 26,740 points
1,078 views
+1 vote
1 answer

Is it possible to store images on the Ethereum blockchain?

This is possible for your information but, ...READ MORE

Feb 24, 2022 in Blockchain by Aditya
• 7,680 points
1,077 views
0 votes
1 answer

UnhandledPromiseRejectionWarning: Insufficient funds error in Ethereum: NodeJS web3

sendSignedTransaction returns a promiEvent onto which you can chain then and catch: web3.eth.sendSignedTransaction('0x' + ...READ MORE

Oct 15, 2018 in Blockchain by Omkar
• 69,190 points
1,075 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,190 points
1,074 views
+1 vote
1 answer

What is the best way to search for an item in blockchain?

All transactions and records in blockchain are ...READ MORE

Apr 21, 2018 in Blockchain by Perry
• 17,100 points
1,074 views
+1 vote
0 answers

How to generate bitcoin address from XPUB

How to generate bitcoin addresses from XPUB ...READ MORE

Mar 9, 2022 in Blockchain by Soham
• 9,700 points
1,072 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,190 points
1,064 views
0 votes
1 answer

How do I send ether from an EOA to a smart contract?

You include ether to send in the ...READ MORE

Sep 27, 2018 in Blockchain by digger
• 26,740 points
1,064 views
0 votes
3 answers

How to create a cryptocurrency based reward system using Ethereum?

Hey, you can take the help of ...READ MORE

Oct 28, 2020 in Blockchain by jamesright
• 140 points
1,064 views
0 votes
1 answer

Can smart contract have token balance?

Smart contracts can receive and send tokens ...READ MORE

May 31, 2018 in Blockchain by Shashank
• 10,400 points
1,063 views
0 votes
1 answer

Hyperledger Fabric: Error: Error getting (myc) orderer endpoint: Error endorsing GetConfigBlock

First of all please note, that during ...READ MORE

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

How to fix browser/IERC20.sol:4:53: Warning: This declaration shadows an existing declaration

I believe the issue is the reuse ...READ MORE

Oct 1, 2018 in Blockchain by slayer
• 29,350 points
1,057 views
0 votes
1 answer

How do nodes communicate with each other in hyperledger?

First let me tell you that there ...READ MORE

Jul 17, 2018 in Blockchain by slayer
• 29,350 points
1,057 views
0 votes
1 answer

Hyperledger Composer: not able to install Hyperledger composer-cli

Try setting the PATH like this, export PATH="/usr/local/share/npm/bin:$PATH" Now run the ...READ MORE

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

Coinbase API v2 Getting Historic Price for Multiple Days

Any reason you aren't using coinbase pro? The ...READ MORE

Apr 12, 2022 in Blockchain by Soham
• 9,700 points
1,053 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,190 points
1,052 views
0 votes
1 answer

How do transactions create a new block in Blockchain?

Bitcoin puts a cap of 2,400 transactions ...READ MORE

Aug 10, 2018 in Blockchain by Christine
• 15,790 points
1,051 views
0 votes
1 answer

How to extract Ethereum Blockchain data?

You are using web3.eth.getTransaction(txHash) web3.eth.getTransaction(txHash) will only return info ...READ MORE

Jul 30, 2018 in Blockchain by slayer
• 29,350 points
1,050 views
+1 vote
1 answer

What happened on deploy, invoke and query in Hyperledger chaincode?

1. Deploy: During Deploy the chaincode is written onto ...READ MORE

Apr 26, 2018 in Blockchain by Christine
• 15,790 points
1,050 views
0 votes
1 answer

How do I query Blockchain bitcoin locally?

You could use json RPC provided by ...READ MORE

Apr 19, 2018 in Blockchain by Christine
• 15,790 points
1,049 views
0 votes
1 answer

How can I deploy a hyperledger business network using docker-compose?

If you want to use Composer, be ...READ MORE

Oct 4, 2018 in Blockchain by Perry
• 17,100 points
1,045 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,190 points
1,044 views
0 votes
1 answer

Korbit api with python http.client

http.client.HTTPSConnection accepts hostname, not a url. conn = http.client.HTTPSConnection("api.korbit.co.kr", ...READ MORE

Aug 28, 2018 in Blockchain by digger
• 26,740 points
1,043 views
0 votes
1 answer

React Native to make requests to bitcoin wallet

I found an API that could help ...READ MORE

Aug 23, 2018 in Blockchain by digger
• 26,740 points
1,041 views
0 votes
1 answer

How to access member functions of smart contract using web3?

I have implemented a similar feature and ...READ MORE

Aug 13, 2018 in Blockchain by slayer
• 29,350 points
1,041 views
0 votes
1 answer

How to setup rule in ACL file of Hyperledger Composer to validate against enum?

Use these two ACL rules: ...READ MORE

Jul 19, 2018 in Blockchain by Perry
• 17,100 points
1,038 views