Trending questions in Blockchain

0 votes
1 answer

How to issue regular payouts to multiple wallets?

The cheapest way to do this is ...READ MORE

Oct 30, 2018 in Blockchain by Christine
• 15,790 points
835 views
0 votes
1 answer

Hyperledger Fabric: How to retrieve success payload via nodejs client?

The channel.sendTransactionProposal generates a Response object You ...READ MORE

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

var_dump of a JSON response returns NULL

You should be aware of the chances ...READ MORE

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

HyperledgerFabric : *SampleChaincode does not implement shim.Chaincode error

The reason you are getting this error ...READ MORE

Oct 29, 2018 in Blockchain by Omkar
• 69,220 points
834 views
0 votes
1 answer

Hyperledger Composer: How to save deployments?

You are losing your deployments probably because ...READ MORE

Oct 29, 2018 in Blockchain by Omkar
• 69,220 points
834 views
0 votes
1 answer

Hyperledger Fabric: ./byfn.sh -m up failed

Try adding GODEBUG=netdns=go to the environment variables ...READ MORE

Oct 26, 2018 in Blockchain by Omkar
• 69,220 points
959 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,220 points
1,416 views
0 votes
1 answer

Cant get a specific value in JSON/PHP

Convert the json-string to a php-array and ...READ MORE

Sep 11, 2018 in Blockchain by slayer
• 29,370 points
2,878 views
0 votes
1 answer

Ethereum client-go RPC response 403 “invalid host specified”

Adding --rpcvhosts=* should solve the issue READ MORE

Oct 1, 2018 in Blockchain by slayer
• 29,370 points
1,997 views
0 votes
1 answer

Ethereum Advance token sample

Using > instead of >= is a ...READ MORE

Nov 2, 2018 in Blockchain by Christine
• 15,790 points
592 views
0 votes
1 answer

Etheruem: Unable to import library in Remix IDE

Your link is broken. This is the ...READ MORE

Oct 9, 2018 in Blockchain by Omkar
• 69,220 points
1,635 views
0 votes
1 answer

Hyperledger Fabric : How to initialise a 2D array in .cto file?

You could try something like this, with ...READ MORE

Oct 30, 2018 in Blockchain by Omkar
• 69,220 points
710 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,472 views
0 votes
1 answer

Ethereum call contract method that emits an event, from another contract

You need to refer to the EventEmitter by ...READ MORE

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

Are Ethereum contract function securable?

The reason is that you are using ...READ MORE

Oct 30, 2018 in Blockchain by Christine
• 15,790 points
781 views
0 votes
2 answers

UnicodeDecodeError: 'utf-8' codec can't decode byte (python)

I found a python rpc library for ...READ MORE

Sep 4, 2018 in Blockchain by Piston
3,055 views
0 votes
1 answer

Hyperledger Composer cant find business card.

I changed the code to: var businessNetwork = ...READ MORE

Oct 26, 2018 in Blockchain by Omkar
• 69,220 points
846 views
0 votes
2 answers

Ethereum function completed not event not showing up

Oh ya. I was passing unit but ...READ MORE

Oct 24, 2018 in Blockchain by slayer
• 29,370 points
889 views
0 votes
1 answer

How to get value from solidity contract using java?

web3j caters for this very use case. It ...READ MORE

Sep 28, 2018 in Blockchain by slayer
• 29,370 points
2,044 views
0 votes
1 answer

How to reduce a random hash to a boolean value

Take the largest or smallest bit from ...READ MORE

Oct 30, 2018 in Blockchain by Christine
• 15,790 points
753 views
0 votes
1 answer

Not able to invoke a contract in Ethereum Private chain using geth

