Latest questions in Blockchain

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,128 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,230 points
642 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,230 points
716 views
0 votes
1 answer
0 votes
2 answers

Hyperledger: ./byfn.sh -m up gives error

just follow those steps: docker ps -aq ...READ MORE

Oct 21, 2020 in Blockchain by anonymous
1,070 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,230 points
667 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,080 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,148 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,230 points
626 views
+1 vote
4 answers

Hyperledger: Cannot compile chaincode, cannot find package error

As the error says, it cant find ...READ MORE

Oct 26, 2018 in Blockchain by Omkar
• 69,230 points
12,041 views
+1 vote
5 answers

Hyperledger Fabric: Error cryptogen tool

I got same error on Windows.  The solution ...READ MORE

Oct 25, 2018 in Blockchain by Mahesh
3,172 views
0 votes
1 answer

Hyperledger Composer Incompatible versions error

The versions are same. Maybe its a ...READ MORE

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

How to run smart contract function using nethereum to return a result?

Try this: var result = getUserAtIndex.CallAsync<byte[]>(123) ...READ MORE

Oct 24, 2018 in Blockchain by Omkar
• 69,230 points
1,900 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,230 points
1,758 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
937 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,350 points
683 views
0 votes
1 answer

Ethereum serpent version conflict error.

Upgrade to the lastest version of ethereum-serpent ...READ MORE

Oct 24, 2018 in Blockchain by Omkar
• 69,230 points
358 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,230 points
1,725 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,281 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
991 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
717 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
600 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,118 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,230 points
1,487 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,230 points
741 views
0 votes
1 answer

Web3js: how to catch ethereum contract exception?

try this: try{ Test test = Test.load(contractObj.getContractAddress(), ...READ MORE

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

Solidity Web3js: Invalid number of arguments to Solidity function error

Try this: Change console.log(formData.destinationtoke); console.log(formData.amounttoke); var tx = sendtoken(destinationtoke, amounttoke); To : console.log(formData.destinationtoke); console.log(formData.amounttoke); var ...READ MORE

Oct 22, 2018 in Blockchain by Omkar
• 69,230 points
2,574 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,230 points
615 views
+1 vote
4 answers

Installing Nodejs: sh: node: command not found error

You have to first install nodejs and ...READ MORE

Oct 22, 2018 in Blockchain by Omkar
• 69,230 points
25,038 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,230 points
1,702 views
+1 vote
3 answers

Not able to read a file from my assets folder

Hi.. I faced a similar problem in ...READ MORE

Oct 25, 2018 in Blockchain by Shrikanth
6,520 views
0 votes
1 answer

Solidity: How to return id from hash value?

You can do it by storing the hash ...READ MORE

Oct 22, 2018 in Blockchain by Omkar
• 69,230 points
2,097 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
595 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,276 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,321 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,012 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,722 views
+1 vote
1 answer

Return array of struct from a solidity function: "Expected type name function getPurchaseOrderForVendor" error

There's a typo in your code. The ...READ MORE

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

sellprice and buyprice fixing in smart contract.

It is due to the fact you ...READ MORE

Oct 17, 2018 in Blockchain by Christine
• 15,790 points
460 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
993 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,574 views
0 votes
1 answer

How to set the hex-encoded data field in a Web3j Ethereum transaction?

You can use the "data" field of ...READ MORE

Oct 15, 2018 in Blockchain by Omkar
• 69,230 points
2,755 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,230 points
1,769 views
0 votes
1 answer

Ethereum nodejs: Unhandled rejection Error: Invalid JSON RPC response

gasLimit is actually represented by gas as the gas limiter ...READ MORE

Oct 15, 2018 in Blockchain by Omkar
• 69,230 points
2,210 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,493 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,466 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,628 views
0 votes
1 answer

How to save complex object in the contract in solidity

You can't pass objects when initiating a ...READ MORE

Oct 15, 2018 in Blockchain by Omkar
• 69,230 points
3,342 views