问题描述
我使用Azure Hyperledger Fabric联盟网络模板在Azure上部署了单节点Hyplerledger Fabric网络。我从哪里开始?如何将链代码部署到此网络?
I've deployed a single node Hyplerledger Fabric network on Azure using the Azure Hyperledger Fabric consortium network template. Where do I go from here? How do I deploy chaincodes to this network?
我已经进入虚拟机并可以访问运行我的同行的容器。但是,当我尝试从同行cli部署链码时,这就是我得到的,
I've ssh'd into the VM and can access the containers running my peer. But when I try to deploy a chaincode from the peer cli, this is what I get ,
错误:获取链码代码错误car.go:< go,[env]>:失败并出现错误:"exec:not started"
请帮助。
推荐答案
我们是在添加一些文档以指导单个和多个vm部署的过程中,特别是操作,部署后。 其中包括如何设置频道和部署新的链代码。 单个VM模型基于
来自Hyperledger基础的结构样本。 默认情况下会在那里部署一些链码。 安装容器还有可以使用的hlf工具(cli)。 这里的文档 - >
We are in the process of adding some documentation to guide for both single and multi vm deployments, specifically, the operations, post deployment. This included how to setup channels and deploy new chaincode. The single VM model is based on the fabric-samples from the Hyperledger foundation. Some chaincode is deployed there by default. The setup container has the hlf tools (cli) that can be used as well. Docs for this here -> https://fabric-docs-test.readthedocs.io/en/latest/API/CLI/
这篇关于在使用Azure模板部署的Hyperledger Fabric上部署链代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!