Trending questions in Blockchain

0 votes
1 answer

Ethereum: Cloning cpp-ethereum from git.

Yes, you can only clone the additional ...READ MORE

Nov 19, 2018 in Blockchain by Omkar
• 69,220 points
904 views
0 votes
1 answer

Hyperledger Composer: How to Update Existing Assets?

get on an asset registry returns a ...READ MORE

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

How do I initialize an array in a struct

You need to manually change the length ...READ MORE

Oct 1, 2018 in Blockchain by Perry
• 17,100 points
3,010 views
+1 vote
1 answer

Error while instantiating chaincode

Hey @Vikas!  The error says, dial unix /host/var/run/docker.sock: connect: ...READ MORE

Nov 6, 2018 in Blockchain by Omkar
• 69,220 points
1,409 views
0 votes
1 answer

Getting “web3.eth.filter is not a function” while trying to monitor Ethereum blocks

It appears you are using web3.js v1.0. ...READ MORE

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

Hyperledger composer: Not able to issue identities from a Business network.

To specify your own affiliation you need ...READ MORE

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

Hyperledger Fabric ./byfn -m up not bringing up

Seems like you have not installed docker-compose. ...READ MORE

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

Hyperledger Fabric: Changing component item owner automatically with its parent

You can try something like this: /** * ...READ MORE

Nov 16, 2018 in Blockchain by Omkar
• 69,220 points
995 views
0 votes
1 answer

Hyperledger Fabric: Could not resolve all dependencies for configuration

First, build the chaincode using gradle build. You should ...READ MORE

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

Can't call contract function in truffle console

Inspect the object adoption within the console. You will ...READ MORE

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

Hyperledher: How to convert formControlName value to JSON Format?

<textarea [ngModel]="offers[0] | json" formControlName="offers" class="form- ...READ MORE

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

Hyperledger Fabric: error on outputChannelCreateTx: Cannot define a new channel with no Application section

Try defining or referencing the application in ...READ MORE

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

Hyperledger Fabric: How to give full read access to all participants?

To do this, you must first provide ...READ MORE

Nov 9, 2018 in Blockchain by Omkar
• 69,220 points
1,256 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,370 points
3,360 views
0 votes
1 answer

Ethereum Node Connection: TypeError: Cannot read property 'version' of undefined

In the code that you are using ...READ MORE

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

Truffle init: Error: Cannot find module 'original-require'

I think you need to run this ...READ MORE

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

Hyperledger Fabric query system chaincode using node SDK

The Fabric Node SDK actually provides a ...READ MORE

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

Web3: No provider set error

To solve this error, you need to ...READ MORE

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

Can not make a peer in Hyperledger Fabric

You have not installed jdk on your system. ...READ MORE

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

Hyperledger Composer: Error: Object with ID 'assetID:0138' in collection with ID 'Asset:org.acme.mynetwork.Sensor'

Remove 'assetID:' from your test string. For example, 'org.acme.mynetwork#assetID:0138' ...READ MORE

Nov 14, 2018 in Blockchain by Omkar
• 69,220 points
964 views
0 votes
1 answer

Hyperledger Composer: not able to install Hyperledger composer-cli

Try setting the PATH like this, export PATH="/usr/local/share/npm/bin:$PATH" Now run the ...READ MORE

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

Hyperledger Composer: How to subscribe to and see events from transactions?

Here's the problem: this.businessNetworkConnection.on('events' //This should be changed ...READ MORE

Nov 14, 2018 in Blockchain by Omkar
• 69,220 points
949 views
0 votes
1 answer

Truffle Compile failing, ParserError: Expected token LParen got Identifier function

Your parentheses are mismatched. pragma solidity ^0.4.17; import "truffle/Assert.sol"; import ...READ MORE

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

Hyperledger Fabric: How to ping network using program?

// http://nodejs.org/api.html#_child_processes var sys = require('sys') var exec = ...READ MORE

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

Hyperledger Fabric: Error: Error getting (myc) orderer endpoint: Error endorsing GetConfigBlock

First of all please note, that during ...READ MORE

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

How to connect channels of different systems in Hyperledger Fabric?

When you create a channel, you will ...READ MORE

Nov 20, 2018 in Blockchain by Omkar
• 69,220 points
643 views
0 votes
1 answer

Hyperledger Composer: How to specify server name in composer connection profile?

To solve this problem you can use ...READ MORE

Nov 14, 2018 in Blockchain by Omkar
• 69,220 points
901 views
0 votes
1 answer

Hyperledger Fabric: unable to check out source code from gerrit.hyperledger.org

There's something wrong with your SSH key. ...READ MORE

Nov 15, 2018 in Blockchain by Omkar
• 69,220 points
857 views
+2 votes
1 answer

How to solve “SyntaxError: unexpected EOF” error in python?

There is not a problem in the ...READ MORE

Jul 30, 2018 in Blockchain by slayer
• 29,370 points
5,462 views
0 votes
1 answer

Error With Rest Server: HyperLedger

It's a trivial issue mate - you're ...READ MORE

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

Hyperledger Fabric: Cannot update chaincode

First, stop and delete all the containers: docker ...READ MORE

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

What files are supported by BigchainDB?

BigchainDB supports .json file format. It can ...READ MORE

Feb 26, 2019 in Blockchain by anonymous
565 views
0 votes
1 answer

Hyperledger composer: runtime install error card not found peerAdmin

The right way to do it is: downloadFabric.sh startFabric.sh createPeerAdminCard.sh If ...READ MORE

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

PHP IPC with geth Ethereum: How to communicate with client?

You have to use PHP Sockets $sock = socket_create(AF_UNIX, ...READ MORE

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

How to get ethereum contract public variables?

You need to use call method, it ...READ MORE

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

Hyperledger Fabric: peer creation no ordering service endpoint created error

You have to pass an orderer in ...READ MORE

Nov 15, 2018 in Blockchain by Omkar
• 69,220 points
709 views
0 votes
1 answer

Hyperledger Fabric: How to convert channel.tx artifact into json?

You can use configtxgen to do this: configtxgen ...READ MORE

Nov 8, 2018 in Blockchain by Omkar
• 69,220 points
1,000 views
0 votes
1 answer

How to make Observable from callback?

RxJS includes a bindNodeCallback observable creator specifically for creating ...READ MORE

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

Cannot access web3 object with typescript and ethereum

You still need to instantiate it first. ...READ MORE

Sep 25, 2018 in Blockchain by slayer
• 29,370 points
2,886 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,370 points
2,747 views
0 votes
1 answer

Hyperledger: Not able to connect from docker container to validator. curl http://rest-api:8008/blocks

The REST API service is exposed on ...READ MORE

Nov 2, 2018 in Blockchain by Omkar
• 69,220 points
1,233 views
+4 votes
2 answers

Warning: Invoking events without “emit” prefix is deprecated while truffle compile

As the warning mentions, add emit as ...READ MORE

Oct 16, 2018 in Blockchain by Aisha
1,785 views
0 votes
1 answer

Hyperledger composer: How to allow create in transaction? Access Control

This is how you can do it: /** @returns ...READ MORE

Nov 8, 2018 in Blockchain by Omkar
• 69,220 points
949 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,370 points
3,104 views
0 votes
1 answer

How can I send data to docker?

Whenever i invoke chaincode from the cli ...READ MORE

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

How to handle smart contract transaction express nodejs?

sendSignedTransaction returns a Promise combined event emitter. You can ...READ MORE

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

Ethereum Error: authentication needed: password or unlock

First, make sure you have an account. web3.personal.listAccounts If ...READ MORE

Aug 8, 2018 in Blockchain by Omkar
• 69,220 points
5,258 views
0 votes
1 answer
0 votes
1 answer

Angular 4, typescript Assign interface property to variable

The first thing worth noting is that ...READ MORE

Aug 27, 2018 in Blockchain by slayer
• 29,370 points
4,045 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,217 views