Fabric-samples asset-transfer-basic 链码部署与升级(Fabric 2.4.4)
1、代码分析1.1、链码启动asset-transfer-basic/chaincode-go/assetTransfer.gofuncmain(){//新建链码assetChaincode,err:=contractapi.NewChaincode(&chaincode.SmartContract{})iferr!=nil{log.Panicf("Errorcreatingasset-trans