Most viewed questions in Blockchain

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,244 views
0 votes
1 answer

How to connect a NS3 node to my local blockchain?

To connect all your nodes with all ...READ MORE

Jul 25, 2018 in Blockchain by digger
• 26,740 points
2,243 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,232 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 2,224 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,217 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,210 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,210 points
2,202 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,191 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,210 points
2,189 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,189 views
+4 votes
4 answers

How does the blockchain verification process work?

First of all, when someone creates a ...READ MORE

Mar 26, 2018 in Blockchain by Perry
• 17,100 points
2,181 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,180 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,210 points
2,179 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,170 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,166 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,210 points
2,165 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,210 points
2,151 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,148 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,141 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,110 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,104 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,095 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,210 points
2,093 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,210 points
2,093 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,210 points
2,091 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,210 points
2,082 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,210 points
2,072 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,057 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,054 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,210 points
2,045 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,043 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,039 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,036 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,210 points
2,034 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,029 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,026 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,210 points
2,018 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,018 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
1,999 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
1,991 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
1,972 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
1,972 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,210 points
1,969 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
1,965 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
1,963 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,210 points
1,957 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
1,956 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
1,954 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
1,945 views
0 votes
1 answer

Truffle dev says my function is not a function

It seems you are using truffle v5. ...READ MORE

Jan 24, 2019 in Blockchain by Omkar
• 69,210 points
1,941 views