cloudframeworks-blockchain / user-guide-fabric-smart-contract

[云框架]基于区块链的智能合约 / Blockchain, Fabric Hyperledger, Smart Contract / 区块链, Fabric Hyperledger, 智能合约
Other
276 stars 96 forks source link

很多问题求救! #4

Open cmuCoppelia opened 5 years ago

cmuCoppelia commented 5 years ago

1 CORE_PEER_ADDRESS=peer:7051 CORE_CHAINCODE_ID_NAME=charity:0 ./charity 提示不存在charity(目录中确实没有这个文件) 2 删除charity这几个字母后,按步骤到peer chaincode instantiate -n charity -v 0 -c '{"Args":[]}' -C myc,提示handler not found for chaincode charity 3 根据网上教程,此情况由端口号引起,应设置为7052,直接设置CORE_PEER_ADDRESS=peer:7052 CORE_CHAINCODE_ID_NAME=charity:0,运行peer channel create -c myc -f myc.tx -o orderer:7050即bad request 4 修改yaml文件仍然无效