Most viewed questions in Blockchain

0 votes
1 answer

My first Hyperledger fabric network is not working

Delete as admin the channel-artifacts folder, down ...READ MORE

Aug 10, 2018 in Blockchain by Johnathon
• 9,090 points
2,422 views
0 votes
1 answer

Hyperledger Fabric: How to create wallet using program?

You can do this by passing some ...READ MORE

Oct 31, 2018 in Blockchain by Omkar
• 69,180 points
2,421 views
0 votes
1 answer

Çannot implement web3.eth.subscribe on Web3 version 1.0.0-beta.27

As the error suggests, pub/sub is not ...READ MORE

Jun 19, 2018 in Blockchain by Perry
• 17,100 points

edited Jun 19, 2018 by Perry 2,421 views
0 votes
1 answer

Python Script to pull data from Blockchain JSON

Try this: print r.json()['address'],' has ', r.json()['n_tx'], 'tr ...READ MORE

Sep 14, 2018 in Blockchain by digger
• 26,740 points
2,420 views
+1 vote
2 answers

Hex to ASCII conversion shows wrong result.

Hey, I use the following code: public static ...READ MORE

Aug 21, 2018 in Blockchain by Omkar
• 69,180 points
2,415 views
0 votes
1 answer

What is the use of role when registering user in Hyperledger Fabric

When you register a user, that user ...READ MORE

May 2, 2019 in Blockchain by Raj
2,408 views
0 votes
1 answer

Bitcoinj send payment from a wallet

The problem actually was with the input ...READ MORE

Sep 6, 2018 in Blockchain by slayer
• 29,370 points
2,407 views
–1 vote
1 answer

User Identity Management in Ethereum using ERC725

The identity consists of two main parts: Keys ...READ MORE

Dec 28, 2018 in Blockchain by Omkar
• 69,180 points
2,405 views
+1 vote
2 answers

Not able to install Solidity in Ubuntu

As far as I can understand the ...READ MORE

Nov 26, 2019 in Blockchain by DeadShotOne96
2,405 views
0 votes
1 answer

How to get return value of external function?

You can do this. I have shared ...READ MORE

Aug 13, 2018 in Blockchain by digger
• 26,740 points
2,405 views
0 votes
1 answer

How to see bitcoin transaction info?

You can view foreign transactions using bitcoind. Set txindex=1 in ...READ MORE

Aug 17, 2018 in Blockchain by digger
• 26,740 points
2,403 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,400 views
0 votes
1 answer

Can I make my smart contract private in Quorum?

Yes, it is possible. You can look ...READ MORE

Jul 23, 2018 in Blockchain by slayer
• 29,370 points
2,397 views
+1 vote
1 answer

hyperledger fabric: can't find package: github.com/pkg/errors in GOPATH or GOROOT

Hey @aiga, try to add the package ...READ MORE

Aug 5, 2019 in Blockchain by Esha
2,387 views
0 votes
4 answers

Unable to run truffle@2.1.2 migrate --network live. “Exceeds block gas limit”

A simple solution to avoid this is: module.exports ...READ MORE

Sep 28, 2018 in Blockchain by Ludo
2,386 views
0 votes
1 answer

How to get value from solidity contract using java?

web3j caters for this very use case. It ...READ MORE

Sep 28, 2018 in Blockchain by slayer
• 29,370 points
2,382 views
–1 vote
1 answer

Miner in Ethereum Private network is hanging

Looking at your commands again, I figured ...READ MORE

Jan 17, 2019 in Blockchain by Omkar
• 69,180 points
2,377 views
+1 vote
2 answers

Hyperledger Composer: "No version of composer-cli has been detected" after global installation

I am also facing a similar issue, ...READ MORE

Sep 20, 2019 in Blockchain by sam
• 160 points
2,369 views
0 votes
1 answer

Hyperledger Fabric: orderer launching fails with error "panic: Error reading configuration:Unsupported Config Type"

The error says there's some problem finding ...READ MORE

Oct 30, 2018 in Blockchain by Omkar
• 69,180 points
2,367 views
0 votes
1 answer

Truffle tests not running after truffle init

This was a bug. They've fixed it. ...READ MORE

Sep 11, 2018 in Blockchain by Christine
• 15,750 points
2,362 views
–1 vote
1 answer

geth attach Fatal: Unable to attach to remote geth: no known transport for URL scheme "c"

Seems like geth.ipc path is not set. When ...READ MORE

Jan 17, 2019 in Blockchain by Omkar
• 69,180 points
2,361 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,180 points
2,361 views
0 votes
1 answer

safeTransferFrom does not transfer etherium to the target. ERC-721

I changed my contract buy function like ...READ MORE

Apr 7, 2022 in Blockchain by Rahul
• 9,690 points

edited Mar 13, 2023 by Gunashree 2,360 views
0 votes
1 answer

Go build fail, fatal error: rocksdb/c.h

I followed here and it is done. https://github.com/openblockchain/obc-peer/issues/885 Configure ...READ MORE

Sep 17, 2018 in Blockchain by slayer
• 29,370 points
2,359 views
0 votes
1 answer

Ethereum client-go RPC response 403 “invalid host specified”

