Most voted questions in Blockchain

0 votes
1 answer

ethminer failed to submit hashrate

The pool you are linking with the -F flag ...READ MORE

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

How to manually create the instance of the contract in truffle?

You can try to do it like ...READ MORE

Sep 24, 2018 in Blockchain by slayer
• 29,350 points
2,468 views
0 votes
1 answer

Repeating transactions hangs - web3js, local geth

If you are sending transactions back-to-back from ...READ MORE

Sep 24, 2018 in Blockchain by digger
• 26,740 points
871 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,000 views
0 votes
3 answers

UnhandledPromiseRejectionWarning: Error: The contract code couldn't be stored, please check your gas limit

I believe bytecode is being treated as ...READ MORE

Sep 24, 2018 in Blockchain by Teja
1,384 views
0 votes
2 answers

Truffle migrate Error after run testrpc

Simple Solution: // module.exports = { // ...READ MORE

Sep 24, 2018 in Blockchain by Wasim
612 views
0 votes
1 answer

Not able to send Ethereum transaction

Hey, Change this line: await crowdsale.sendTransaction({value, from: buyer, gas: ...READ MORE

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

Can't send transaction even if I use an example from official Ethereum webpage

As I understand your question you are ...READ MORE

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

Historical ethereum prices - Coinbase API

def get_spot_price(self, **params): """https://developers.coinbase.com/api/v2#get-spot-price""" ...READ MORE

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

Test ethereum Event Logs with truffle

You are passing tx hash into done() ...READ MORE

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

Are there null like thing in solidity

You could create none variable to use it as ...READ MORE

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

String concatenation in solidity?

A library can be used, for example: import "github.com/Arachnid/solidity-stringutils/strings.sol"; contract C ...READ MORE

Sep 21, 2018 in Blockchain by slayer
• 29,350 points
3,149 views
0 votes
1 answer

What do I import for SHA encryption in Node.js?

var sha = require('sha.js'); //... getHash() { ...READ MORE

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

how loop through a JSON Array of bitcoin transaction data

for($i=0; $i<count($result['out']); $i++) { echo ...READ MORE

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

Syntax Error running on Python

You are missing the closing parenthesis: hashlib.sha256(self.index + ...READ MORE

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

Why do people prefer mining Litecoin over Bitcoin?

The main reason people prefer mining Litecoin ...READ MORE

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

How to Query hdfs with Spark Sql

Yyou can achieve this by creating Dataframe. val ...READ MORE

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

How to send JSON object from npm module to browser

A simple solution for this would be ...READ MORE

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

Blockchain ToBTC API not returning Php variable

Seems like you have a syntax error ...READ MORE

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

XMLHttpRequest is not defined while sending request to blockchain service via C#

use post data in url link and ...READ MORE

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

How to extend Composer rest Server ?

 It looks like you want to query ...READ MORE

Sep 20, 2018 in Blockchain by Perry
• 17,100 points
654 views
0 votes
1 answer

How to create an asset on Bigchaindb server using http call

You could start like this: method = POST URL ...READ MORE

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

Public key encoding changes

You are printing the memory address of ...READ MORE

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

Docker on mac error message can't connect to Docker endpoint

While CORE_VM_ENDPOINT set to unix:///var/run/docker.sock, please make sure that var/run/docker.sock exists in ...READ MORE

Sep 19, 2018 in Blockchain by slayer
• 29,350 points
1,938 views
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,408 views
0 votes
1 answer

How to Read multiple value from as JSON format from a external service and store in composer registry

Hey buddy,  this works: /** * Track temperatures ...READ MORE

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

Nodejs: How to pass user form data into defined class

This should do your work: // select the ...READ MORE

Sep 19, 2018 in Blockchain by digger
• 26,740 points
721 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,350 points
9,091 views
0 votes
1 answer

Decorators in Hyperledger Composer Modeling Language

Define you CustomAsset like mentioned below and ...READ MORE

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

Sawtooth Javascript SDK "Batchlist rejected" error

What you can do is use intkey-client to the ...READ MORE

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

How to Check if string is in list in javascript?

At first, make sure that the string ...READ MORE

Sep 19, 2018 in Blockchain by slayer
• 29,350 points
2,619 views
0 votes
1 answer

When trying to Start the membersrvc, its not responding!

You should start membersrvc at first in ...READ MORE

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

Corda: uploading a file, attach and download

Hey, i found an example that i ...READ MORE

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

Can we set a list of discovery nodes in Hyperledger fabric?

New nodes doesn't depend on a single ...READ MORE

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

How to handle Overlapping of array objects in node js

Try this code, may be it works for ...READ MORE

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

How to decrypt result of query when using the Hyperledger Client SDK for Node.js

In this case, it is just a ...READ MORE

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

How to connect to already running go ethereum client using mist Ubuntu

Hey, you can solve the issue by using sudo ...READ MORE

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

Running blockchain script in a one liner

This is a direct translation of the ...READ MORE

Sep 18, 2018 in Blockchain by slayer
• 29,350 points
372 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
1,571 views
0 votes
1 answer

Not able to run chaincode locally using docker

Looks like the Fabric team introduced "nopkcs11" ...READ MORE

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

Cannot download fabric-sdk-go.

This happens and I know how frustrating ...READ MORE

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

How to make a class that fits Blockchain.info Json?

Hey, I found a simple solution for ...READ MORE

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

blockchain/service-my-wallet-v3 - Connection refused

Hey, if you have installed blockchain/service-my-wallet properly, ...READ MORE

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

How to get results by running the voting code on Ethereum?

In mist go to your contract and ...READ MORE

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

ERRO : Error trying to connect to local peer: grpc: timed out trying to connect

You need to use the correct port ...READ MORE

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

“make” build ‘EC_GF2m_simple_method’ was not declared in this scope error in centos7

Step 1: I assume that your present ...READ MORE

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

Javascript: cant update assets in for-loop

Your for-loop will not wait for the ...READ MORE

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

Web3 1.0: What does `web3.eth.call(tx)` return for a contract creation?

The returned bytestring is the deployedBytecode of the contract, ...READ MORE

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

Go build fail, fatal error: rocksdb/c.h

I followed here and it is done. https://github.com/openblockchain/obc-peer/issues/885 Configure ...READ MORE

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

Solidity, javascript Wrong format: invalid address

The contract lacks initialization, at first. var contract ...READ MORE

Sep 17, 2018 in Blockchain by digger
• 26,740 points
1,168 views