Most voted questions in Blockchain

0 votes
1 answer

Where is the cryptogen tool in fabric?

Go in the fabric directory and then ...READ MORE

Oct 29, 2018 in Blockchain by Omkar
• 69,210 points
2,720 views
0 votes
1 answer

Hyperledger Fabric: cp: cannot stat ‘build/docker/gotools/bin/protoc-gen-go’: No such file or directory

Do this: $go get -u github.com/golang/protobuf/protoc-gen-go $ cp $GOPATH/bin/protoc-gen-go build/docker/gotools/bin/ Now ...READ MORE

Oct 29, 2018 in Blockchain by Omkar
• 69,210 points
1,646 views
0 votes
4 answers

Hyperledger Fabric: Error: 2 UNKNOWN: access denied: channel [contentbackchainchannel] creator org

Run the following command inside fabric-tools folder: ./teardownFabric.sh ./startFabric.sh ./createPeerAdminCard.sh Then ...READ MORE

Oct 29, 2018 in Blockchain by Omkar
• 69,210 points
4,665 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,210 points
453 views
0 votes
1 answer

Hyperledger-Composer: Error: Object with ID 'undefined' in collection with ID 'chaincodes' does not exist

First delete the cache and cookies from ...READ MORE

Oct 29, 2018 in Blockchain by Omkar
• 69,210 points
2,079 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,210 points
394 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
437 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
481 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,210 points
1,121 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,210 points
638 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,210 points
710 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,210 points
664 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,074 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,210 points
1,146 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,210 points
620 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,210 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,210 points
473 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,210 points
502 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,210 points
1,894 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,210 points
1,750 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,210 points
933 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
676 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,210 points
357 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,210 points
1,721 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,276 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
990 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
715 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
593 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,210 points
1,115 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,210 points
1,480 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,210 points
739 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,210 points
2,051 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,210 points
2,570 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,210 points
606 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,210 points
1,693 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,210 points
2,091 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,275 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,007 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,713 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
459 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
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,210 points
2,750 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,210 points
1,763 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,210 points
2,206 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,210 points
1,490 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,210 points
1,465 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,210 points
1,623 views