Most viewed questions in Blockchain

+1 vote
1 answer

Solidity: Sending ERC20 Tokens

You can try this code transferTokensTo: function(contract, address_from, ...READ MORE

Sep 26, 2018 in Blockchain by slayer
• 29,370 points
1,700 views
0 votes
1 answer

How to monitor Ethereum private network?

geth should be started with --metrics. try the ...READ MORE

Jul 11, 2018 in Blockchain by slayer
• 29,370 points
1,700 views
0 votes
2 answers

Can't get simple Coinbase button in Node to work

Coinbase sandbox is best to have when ...READ MORE

May 21, 2020 in Blockchain by anonymous
• 140 points
1,696 views
0 votes
1 answer

Hyperledger Fabric: Kafka can not establish a connection

Try this:  kafka1.hyperfabric.xyz: image: hyperledger/fabric-kafka restart: ...READ MORE

Nov 9, 2018 in Blockchain by Omkar
• 69,220 points
1,695 views
0 votes
1 answer

How do I calculate number of full nodes in bitcoins/altcoins?

You can not calculate/estimate the total number ...READ MORE

Jul 17, 2018 in Blockchain by Shashank
• 10,400 points
1,694 views
0 votes
1 answer

AWS multichain network, "Couldn't connect to the seed node" error

The error says "please check multichaind is ...READ MORE

Jul 9, 2018 in Blockchain by slayer
• 29,370 points
1,694 views
+4 votes
3 answers

What type of database is blockchain?

Blockchain is a distributed database. what makes ...READ MORE

Mar 30, 2018 in Blockchain by Christine
• 15,790 points
1,693 views
–1 vote
1 answer

How to import an account in private ethereum network?

 When you create a new account, the ...READ MORE

Jan 9, 2019 in Blockchain by Omkar
• 69,220 points
1,692 views
0 votes
1 answer

How to resolve Blockchain DNS using Python Requests?

Look at this example: import requests from random import ...READ MORE

Aug 22, 2018 in Blockchain by Christine
• 15,790 points
1,691 views
0 votes
0 answers

How to set chaincode path in Hyperledger Fabric in fabric.sh file

i set the path to chaincode in ...READ MORE

Mar 23, 2019 in Blockchain by Malik

retagged Mar 25, 2019 by Omkar 1,688 views
0 votes
1 answer

How to set miner threads outside geth console?

Yes, you can set the miner threads ...READ MORE

Jan 9, 2019 in Blockchain by Omkar
• 69,220 points
1,684 views
0 votes
1 answer

How to check peer connectivity in ethereum private network?

You can use the net module to check the ...READ MORE

Jan 10, 2019 in Blockchain by Omkar
• 69,220 points
1,683 views
0 votes
1 answer

"[RuntimeException] The "-t" option does not exist" error in Hyperledger composer.

This command runs on composer-cli. Have you ...READ MORE

Nov 21, 2018 in Blockchain by Omkar
• 69,220 points
1,683 views
0 votes
1 answer

Hyperledger Fabric: error on outputChannelCreateTx: Cannot define a new channel with no Application section

Try defining or referencing the application in ...READ MORE

Nov 2, 2018 in Blockchain by Omkar
• 69,220 points
1,679 views
0 votes
1 answer

Hyperledger Fabric ./byfn -m up not bringing up

Seems like you have not installed docker-compose. ...READ MORE

Nov 5, 2018 in Blockchain by Omkar
• 69,220 points
1,678 views
0 votes
1 answer

Poloniex C# API - get trades

Outputting the Trade will just show you ...READ MORE

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

Hyperledger Composer: not able to install Hyperledger composer-cli

Try setting the PATH like this, export PATH="/usr/local/share/npm/bin:$PATH" Now run the ...READ MORE

Oct 31, 2018 in Blockchain by Omkar
• 69,220 points
1,675 views
0 votes
1 answer

Hyperledger Fabric blockchain network from scratch

Try playing with configtx.yaml, crypto-config.yaml and docker-compose ...READ MORE

Apr 11, 2022 in Blockchain by Soham
• 9,710 points
1,671 views
0 votes
1 answer

PHP Bitcoin validate from form

isValid($addr, $version) $addr: A bitcoin address $version: The ...READ MORE

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

Hyperledger Fabric: "No go in PATH" error.

The error is because the go path ...READ MORE

Jun 27, 2018 in Blockchain by Omkar
• 69,220 points
1,671 views
+1 vote
1 answer

How do I create a relationship between list of suppliers and a single order in Hyperledger Composer

Is your transaction actually called 'OrderPlaced' (in ...READ MORE

Mar 28, 2018 in Blockchain by Johnathon
• 9,090 points
1,671 views
0 votes
1 answer

Where is the data stored in blockchain?

The smart contract is just the business ...READ MORE

Jun 29, 2018 in Blockchain by slayer
• 29,370 points
1,669 views
0 votes
1 answer

Command "network" is not defined. in hyperledger composer

For composer network to work, you must ...READ MORE

Nov 21, 2018 in Blockchain by Omkar
• 69,220 points
1,667 views
0 votes
1 answer

hyperledger composer network is not starting

Hey, @Sudip, First thing you need to start ...READ MORE

May 13, 2020 in Blockchain by Gitika
• 65,770 points
1,666 views
0 votes
1 answer

How do I develop a supply chain DApp on Blockchain?

Either of the ways is acceptable but ...READ MORE

May 30, 2018 in Blockchain by Perry
• 17,100 points
1,665 views
+1 vote
1 answer

how to create a voting Dapp ?!

If you want to create your own ...READ MORE

Aug 3, 2020 in Blockchain by moshbhavika
• 140 points
1,662 views
0 votes
1 answer

How to send events in Hyperledger Composer?

You define the event in your .cto ...READ MORE

Aug 25, 2018 in Blockchain by Perry
• 17,100 points
1,662 views
0 votes
1 answer

How to get the current price of a cryptocurrency on google sheets from coinmarketcap?

Your code does not appear to use ...READ MORE

Apr 12, 2022 in Blockchain by Soham
• 9,710 points
1,660 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,660 views
0 votes
2 answers

is there any way of getting all data in hyperledger fabric before we start the ledger

Hey, @Harinishree, You can also do one thing, ...READ MORE

Jun 4, 2020 in Blockchain by Gitika
• 65,770 points
1,658 views
+1 vote
0 answers

Metamask popup on Server side (Express js) ?

So I have this problem when i ...READ MORE

Jul 15, 2019 in Blockchain by Dzaky
• 130 points
1,658 views
0 votes
1 answer

How to interact with blockchain from web application?

You can use the Web3.js library to interact ...READ MORE

Jan 11, 2019 in Blockchain by Omkar
• 69,220 points
1,657 views
0 votes
1 answer

How to deploy Hyperledger-fabric V2.0 with SDK using kubernetes

Hi, @There, It involves several steps, most of ...READ MORE

Dec 18, 2020 in Blockchain by Gitika
• 65,770 points
1,656 views
0 votes
1 answer

Curl Script Usage in Ethereum Blockcypher's API

You should store and keep the private ...READ MORE

May 28, 2018 in Blockchain by Christine
• 15,790 points
1,655 views
0 votes
1 answer

Calling functions from other contracts solidity

This code worked for me: pragma solidity ^0.4.2; contract ...READ MORE

Sep 17, 2018 in Blockchain by digger
• 26,740 points
1,654 views
0 votes
2 answers

how save data from different account using web3.py to smart contract

Hey, @Amal, It will automatically take the address ...READ MORE

Jul 28, 2020 in Blockchain by Rajiv
• 8,870 points
1,653 views
0 votes
1 answer

Hyperledger Fabric: How to start/stop the fabric nodes?

This is another way to do it: docker ...READ MORE

Nov 15, 2018 in Blockchain by Omkar
• 69,220 points
1,650 views
0 votes
1 answer

How do I submit multiple transaction in a block?

There can only be one block at ...READ MORE

May 10, 2018 in Blockchain by Johnathon
• 9,090 points
1,649 views
0 votes
1 answer

How to round a number down to 8 decimal places if its over 8 decimal places in Javascript

Try it in this way: function nrOfDecimals(number) { ...READ MORE

Sep 12, 2018 in Blockchain by slayer
• 29,370 points
1,648 views
0 votes
1 answer

How to compute SHA256 hash for bitcoin header

header_hex = "02000000aaf8ab82362344f49083ee4edef795362cf135293564c4070000000000000000c009bb6222e9bc4cdb8f26b2e8a2f8d163509691a4038fa692abf9a474c9b21476800755c02e17181fe6c1c3" # Decode header hex into ...READ MORE

Aug 31, 2018 in Blockchain by digger
• 26,740 points
1,643 views
0 votes
0 answers

Attach two nodes on different machine via private blockchain (Ethereum)

I have seen many blogs regarding ways ...READ MORE

Jun 9, 2020 in Blockchain by Ritvik
• 120 points
1,640 views
0 votes
1 answer

SHA256 does not give expected result.

You're hashing the string when you're supposed ...READ MORE

Aug 24, 2018 in Blockchain by digger
• 26,740 points
1,638 views
0 votes
1 answer

How to create a new wallet on a blockchain?

Firstly, you need to have a clear ...READ MORE

Apr 4, 2018 in Blockchain by Christine
• 15,790 points
1,638 views
0 votes
1 answer

Difference between Fabric Composer and Hyperledger Composer?

They are basically the same thing. Fabric ...READ MORE

Aug 9, 2018 in Blockchain by digger
• 26,740 points
1,635 views
0 votes
1 answer

Cant Decode Bitcoin Base58 address to byte array

In your for-loop: for (int k = b256.Length ...READ MORE

Aug 21, 2018 in Blockchain by digger
• 26,740 points
1,629 views
0 votes
1 answer

obfuscating and deobfuscating a string in JavaScript

You can use btoa() and atob(). btoa() is like base64_encode() and atob() like base64_decode(). Here is an example: btoa('Some ...READ MORE

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

how to get modification history of asset?

You can use GetHistoryForKey() API as shown ...READ MORE

Jul 9, 2018 in Blockchain by digger
• 26,740 points
1,628 views
+2 votes
1 answer

What are the difference between various Hyperledger Projects?

Hyperledger incubates a plethora of business blockchain ...READ MORE

Mar 26, 2018 in Blockchain by Perry
• 17,100 points
1,628 views
0 votes
1 answer

Installing Multichain on Linux

To install Multichain in Linux, you first ...READ MORE

Mar 1, 2019 in Blockchain by Joshi
1,626 views
0 votes
1 answer

Solidity geth: Error encountered during contract execution [Bad instruction]

recipes is a dynamic storage array. You need ...READ MORE

Oct 15, 2018 in Blockchain by Omkar
• 69,220 points
1,621 views