hyperledger / fabric-sdk-go

https://wiki.hyperledger.org/display/fabric
Apache License 2.0
910 stars 510 forks source link

how to install and institate chaincode without system channel #286

Open yeshanglady opened 6 months ago

yeshanglady commented 6 months ago

In Fabric 2.5, I can create application channel without system channel. However, in this way, there are no .tx files so I cannot use fabric-sdk-go to create and join channel. Now, I want to create application channel in Fabric(such as peer CLI) directly ,rather then using Fabric-sdk-go. I want to know whether this way is OK? If it's ok, I want to know how to prepare the config.yaml file and how to use fabric-sdk-go to install and institate chaincode. By the way, I have noticed that someone recommended the new sdk, fabric-admin-sdk,to address this problem. But I want to know whether these two sdks can work in coordination. for example, fabric-admin-sdk will focus on creating and joining channel, fabric-sdk-go will solving others (such as installing chaincode). Thanks!!