Most viewed questions in Blockchain

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,305 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,230 points
2,301 views
0 votes
1 answer

How to retain the container state after shutdown/restart of Hyperledger Fabric network?

In a Dev environment, you can first ...READ MORE

Jul 17, 2018 in Blockchain by slayer
• 29,350 points
2,298 views
0 votes
1 answer

Not able to install ganache

There is an alternative method. You can ...READ MORE

Feb 8, 2019 in Blockchain by Omkar
• 69,230 points
2,293 views
+1 vote
1 answer

How to create participant and there identities via rest API in Hyperledger Composer?

If you have already imported an Identity ...READ MORE

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

Uncaught ReferenceError: web3 is not defined at window.onload

I think the onload is giving the issue. Try this ...READ MORE

Sep 28, 2018 in Blockchain by slayer
• 29,350 points
2,281 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,269 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,700 points
2,264 views
0 votes
1 answer

Hyperledger Fabric: How to access transaction ID in invoke function?

You can access transaction ID in Invoke ...READ MORE

Nov 5, 2018 in Blockchain by Omkar
• 69,230 points
2,257 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,230 points
2,250 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,230 points
2,244 views
0 votes
2 answers

How to get notified when an event triggers on ethereum smart contract?

Muchas gracias. ?Como puedo iniciar sesion? READ MORE

May 2, 2020 in Blockchain by aqowcmbevs
2,235 views
0 votes
1 answer

Where does Hyperledger Fabric store the database for the Blockchain? [closed]

The Hyperledger Fabric stores the database in ...READ MORE

Jul 13, 2018 in Blockchain by Perry
• 17,100 points
2,232 views
0 votes
1 answer

Python request module for bitcoin json rpc

This should work: #!/usr/bin/env python import getpass import json import requests ...READ MORE

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

Unable to bring up first network in hyperledger fabric

I think there's a conflict with docker ...READ MORE

May 2, 2019 in Blockchain by Karan
2,228 views
0 votes
1 answer

NodeJS POST Request Over JSON-RPC

You're missing the --header option: curl --request POST \ ...READ MORE

Sep 28, 2018 in Blockchain by digger
• 26,740 points
2,223 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,230 points
2,219 views
–1 vote
1 answer

How to get balance of all accounts in ethereum network using javascript?

You can write a function that will ...READ MORE

Jan 10, 2019 in Blockchain by Omkar
• 69,230 points
2,214 views
0 votes
1 answer

Truffle init: throw er; // Unhandled 'error' event

Modified the cli.bundled.js: replaced https.request with request Diff: ...READ MORE

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

How to solve EACCES:permission denied error in Hyperledger Composer?

It seems like there is no required ...READ MORE

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

Hyperledger Fabric:Promise is rejected:Error:Failed to deserialize creator identity,The supplied identity is not valid.

 This error happens because basic-network/docker-compose.yaml has CA ...READ MORE

Nov 14, 2018 in Blockchain by Omkar
• 69,230 points
2,162 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,161 views
0 votes
1 answer

what coding language is this in for ethereum and does this work for trading if setup right?

Hi there, I dont know about ethereum, but ...READ MORE

Jan 4, 2021 in Blockchain by Achuth
• 150 points
2,159 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,230 points
2,156 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,230 points
2,146 views
0 votes
1 answer

How To Get BTC Price on Binance from Binance API

In the Script environment for Apps, the ...READ MORE

Feb 28, 2022 in Blockchain by Soham
• 9,700 points
2,141 views
0 votes
1 answer

BitcoinJ generate address from private key

Convert string private key into bytes[]: ECKey key = ...READ MORE

Sep 4, 2018 in Blockchain by slayer
• 29,350 points
2,141 views
+1 vote
1 answer

Can there be multiple Hyperledger Fabric CA servers in the same blockchain?

Yes, you can run multiple CA servers ...READ MORE

Jun 27, 2018 in Blockchain by Omkar
• 69,230 points
2,139 views
0 votes
1 answer

Hyperldger: Hyperledger Explorer not starting. Throws error

in "network-config" you should use lowercase 'org1' { ...READ MORE

Nov 8, 2018 in Blockchain by Omkar
• 69,230 points
2,138 views
0 votes
1 answer

Geth account password on command line

You've got the following two ways to create ...READ MORE

May 29, 2018 in Blockchain by Perry
• 17,100 points
2,130 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,910 points
2,128 views
+2 votes
2 answers

Can two chaincode interact with each other?

Yes, it is possible for two chaincodes ...READ MORE

Jul 12, 2018 in Blockchain by slayer
• 29,350 points
2,119 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,230 points
2,118 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,670 points
2,107 views
0 votes
1 answer

How would I run SpringBoot with the Java-SDK of Hyperledger Fabric java daemon?

I am not familiar with SpringBoot, but ...READ MORE

Jul 4, 2018 in Blockchain by aryya
• 7,450 points
2,104 views
+1 vote
3 answers

Pass all .dat files in folder to function

os.listdir(path) return names, not fullpaths change parseBlockFile(file) to fullpath = os.path.join(path,file) if os.path.isfile(fullpath) ...READ MORE

Sep 5, 2018 in Blockchain by Saygum
2,101 views
0 votes
1 answer

Bitcoin Wallet address validation using Json and bitcoin/blockexplorer.

The URL isn't returning JSON. So instead ...READ MORE

Aug 20, 2018 in Blockchain by slayer
• 29,350 points
2,093 views
0 votes
1 answer

Hyperledger Fabric: Upgrading Chaincode after modification

You need to specify the channel name ...READ MORE

Nov 13, 2018 in Blockchain by Omkar
• 69,230 points
2,085 views
0 votes
1 answer

Hyperledger Fabric :failed to send proposal to peers: Unable to resolve host peer0.org1

This peer address does not exist on ...READ MORE

Nov 16, 2018 in Blockchain by Omkar
• 69,230 points
2,084 views
+1 vote
1 answer

How do I check the history of my ethereum wallet using blockchain API?

f I understand well, you're looking for ...READ MORE

Aug 2, 2018 in Blockchain by Christine
• 15,790 points
2,084 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,072 views
0 votes
2 answers

web3 accounts coming undefined

Try this :  web3.eth.getAccounts() READ MORE

Jul 23, 2020 in Blockchain by Manas
• 150 points
2,053 views
0 votes
1 answer

How to install metamask?

MetaMask is a browser plugin, you install ...READ MORE

Feb 28, 2019 in Blockchain by Lakhan
2,053 views
0 votes
1 answer

Unable to enroll user in new org

The thing is by default, fabric-ca only has ...READ MORE

Aug 25, 2018 in Blockchain by Christine
• 15,790 points
2,052 views
0 votes
1 answer

How to create channels in Hyperledger Sawtooth?

There are two features that I know ...READ MORE

Aug 9, 2018 in Blockchain by slayer
• 29,350 points
2,041 views
0 votes
0 answers

Hyperledger Fabric: Errors in Deliver and Broadcast services

Hello, I have create successfully a multi-org, ...READ MORE

Feb 22, 2019 in Blockchain by Cha
2,040 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,350 points
2,033 views
+1 vote
1 answer

How to perform a simple 1-to-1 Bitcoin Transaction with Bitcore?

What is the argument utxos int the ...READ MORE

Jul 20, 2018 in Blockchain by charlie_brown
• 7,720 points
2,027 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 4, 2022 in Blockchain by Soham
• 9,700 points
2,020 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,230 points
2,014 views