Hope this helps: contract mortal { /* ...READ MORE

Oct 22, 2018 in Blockchain by Omkar
• 69,220 points
992 views
0 votes
1 answer

Hyperledger Composer: Error trying to instantiate composer runtime.

It looks like a problem with composer-cli.  A ...READ MORE

Oct 26, 2018 in Blockchain by Omkar
• 69,220 points
808 views
0 votes
2 answers

Check Bitcoin Balance with mybitx api https GET url

You can use the PHP Requests library for an ...READ MORE

Sep 17, 2018 in Blockchain by Lalit
2,556 views
0 votes
1 answer

How to install v1.7.3. of Geth using ppa?

The Ethereum PPA generally provides the latest ...READ MORE

Oct 17, 2018 in Blockchain by Christine
• 15,790 points
1,189 views
0 votes
1 answer

eth.getTransactionReceipt returns null

It looks like there's an issue with ...READ MORE

Sep 25, 2018 in Blockchain by slayer
• 29,370 points
2,136 views
0 votes
1 answer

Cant query in Hyperledger Composer

There's a mistake in your WHERE statement. ...READ MORE

Oct 26, 2018 in Blockchain by Omkar
• 69,220 points
783 views
0 votes
1 answer

Hyperledger fabric: vagrant up in devenv fails

This is a problem with vagrant 1.9.3: You ...READ MORE

Oct 29, 2018 in Blockchain by Omkar
• 69,220 points
649 views
0 votes
1 answer

Web-scraping from Coinbase with Python (Pycharm)

Data that you want to scrape is ...READ MORE

Sep 4, 2018 in Blockchain by digger
• 26,740 points
3,003 views
0 votes
3 answers

python ethereum (pyethapp): Failed building wheel for scrypt.

First try installing sudo apt-get install openssl However, If ...READ MORE

Oct 12, 2018 in Blockchain by Girish
1,597 views
0 votes
1 answer

Integrating web3 in cloud functions module

I had this issue and my problem ...READ MORE

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

Blockchain: Installing an earlier version of ethereum using apt-get on

geth does not make the previous version available ...READ MORE

Oct 10, 2018 in Blockchain by Omkar
• 69,220 points
1,406 views
0 votes
1 answer

Nodejs cannot access Hyperledger composer shows error

1) you need Node 8.9.x or higher ...READ MORE

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

Unable to change a state variable in a contract

I am assuming that the issue is ...READ MORE

Oct 30, 2018 in Blockchain by Christine
• 15,790 points
550 views
0 votes
1 answer

How to read the ETH value and other token values from an account?

You can do this eth.accounts shows you all known ...READ MORE

Oct 22, 2018 in Blockchain by Omkar
• 69,220 points
864 views
0 votes
2 answers

Web socket API session automatically disconnecting

Yes, the code given by Christine works! ...READ MORE

Aug 29, 2018 in Blockchain by digger
• 26,740 points
3,166 views
+11 votes
4 answers

How do I create an ether wallet?

The Ethereum Wallet is a gateway to decentralized applications ...READ MORE

Sep 14, 2018 in Blockchain by Shiva
1,984 views
0 votes
1 answer

re hyperledger's node/sdk: there is no typing definition( index.d.ts )

Looks like a bug in that the ...READ MORE

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

Is the msg.sender address changed while passing to another contract as a parameter?

I tried your contracts in Remix, but ...READ MORE

Oct 10, 2018 in Blockchain by Omkar
• 69,220 points
1,367 views
0 votes
1 answer

Cant extract hyperledger artifacts

Simplify the PATH first. In a CMD, type: set PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\ set ...READ MORE

Oct 29, 2018 in Blockchain by Omkar
• 69,220 points
546 views
0 votes
1 answer

Invalid method parameters for eth_sendTransaction

params needs to be an array, try {"jsonrpc":"2.0","method":"eth_se ...READ MORE

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

Can't instantiate any chaincodes on peers of newly Added org

Seems like chaincode install may have been unsuccessful. Before ...READ MORE

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

Go ethereum: Gradle sync error

Try the below code : maven { ...READ MORE

Oct 24, 2018 in Blockchain by Omkar
• 69,220 points
720 views
+1 vote
1 answer

Using bccsp instance from chaincode

You can take a look at this code snippet. ...READ MORE

Oct 22, 2018 in Blockchain by Christine
• 15,790 points
760 views
0 votes
1 answer

Error when trying to deploy Ethereum smart contract using web3j

Create a new credential based on the Credentials.create ...READ MORE

Oct 3, 2018 in Blockchain by slayer
• 29,370 points
1,583 views
0 votes
4 answers

Unable to run truffle@2.1.2 migrate --network live. “Exceeds block gas limit”

A simple solution to avoid this is: module.exports ...READ MORE

Sep 28, 2018 in Blockchain by Ludo
1,756 views
+1 vote
3 answers

What is the pattern for handling throw on a Solidity contract in tests

In my opinion the cleanest way is: it("should ...READ MORE

Sep 25, 2018 in Blockchain by Lupin
1,816 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,370 points
2,115 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 ...READ MORE

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

Intrinsic gas too low and exceeds block limit

If you are talking about the public ...READ MORE

Aug 29, 2018 in Blockchain by digger
• 26,740 points
3,049 views
0 votes
1 answer

Mining in private net: Balance not increasing

Use this command to start miner: miner.start() To stop ...READ MORE

Oct 24, 2018 in Blockchain by Omkar
• 69,220 points
625 views