
网络配图 与正文无关
目标
明确SDK-GO的相关配置
使用SDK提供的相关API创建通道并通过测试
任务实现
Hyperledger Fabric 提供了许多 SDK 来支持各种不同的编程语言,但是因为 Hyperledger Fabric 是使用 Golang 构建的,所以我们将使用 Go 语言来设计应用程序,包括链码(智能合约)。如果您想使用其它 SDK,如 Fabric-SDK-Java,Fabric-SDK-Node等等,这些都可以通过在线文档进行学习,我们不在这里讨论。
11.1.1 配置Fabric-SDK
确认 Hyperledger Fabric 基础网络环境运行没有问题后,现在我们通过创建一个新的 config.yaml 配置文件给应用程序所使用的 Fabric-SDK-Go 配置相关参数及 Fabric 组件的通信地址。








本文地址: https://www.xiguacaijing.com/news/baike/2019/3182.html
赞助商