区块链
文章平均质量分 54
王富贵他妈
Wubba lubba dub dub.
展开
-
Error: error getting chaincode bytes: ‘go list‘ failed with: no required module provides package
遇到Error: error getting chaincode bytes: 'go list' failed with: no required module provides package github.com/hyperledger/fabric-cluster/chaincode/go: go.mod file not found in current directory or any parent directory;原创 2023-10-16 16:41:21 · 319 阅读 · 0 评论 -
go: cannot determine module path for source directory
fabric2.2手动搭建时,运行go mod init,提示go: cannot determine module path for source directory /home/wxx/Desktop/hyfa/fabric/twonodes/chaincode/go (outside GOPATH, module path must be specified)根据提示,指定项目名称即可。原创 2023-10-16 16:18:50 · 122 阅读 · 0 评论 -
fabric2.2搭建遇到的问题
一个是把GitHub源换成了gitee源,解决了下载速度的问题。一、./bootstrap.sh运行遇到的问题。解决:改了bootstrap.sh中两个地方。另一个是把在133行左右把。原创 2023-10-16 16:15:22 · 75 阅读 · 0 评论 -
Fabric2.4.7搭建与测试
两个脚本的源代码都位于GitHub上的hyperledger/fabric项目的scripts文件夹中,使用方法和运行效果也相同,但是install-fabric.sh脚本的语法较bootstrap.sh脚本有所改进。然后部署go语言的链码,deployCC 子命令将在peer0.org1.example.com 和peer0.org2.example.com 上安装资产传输(基本)链代码,然后将链代码部署在使用通道标志指定的通道上(如果未指定通道,则部署在mychannel 上) )。原创 2023-09-19 19:54:31 · 95 阅读 · 0 评论