Adding --rpcvhosts=* should solve the issue READ MORE

Oct 1, 2018 in Blockchain by slayer
• 29,370 points
2,353 views
0 votes
1 answer

How is consensus reached when there are only two peers in Hyperledger Fabric?

The consensus is achieved in the ordering ...READ MORE

Jul 5, 2018 in Blockchain by digger
• 26,740 points
2,353 views
0 votes
1 answer

jQuery/ajax - two separate API requests with combined results

You can move the second ajax call ...READ MORE

Jun 19, 2018 in Blockchain by aryya
• 7,460 points
2,352 views
+1 vote
1 answer

How can I connect to the specified nodes using IPFS?

You can actually connect to the specific ...READ MORE

Apr 25, 2018 in Blockchain by Christine
• 15,750 points
2,345 views
0 votes
1 answer

Test ethereum Event Logs with truffle

You are passing tx hash into done() ...READ MORE

Sep 21, 2018 in Blockchain by slayer
• 29,370 points
2,340 views
+1 vote
3 answers

What is the pattern for handling throw on a Solidity contract in tests

In my opinion the cleanest way is: it("should ...READ MORE

Sep 25, 2018 in Blockchain by Lupin
2,339 views
0 votes
1 answer

How to ensure data privacy in Hyperledger Fabric?

There are different ways data privacy in ...READ MORE

Jan 31, 2019 in Blockchain by Omkar
• 69,180 points
2,335 views
+1 vote
1 answer

How do i generate corda nodes keystores in dev mode?

In Corda, the node will look into ...READ MORE

Apr 11, 2018 in Blockchain by Perry
• 17,100 points
2,335 views
0 votes
1 answer

Stratum connection for bitcoin pool mining

After hours of tinkering around I have ...READ MORE

Apr 7, 2022 in Blockchain by Aditya
• 7,680 points
2,334 views
+1 vote
0 answers

How to check a Bitcoin wallet balance from first generated address (m/44'/0'/0'/0/0)

Is there a way to check a ...READ MORE

Mar 9, 2022 in Blockchain by Soham
• 9,730 points
2,333 views
+1 vote
1 answer

What is the best way to search for an item in blockchain?

All transactions and records in blockchain are ...READ MORE

Apr 21, 2018 in Blockchain by Perry
• 17,100 points
2,331 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,180 points
2,328 views
0 votes
0 answers

Cannot create genesis block?

When I try to create a genesis block ...READ MORE

Feb 27, 2019 in Blockchain by Tharindu
• 170 points

edited Feb 28, 2019 by Omkar 2,327 views
0 votes
1 answer

Hyperledger Fabric: How to retrieve result from Fabric Transaction?

invokeChainCode(securityContext, functionName, args, options) { ...READ MORE

Nov 8, 2018 in Blockchain by Omkar
• 69,180 points
2,326 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,180 points
2,324 views
0 votes
1 answer

Invalid method parameters for eth_sendTransaction

params needs to be an array, try {"jsonrpc":"2.0","method":"eth_se ...READ MORE

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

How to check history of blockchain.info wallet?

In the link you mentioned(https://blockchain.info/q), there are ...READ MORE

Jul 23, 2018 in Blockchain by slayer
• 29,370 points
2,322 views
0 votes
1 answer

Generate new Ethereum Wallet in NodeJS

 In its simplest form, the Ethereum wallet ...READ MORE

Apr 12, 2022 in Blockchain by Soham
• 9,730 points
2,321 views
0 votes
1 answer

How do transactions create a new block in Blockchain?

Bitcoin puts a cap of 2,400 transactions ...READ MORE

Aug 10, 2018 in Blockchain by Christine
• 15,750 points
2,320 views
0 votes
1 answer

sendProposal - timed out after:45000, sendPeersProposal - Promise is rejected: Error: REQUEST_TIMEOUT

You could simply replace --net=bridge with --net=artifacts_default in your DockerFile.  I used ...READ MORE

Jul 26, 2018 in Blockchain by Perry
• 17,100 points
2,314 views
0 votes
0 answers

Couldn't find network parameters file and compatibility zone wasn't configured/isn't reachable

After ran this command java -jar network-bootstrapper-VERSION.jar --dir <nodes-root-dir>.The files is generated.After ...READ MORE

Jun 20, 2019 in Blockchain by anonymous
2,312 views
0 votes
1 answer

What Regex to use to identify a Block Hash?

Blockhashes are always 64 characters in length. You ...READ MORE

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

How to create an instance of contract in Truffle console?

Hi, @There, I would suggest you go through ...READ MORE

Jun 17, 2020 in Blockchain by Gitika
• 65,730 points
2,310 views
0 votes
1 answer

Python Double hash SHA256

You can get the given hash by ...READ MORE

Aug 29, 2018 in Blockchain by slayer
• 29,370 points
2,308 views
0 votes
1 answer

Not Able to register a user with Hyperledger-Fabric v1.1 preview

The error: "Certificate not found with AKI 'e729224e8b3f31784c8a93c5b8ef6f4c1c91d9e6e577c45c33163609fe40011' ...READ MORE

Jun 16, 2018 in Blockchain by charlie_brown
• 7,720 points
2,303 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,750 points
2,300 views