如何将数据库钱包创建为超级模式?
我需要使用数据库(MySQL/MongoDB)而不是文件将用户的钱包身份存储到HyperLeDger-Fabric中。
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
我需要使用数据库(MySQL/MongoDB)而不是文件将用户的钱包身份存储到HyperLeDger-Fabric中。
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(1)
Fabric Client SDK仅提供文件系统和CouchDB Wallet储物库,因此您有两个选择:
Identity
请参阅此 tutorial =“ https://hyperledger.github.io/fabric-sdk-node/release-2.2.2/module-fabric-network.walletstore.html” rel =“ nofollow noreferrer”> nofollow noreferrer“> walletstore store文档有关如何详细信息使用自定义的钱店实现。您还可以参考 CouchDB商店实现作为参考。
请注意,对于HyperLeDger织物v2.4及以后,迁移指南有关详细信息。
The Fabric client SDKs only provide file-system and CouchDB wallet storage out-of-the-box so you have two options:
identity
field of the connection options.See this tutorial and the WalletStore documentation for details of how to use a custom WalletStore implementation. You might also refer to the CouchDB store implementation as a reference.
Note that for Hyperledger Fabric v2.4 and later, the Fabric Gateway client API is the preferred API for Node, Java and Go applications. The model used with this API is for you to store client credentials however you chose (which could still be in a wallet) and then just supply an identity and signing implementation using those credentials to the API on connection. See the migration guide for details.