Most viewed questions in Blockchain

0 votes
1 answer

How to “unrecognized import path error” while using go for hyperledger fabric?

The solution to this problem is as ...READ MORE

Jul 27, 2018 in Blockchain by slayer
• 29,370 points
3,149 views
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,180 points
3,143 views
0 votes
1 answer

Coinbase API v2 Getting Historic Price for Multiple Days

Any reason you aren't using coinbase pro? The ...READ MORE

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

Calling function in truffle console error

Inside Truffle console ContractName.deployed().then(function(instance){app = instance}) app.adopt(23)//call method on ...READ MORE

Oct 10, 2018 in Blockchain by Omkar
• 69,180 points
3,130 views
0 votes
3 answers

Hyperledger-fabric not working with docker swarm

The issue is that the chaincode container ...READ MORE

Aug 21, 2018 in Blockchain by Perry
• 17,100 points
3,122 views
0 votes
1 answer

Module not found: Can't resolve './truffle-contract/build/contracts

Hey! Firstly, there seems to be a ...READ MORE

May 9, 2019 in Blockchain by Omkar
• 69,180 points
3,112 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
3,104 views
0 votes
1 answer

How to interact with smart contract in GO?

I am providing an example. Modify it ...READ MORE

Jul 26, 2018 in Blockchain by digger
• 26,740 points
3,102 views
–1 vote
1 answer

How to connect two different nodes in private ethereum network?

To connect two nodes, you can use ...READ MORE

Jan 10, 2019 in Blockchain by Omkar
• 69,180 points
3,093 views
0 votes
1 answer

Hyper Fabric: Error: CONNECTION_FAILED. Description: dialing connection timed out

The mapping is not set up right. ...READ MORE

Nov 9, 2018 in Blockchain by Omkar
• 69,180 points
3,086 views
0 votes
1 answer

Cant get a specific value in JSON/PHP

Convert the json-string to a php-array and ...READ MORE

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

Solidity Error: Exceeds block gas limit

Remove the line norpc:true and change the ...READ MORE

Jan 24, 2019 in Blockchain by Omkar
• 69,180 points
3,065 views
0 votes
1 answer

How to generate Bitcoin address in Ruby?

In your generate_address_from_public_key_hash method, the checksum should be over ...READ MORE

Aug 22, 2018 in Blockchain by slayer
• 29,370 points
3,061 views
+4 votes
2 answers

I am unable to connect Ganache with Truffle/Npm Dev server. Pls help.

The issue is at CurrentProvider. Give the url ...READ MORE

Mar 26, 2018 in Blockchain by Perry
• 17,100 points

edited Oct 11, 2018 by Omkar 3,055 views
+4 votes
2 answers

How do I create a new block in Hyperledger Fabric?

This link might help you: https://github.com/hyperledger/fabric-sample ...READ MORE

Oct 11, 2018 in Blockchain by Sahu
3,051 views
0 votes
1 answer

What is geth and solidity in Blockchain?

geth is a tool used to run a ...READ MORE

Jun 11, 2019 in Blockchain by Rishi
3,043 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,180 points
3,043 views
0 votes
1 answer

How to manually create the instance of the contract in truffle?

You can try to do it like ...READ MORE

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

How to solve rpc error: code = Unknown desc = timeout expired while starting chaincode error?

Rd service not working READ MORE

Sep 23, 2021 in Blockchain by Dinkar Kumar

edited Mar 5 3,030 views
0 votes
1 answer

Angular: How to display ngModel Object In Html Template?

