I am using Hyperledger Fabric SDK for node.js to enroll a user. I am using this code to deploy in fabric. It uses FileKeyValueStore (uses files to store the key values) to store client's user credential.
I want to use CouchDBKeyValueStore to store user key in CouchDB database instance. What changes do i need to make in client connection profile configuration file for credential store and in code to do so. Any link to sample code will also help.
相关问题
- How to install local library with pip to a conda e
- JavaScript File Transfer SSH
- How to add a new Orderer Organization to existing
- Send array of object inside custom Azure DevOps ta
- Memory leak with PyYAML
相关文章
- Check if variable is type of string or array in li
- How to get last created document in couchdb?
- Quoting YAML (for Travis CI)
- CouchDB Java client
- Are “on” and “off” supposed to be interpreted as t
- yaml.parser.ParserError: while parsing a block map
- Write # in yaml (in the string)
- Check if a list contains an item in Ansible
There is no built-in support in the connection profile for using the
CouchDBKeyValueStore
, but you can still use the connection profile for the rest of the Fabric network configuration. You'll then need to use the Client APIs to configure the stores. Something like