Trending questions in Blockchain

+1 vote
1 answer

HyperLedger-Fabric: "Error unmarshalling chaincode request payload: illegal base64 data at input byte 0"

The function name should be in Args ...READ MORE

Oct 30, 2018 in Blockchain by Sumanth
992 views
0 votes
1 answer

Docker: How to connect Node.js in container to Hyperledger Fabric?

You need to map ~/.composer/cards of your Docker host ...READ MORE

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

Hyperledger Fabric v1.0 setup on multiple machines

You would be able to host hyperledger fabric ...READ MORE

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

Hyperledger Composer: Not able to query fabric.

Add another rule to .acl file to ...READ MORE

Nov 12, 2018 in Blockchain by Omkar
• 69,230 points
448 views
0 votes
1 answer

Ethereum nodejs: Contract address returning as undefined in console

As per the documentation, if you deploy the ...READ MORE

Oct 15, 2018 in Blockchain by Omkar
• 69,230 points
1,644 views
0 votes
1 answer

Hyperledger Composer: How to update a contract after it is saved?

Try this and see if this works: /** * ...READ MORE

Nov 9, 2018 in Blockchain by Omkar
• 69,230 points
561 views
0 votes
1 answer

How to get TimeStamps in Hyperledger Composer?

Here's an example that works with basic-sample-network network: asset SampleAsset ...READ MORE

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

Hyperledger Farbic: Deploying business network definition

Try to clean everything using the below ...READ MORE

Nov 13, 2018 in Blockchain by Omkar
• 69,230 points
375 views
0 votes
1 answer

Hyperledger Fabric: Cant create channel on peer

Add host entries to your /etc/hosts should resolve your ...READ MORE

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

Add Peers does not add a peer in Geth console

Setup actual boot node, don't treat base ...READ MORE

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

Hyperledger on Kubernetes - How can Kubernetes be aware of Chaincode container

I have been investigating the same issue ...READ MORE

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

Hyperledger Composer: REST Server transaction failed but returns 200 status

You need to return the function calls from the ...READ MORE

Nov 6, 2018 in Blockchain by Omkar
• 69,230 points
635 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,488 views
0 votes
1 answer

Hyperledger fabcar: node enrollAdmin.js error

Update the node: npm rebuild and then run ...READ MORE

Oct 26, 2018 in Blockchain by anonymous
1,101 views
0 votes
1 answer

Hyperledger Fabric SDK Design/Role of the application

When invoking functions, it has to be ...READ MORE

Nov 6, 2018 in Blockchain by Perry
• 17,100 points
610 views
0 votes
1 answer

Hyperledger Composer: Failed to load connector module “composer-connector-undefined” for connection type “undefined”

Hey. First, make sure that you are extending ...READ MORE

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

Access multiple return values (a, b, c) from solidity function in web3js

You'll get an array of return values ...READ MORE

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

Ethereum: functions Burn and Transfer source

This statement is used to publish an event that ...READ MORE

Oct 9, 2018 in Blockchain by Omkar
• 69,230 points
1,813 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,653 views
0 votes
1 answer

Uncaught ReferenceError: web3 is not defined at window.onload

I think the onload is giving the issue. Try this ...READ MORE

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

Setting up Hyperledger Fabric Application with IBM Cloud.

You have to develop your "Client" application ...READ MORE

Nov 6, 2018 in Blockchain by Perry
• 17,100 points
547 views
0 votes
1 answer

Ethereum solidity: Unable to get value from another contract

I have faced similar issues when compiling ...READ MORE

Oct 15, 2018 in Blockchain by Omkar
• 69,230 points
1,506 views
0 votes
2 answers

Modifiers in solidity

pragma solidity ^0.4.17; contract ModifiersTutorial { ...READ MORE

Oct 12, 2018 in Blockchain by Pulkit
1,826 views
0 votes
1 answer

Hyperledger Fabric: Not able to install docker

Clean up the invalid package repository: cd ../../etc/apt/sources.list.d sudo ...READ MORE

Nov 2, 2018 in Blockchain by Omkar
• 69,230 points
716 views
0 votes
1 answer

Solidity: logical AND outputs parser error

Its Syntax error logical and operator is ...READ MORE

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

Ethereum, web3, Error: invalid argument 0: cannot unmarshal non-string as hex data, when I call a contract

I have the same problem. But with ...READ MORE

Oct 8, 2018 in Blockchain by Omkar
• 69,230 points
1,794 views
0 votes
1 answer

Converting 5e-08 to decimal in PHP

Use printf with the appropriate format specifier: printf("%.8f", 5 / ...READ MORE

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

What is the default network that truffle migrates to when the config has 2 networks?

If --network is unspecified, it deploys to only development. You ...READ MORE

Oct 15, 2018 in Blockchain by Omkar
• 69,230 points
1,480 views
0 votes
1 answer

Hyperledger Composer: How to query using string?

You can try this: query selectReading { ...READ MORE

Nov 9, 2018 in Blockchain by Omkar
• 69,230 points
394 views
0 votes
1 answer

NodeJS POST Request Over JSON-RPC

You're missing the --header option: curl --request POST \ ...READ MORE

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

Error using EtherJS: this.provider.getTransactionCount is not a function

With this line it should work fine: wallet.provider ...READ MORE

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

Hyperledger fabric: Unable to query result

In Hyperledger Fabric v1.0.0 your chaincode should confirm ...READ MORE

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

Ethereum truffle MetaCoin : 'intrinsic gas too low' error

Change the genesis block gasLimit to "gasLimit": "0x2FEFD800", config ...READ MORE

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

Can I execute distributions in ERC20 tokens on a later stage?

It is best to have a claim ...READ MORE

Nov 2, 2018 in Blockchain by Prerna
• 1,960 points
647 views
0 votes
1 answer

Can one contract own tokens of another contract?

Yes, contracts can own tokens. The transaction you ...READ MORE

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

Hyperledger Fabric: cannot run chaincode from github on Ubuntu terminal

Like the error says: *SimpleChaincode does not implement ...READ MORE

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

Hyperledger composer: network start gives no output

You are using -v as your option ...READ MORE

Nov 5, 2018 in Blockchain by Omkar
• 69,230 points
469 views
0 votes
1 answer

Truffle init: throw er; // Unhandled 'error' event

Modified the cli.bundled.js: replaced https.request with request Diff: ...READ MORE

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

Get specific JSON data value using array from Coin Market Cap API

use inArray function. example: $.getJSON("//api.coinmarketcap.com/v1/ticker/?limit=0", function(data) { ...READ MORE

Oct 8, 2018 in Blockchain by Omkar
• 69,230 points
1,676 views
0 votes
1 answer

Hyperledger fabric: curl not working to invoke chaincode

Hyperledger Fabric does not offer a REST ...READ MORE

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

HyperLedger Composer: Failed to load connector module “composer-connector-embedded” for connection profile “testprofile”

First, update your devDependencies in package.json "devDependencies": { ... "composer-admin": ...READ MORE

Nov 2, 2018 in Blockchain by Omkar
• 69,230 points
573 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,230 points
730 views
0 votes
1 answer

Ethereum Mist: Compiling Error with sha3

First run: npm install sha3 and then sudo ...READ MORE

Oct 24, 2018 in Blockchain by Omkar
• 69,230 points
944 views
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,230 points
660 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
686 views
0 votes
1 answer

Stuck while using call_back_address and ipn url in coinpayment.net gateway

To make use of this api, just ...READ MORE

Aug 31, 2018 in Blockchain by digger
• 26,740 points
3,246 views
+3 votes
1 answer

When I ran truffle init, I got this error:

Hey there @Davidala! The error says that it ...READ MORE

Oct 29, 2018 in Blockchain by Omkar
• 69,230 points
563 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,230 points
678 views
0 votes
1 answer

Solidity geth: Error encountered during contract execution [Bad instruction]

recipes is a dynamic storage array. You need ...READ MORE

Oct 15, 2018 in Blockchain by Omkar
• 69,230 points
1,276 views
0 votes
1 answer

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

The channel.sendTransactionProposal generates a Resp ...READ MORE

Oct 30, 2018 in Blockchain by Omkar
• 69,230 points
621 views