NMSD
NMSD

Reputation: 494

Is it possible to use hyperledger with PouchDB?

I have a working Hyperledger Fabric application with CouchDB (alternate state database that allows you to model data on the ledger as JSON). But my question goes one more level up to understand if it is possible to use pouchDB with the above Hyperledger setup (eg. pouchdb setup with sync capabilities with CouchDB or so. I am not familiar much with pouchDB technicalities. Also not sure how Hyperledger supports PouchDB?

Any clarity or example would be helpful.

Upvotes: 0

Views: 47

Answers (1)

CRUDCM
CRUDCM

Reputation: 11

With Hyperledger Fabric 2.2.8 and Pouchdb 4.2.0

createChannel, joinChannel, Chaincode Install, invoke, query

All was possible.

However, it cannot be used with the original version of PouchDB.

Among the modules of PouchDB

"expiress-pouchdb"

Some code needs to be modified.

Anyway it's possible

Upvotes: 1

Related Questions