Most viewed questions in Blockchain

0 votes
1 answer

Bitcoinjs-lib getAddress not a function error

You need to pass network parameter to ...READ MORE

Aug 27, 2018 in Blockchain by slayer
• 29,350 points
1,575 views
0 votes
1 answer

How to request the data of only one cryptocurrency using CoinMarketCap api?

If you want to get the price ...READ MORE

Apr 7, 2022 in Blockchain by Aditya
• 7,680 points
1,571 views
0 votes
1 answer

Channel fails to create Hyperledger Fabric

Hi, @Sara, I guess this error is happening ...READ MORE

May 26, 2020 in Blockchain by Gitika
• 65,910 points
1,570 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,700 points
1,566 views
0 votes
1 answer

Error while trying to create dir if missing: mkdir /var/hyperledger: permission denied

The following commands should help: sudo mkdir -p ...READ MORE

Jul 6, 2018 in Blockchain by Christine
• 15,790 points
1,558 views
0 votes
1 answer

Send Payment error in Blockchain API

The following code should help: $address = null; try ...READ MORE

Jul 6, 2018 in Blockchain by Perry
• 17,100 points
1,557 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,556 views
0 votes
1 answer

Accessing External Api in HyperLedger Fabric

Generally you are not supposed to call ...READ MORE

Nov 17, 2018 in Blockchain by Christine
• 15,790 points
1,554 views
+1 vote
0 answers

Error 500 during instantiation of chaincode for commercial-paper example. [closed]

I am following this tutorial on setting ...READ MORE

Jan 9, 2020 in Blockchain by Aditya
• 250 points

reshown Jan 9, 2020 by Kalgi 1,546 views
0 votes
1 answer

Hyperledger Fabric: PEM encoded certificate is required.

Hey, the syntax you are using is ...READ MORE

Nov 5, 2018 in Blockchain by Omkar
• 69,210 points
1,546 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,210 points
1,536 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
1,534 views
0 votes
1 answer

How to select a single account in Ganache?

When you use web3, selecting a single ...READ MORE

Feb 5, 2019 in Blockchain by Omkar
• 69,210 points
1,526 views
0 votes
1 answer

How to register a user in Hyperledger Fabric?

Best practice would be to leverage an ...READ MORE

Sep 5, 2018 in Blockchain by Christine
• 15,790 points
1,526 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
1,523 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
1,522 views
0 votes
2 answers

Code to change owner

Hi, @Wilson, U have to write the require ...READ MORE

Oct 5, 2020 in Blockchain by Rajiv
• 8,910 points
1,519 views
0 votes
1 answer

How to get Node URL in private ethereum network?

You have already noticed that  admin.peers does ...READ MORE

Jan 10, 2019 in Blockchain by Omkar
• 69,210 points
1,504 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
1,500 views
0 votes
1 answer

How can I call a contract from another contract?

There are two ways to solve this. ...READ MORE

Jan 23, 2019 in Blockchain by Omkar
• 69,210 points
1,499 views
0 votes
2 answers

Hyperledger sawtooth installation: No connectivity between host computer and docker container

Check the ip used by docker. If ...READ MORE

Jan 21, 2019 in Blockchain by Bhavana
1,498 views
0 votes
1 answer

Hyperledger Docker: Error building images: cannot connect to Docker endpoint.

Check your container environment variable: CORE_VM_ENDPOINT=unix:///var/run/docker.sock Then if you ...READ MORE

Nov 15, 2018 in Blockchain by Omkar
• 69,210 points
1,497 views
+1 vote
1 answer

Error while sending a transaction from Web3py to a Smart Contract in Remix

You get the revert error when a ...READ MORE

Dec 12, 2019 in Blockchain by Vivek
1,495 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,790 points
1,492 views
0 votes
1 answer

In Ethereum Solidity, what is the purpose of the “memory” keyword?

Without the memory keyword, Solidity tries to declare variables ...READ MORE

Nov 15, 2018 in Blockchain by Perry
• 17,100 points
1,491 views
+2 votes
1 answer

What are the wallet path credentials for Web3j?

Follow the below steps: Go to the private ...READ MORE

Aug 2, 2018 in Blockchain by Omkar
• 69,210 points
1,487 views
0 votes
1 answer

How to get account with ethers by default in ethereum private network?

Have you created an account before allocating ...READ MORE

Jan 9, 2019 in Blockchain by Omkar
• 69,210 points
1,485 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
1,482 views
0 votes
1 answer

Is it possible to send eth to a contract through its constructor from another contract?

I found the solution for this: pragma solidity ...READ MORE

Sep 26, 2018 in Blockchain by slayer
• 29,350 points
1,482 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
1,475 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,469 views
0 votes
1 answer

Connection failed to Ethereum Ropsten Testnet network.

 It looks like your node isn't syncing ...READ MORE

Mar 27, 2018 in Blockchain by Christine
• 15,790 points
1,467 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,350 points
1,464 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,210 points
1,463 views
0 votes
1 answer

Error: Error trying to ping. Error: Error trying to query business network. Error: Connect Failed

Run the following commandbefore updating: composer network start ...READ MORE

Jun 28, 2018 in Blockchain by Perry
• 17,100 points
1,463 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,350 points
1,462 views
+1 vote
2 answers
0 votes
1 answer

My account is already an administrator but its giving the an error on denial of permission

Hi, @There, You can try this in your ...READ MORE

Jun 17, 2020 in Blockchain by Gitika
• 65,910 points
1,451 views
0 votes
1 answer

How do I start mining on my private chain?

You could try deleting the datadir/.etash and ...READ MORE

Jul 13, 2018 in Blockchain by Christine
• 15,790 points
1,450 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,443 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,442 views
0 votes
1 answer

Is there a way to get a trade history report from the Bitfinex API?

You can still fetch your private trades ...READ MORE

Aug 30, 2018 in Blockchain by Perry
• 17,100 points
1,441 views
0 votes
2 answers

Creating a private/public key with 64 characters that are already known using bitcoinjs

//public-key var address = eckey.getBitcoinAddress().toString(); var privateKeyBytesCompressed = privateKeyBytes.slice(0); ...READ MORE

Sep 10, 2018 in Blockchain by Misty
1,437 views
0 votes
1 answer

“Error getting chaincode package bytes” when deploying chaincode on hyperledger via REST

Considering that you are playing with Bluemix ...READ MORE

Aug 3, 2018 in Blockchain by charlie_brown
• 7,720 points
1,437 views
0 votes
1 answer

Hyperledger Composer: How to retrieve array of assets?

This is what worked for me: asset Ask ...READ MORE

Nov 14, 2018 in Blockchain by Omkar
• 69,210 points
1,436 views
0 votes
2 answers

Laravel 5.4 to get data form API response

Input::get('var_name') READ MORE

Feb 14, 2019 in Blockchain by anonymous
1,431 views
0 votes
1 answer

Hyperledger error while installing binaries

This seems like a problem with the ...READ MORE

Aug 9, 2018 in Blockchain by digger
• 26,740 points
1,431 views
+11 votes
4 answers

How do I create an ether wallet?

The Ethereum Wallet is a gateway to decentralized applications ...READ MORE

Sep 14, 2018 in Blockchain by Shiva
1,430 views
0 votes
1 answer

Getting wrong result from SHA256 than what is expected

It's just an encoding issue - don't ...READ MORE

Sep 6, 2018 in Blockchain by digger
• 26,740 points
1,430 views
0 votes
1 answer

Web3 ethereum miner_start not implemented.

You have to first enable "miner" API ...READ MORE

Aug 24, 2018 in Blockchain by digger
• 26,740 points
1,429 views