Trending questions in Blockchain

0 votes
1 answer

Hyperledger: How to retrieve properties of relationship through query?

I dont think its possible using query. ...READ MORE

Nov 8, 2018 in Blockchain by Omkar
• 69,220 points
889 views
+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
1,234 views
0 votes
2 answers

how to integrate coinbase api in php for transfer bitcoine

Here the code for php please have ...READ MORE

Sep 17, 2018 in Blockchain by Suresh
3,149 views
0 votes
1 answer

Hyperledger Composer: Query using relation

 you need to refer to your specific ...READ MORE

Nov 5, 2018 in Blockchain by Omkar
• 69,220 points
990 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,220 points
828 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,220 points
1,883 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,511 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
3,274 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,220 points
2,104 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,370 points
2,751 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,220 points
1,132 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,220 points
1,344 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,220 points
1,346 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,220 points
848 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,492 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,220 points
581 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,220 points
537 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,370 points
3,130 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,299 views
0 votes
2 answers

Modifiers in solidity

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

Oct 12, 2018 in Blockchain by Pulkit
2,080 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,562 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,220 points
1,084 views
+1 vote
1 answer

what is use of msg.sender in solidity code?

msg.sender(address) function indicated the sender of the ...READ MORE

Apr 25, 2018 in Blockchain by Shashank
• 10,400 points
9,185 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,481 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,220 points
909 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,220 points
1,979 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,220 points
1,674 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,220 points
1,018 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,370 points
2,400 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,220 points
583 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
703 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,220 points
1,655 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,383 views
+1 vote
1 answer

Getting Hash160 bitcoin address in python

There is a package to decode and ...READ MORE

Aug 24, 2018 in Blockchain by slayer
• 29,370 points
3,849 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,220 points
1,320 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,712 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,220 points
660 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
792 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,220 points
883 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,220 points
782 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,502 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,220 points
1,855 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,446 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,220 points
793 views
0 votes
2 answers

How do I interact with a smart contract on a private network through web3.js

I found a blog that explains how ...READ MORE

Aug 20, 2018 in Blockchain by slayer
• 29,370 points
3,964 views
0 votes
1 answer

Truffle migrate fails due to missing function, but it exists in node_modules

deployer.deploy(password1, password2, deadline, {value: 100, from: accounts[0]}); ...READ MORE

Oct 3, 2018 in Blockchain by digger
• 26,740 points
2,020 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
1,129 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,220 points
1,476 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,220 points
1,085 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,220 points
822 views