External chaincode build - package couchdb indexes #fabric #couchdb


I am building and deploying the chaincode externally on hyperledger fabric v2.3.2 and using couchdb as the state DB. I would appreciate if anyone could tell me how to package the couch DB indexes?

CouchDB Index

I have tried few ways:
  • package the META-INF directory along with the connection.json which outputs "code.tar.gz" ---> this resulted in error during chaincode installtion (invalid file type)
  • package the META-INF directory along with "code.tar.gz" and "metadata.json" which outputs "cc_name.tgz" ----> this doesn't creates any indexes in couchDB or it gives the same error as above

Join fabric@lists.hyperledger.org to automatically receive all group messages.