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
2,457 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,680 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,920 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,371 views
0 votes
1 answer
+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,393 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,468 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
1,035 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,680 points
630 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,680 points
934 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