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

0 votes
I have a hyperledger fabric network setup on my local machine with a single validating node.and I'm initiating a simple transaction, and my doubt is where the data will store? (according to my knowledge it will store in CouchDB) and how can I access the data and where I can see that database in the local machine?
Apr 5, 2022 in Blockchain by Aditya
• 7,680 points
1,978 views

1 answer to this question.

0 votes

Hyperledger fabric supports LevelDB and CouchDB as state databases, LevelDB is the default state database embedded in the peer process and stores chaincode data as key-value pairs. CouchDB is an optional alternative external state database that provides additional query support when your chaincode data is modelled as JSON, permitting rich queries of the JSON content. If you're using CouchDB as your state database you can use a built-in administration interface to see the records, in your browser try to access http://localhost:5984/_utils/ here 5984 is the default port for CouchDB.

Hope this helps!

Check out this blockchain developer course to learn more!

answered Apr 7, 2022 by Rahul
• 9,670 points

Related Questions In Blockchain

+1 vote
4 answers

Where does hyperledger fabric store the database for the blockchain?

The data of the Hyperledger Blockchain is ...READ MORE

answered Apr 29, 2019 in Blockchain by Tina
2,564 views
0 votes
1 answer

Where does Hyperledger Fabric store the database for the Blockchain?

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

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

Where can I find the reference format for crypto-config.yaml and configtx.yaml Hyperledger Fabric files?

The sample config files in the Hyperledger Fabric main ...READ MORE

answered Jun 27, 2018 in Blockchain by aryya
• 7,450 points
1,171 views
+2 votes
2 answers

How can I traverse the blocks of transactions in hyperledger fabric?

For hyperledger fabric you can use query ...READ MORE

answered May 8, 2018 in Blockchain by Rachel
5,076 views
0 votes
1 answer

Hyperledger Sawtooth vs Quorum in concurrency and speed Ask

Summary: Both should provide similar reliability of ...READ MORE

answered Sep 26, 2018 in IoT (Internet of Things) by Upasana
• 8,620 points
1,232 views
0 votes
1 answer

Invalid Batch or signature in Savtooth

This will solve your problem import org.apache.commons.codec.binary.Hex; Transaction txn ...READ MORE

answered Aug 1, 2018 in Blockchain by digger
• 26,740 points
724 views
+1 vote
1 answer
0 votes
1 answer

Where does Hyperledger fabric store the public key and private key of the user?

It signs the transaction (eg. initiated by ...READ MORE

answered Mar 24, 2022 in Blockchain by Rahul
• 9,670 points
347 views
0 votes
1 answer

Where does Hyperledger fabric store the public key and private key of the user?

It signs the transaction with its private key ...READ MORE

answered Apr 11, 2022 in Blockchain by Rahul
• 9,670 points
593 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP