遵循此处的教程,并尝试使用在本地系统上运行的基本网络运行商业票据的本地版本:
在安装了所有必需软件的Mac OSX 10.14.6上运行VSC 1.37.1。
文件上写得很清楚:
Connecting to another instance of Hyperledger Fabric
The extension allow you to connect to any Hyperledger Fabric instance and perform some operational tasks. The tasks available are: install, instantiate and
我在用织物样品做。
@Transaction(intent = Transaction.TYPE.EVALUATE)
public ArrayList<Asset> GetAllAssets(final Context ctx) {
ChaincodeStub stub = ctx.getStub();
ArrayList<Asset> queryResults = new ArrayList<Asset>();
// To retrieve all assets from the ledg
我试图从织物样本中安装facar的java链码,但是出错了。
上面的链码,我正在尝试&在链码实例化过程中出错
有谁能帮我一下吗,非常感谢,谢谢。
我使用基本的网络文件夹和下面的脚本来创建网络&安装、实例化和调用链码。
#!/bin/bash
#
# Copyright IBM Corp All Rights Reserved
#
# SPDX-License-Identifier: Apache-2.0
#
# Exit on first error, print all commands.
set -ev
# don't rewrite paths for Win
我正在尝试从java fabric SDK进行事务处理。我可以从节点正确地查询数据,但在进行事务时,我得到了以下错误:
org.hyperledger.fabric.sdk.exception.ServiceDiscoveryException: The channel is not configured with any peers with the 'discover' role
at org.hyperledger.fabric.sdk.Channel.sendTransactionProposalToEndorsers(Channel.java:3955) ~[