You can use pipe as json on html page like this: {{ ...READ MORE

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

What does _ mean in solidity language?

The _ symbol is a place holder. ...READ MORE

Aug 10, 2018 in Blockchain by digger
• 26,740 points
3,020 views
0 votes
1 answer

Kubernetes: How to connect Node.js SDK to Hyperledger Fabric network?

Hey, @Piyusha, Looks like the network did not ...READ MORE

Nov 12, 2020 in Blockchain by Gitika
• 65,770 points
3,006 views
0 votes
1 answer
0 votes
1 answer

How to get all address and send ethers in solidity using a loop?

I found a similar code somewhere: contract  Holders{ uint ...READ MORE

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

eth.getBalance() always returns 0 in testnet

You are not connecting to the right ...READ MORE

Jul 24, 2018 in Blockchain by Christine
• 15,790 points
2,990 views
0 votes
1 answer

geth attach command showing error: bind: address already in use

Seems like there is already a geth instance ...READ MORE

Jan 16, 2019 in Blockchain by Omkar
• 69,180 points
2,987 views
0 votes
1 answer

How to visualize real-time data candlestick chart for cryptocurrencies?

Take a look at https://github.com/highfestiva/finplot. Where you can ...READ MORE

Apr 7, 2022 in Blockchain by Rahul
• 9,690 points
2,974 views
+1 vote
1 answer

Which data structure to prefer to model a blockchain?

To start with, let me tell you ...READ MORE

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

What are the differences between chain and state database in hyperledger fabric?

There are two place which "store" data ...READ MORE

Jul 11, 2018 in Blockchain by Shashank
• 10,400 points
2,949 views
0 votes
1 answer

How do I withdraw the balance from a contract on Ethereum test blockchain?

Your need to improvise your code a ...READ MORE

Aug 3, 2018 in Blockchain by Perry
• 17,100 points
2,942 views
0 votes
1 answer

Using json rpc with curl on java?

Quoting different pieces the way you're doing ...READ MORE

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

how to develop healthcare records using DApp on Blockchain?

Hi. As Healthcare will be a private ...READ MORE

Jul 26, 2019 in Blockchain by Esha
2,922 views
0 votes
1 answer

403 forbidden error coinbase api

I had a similiar issue connecting this API, ...READ MORE

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

Private ethereum network can not find geth.ipc

you will need to start your blockchain ...READ MORE

Oct 3, 2021 in Blockchain by Sudler

edited Mar 5 2,905 views
0 votes
1 answer

How to retrieve data from an Ethereum Block?

To get transaction details like Block Hash ...READ MORE

Jul 19, 2018 in Blockchain by Perry
• 17,100 points
2,903 views
+1 vote
1 answer

Hyperledger fabric java sdk setup

Suppose (assuming) you started the first network ...READ MORE

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

Hyperledger — how to set up REST API for invoking Chaincode?

Hyperledger Fabric v1.0 and later does not ...READ MORE

Nov 17, 2018 in Blockchain by Christine
• 15,790 points
2,894 views
–1 vote
1 answer

Problem adding peers to Ethereum private network

Seems like you have not created the ...READ MORE

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

Hyperledger Composer: Error: Error trying to start business network. Error: No valid responses from any peers.

You have to configure TLS in peers ...READ MORE

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

How to extract h160 address of bitcoin blockchain?

You can extract the data using the ...READ MORE

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

Error using EtherJS: this.provider.getTransactionCount is not a function

With this line it should work fine: wallet.provider ...READ MORE

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

How to run a Javascript in truffle console?

There are two ways to do this. You ...READ MORE

Jan 24, 2019 in Blockchain by Omkar
• 69,180 points
2,826 views
0 votes
1 answer

Intl.NumberFormat() does not show the Bitcoin Ƀ Symbol

According to bitcoin.it (https://en.bitcoin.it/wiki/Bitcoin_symbol), The ISO 4217 currency code for ...READ MORE

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

Cannot download nvm install v.8.9.1 version - clang checksum do not match, sed issue

Try a clean install of node again npm ...READ MORE

Jul 25, 2018 in Blockchain by charlie_brown
• 7,720 points
2,808 views
0 votes
0 answers

Error: Unexpected token o in JSON at position 1

I have been working with Interacting a ...READ MORE

Mar 6, 2019 in Blockchain by saeedi
• 120 points

edited Mar 6, 2019 by Omkar 2,805 views
0 votes
1 answer

Where does Hyperledger Fabric store the database for the Blockchain and where do i can see it and how?

Hyperledger fabric supports LevelDB and CouchDB as ...READ MORE

Apr 7, 2022 in Blockchain by Rahul
• 9,690 points
2,799 views
0 votes
1 answer

Truffle compile shows DeclarationError: Undeclared identifier.

Hey. You might have missed declaring the "myaddress"  ...READ MORE

Dec 4, 2018 in Blockchain by Omkar
• 69,180 points
2,794 views
0 votes
1 answer

How to call a payable contract function from truffle console?

You can use a contract function, on ...READ MORE

Jan 24, 2019 in Blockchain by Omkar
• 69,180 points
2,792 views