Trending questions in Blockchain

0 votes
1 answer

Hyperledger Fabric: build error "files are missing SPDX-License-Identifier headers"

Try this: make peer orderer peer-docker orderer-docker tools-docker ...READ MORE

Oct 30, 2018 in Blockchain by Omkar
• 69,220 points
857 views
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
870 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
824 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
856 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
983 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
848 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,904 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,434 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
2,033 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,682 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,267 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
609 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
835 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,114 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
732 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
821 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,489 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
927 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,087 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
1,040 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
860 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,685 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,171 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,219 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,582 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
823 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
823 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,043 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
667 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
2,089 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,455 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,129 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
859 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
843 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
892 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,924 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
567 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,191 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,390 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,212 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
567 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,178 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
753 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,823 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,887 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
773 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,607 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,163 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
2,098 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,183 views