hyperledger / fabric-sdk-go

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

Fabric 2.4 support #207

Closed Anil8753 closed 2 years ago

Anil8753 commented 2 years ago

What is the roadmap to support fabric 2.4 features? Importantly Fabric Gateway service. Basically, I was looking for the WithEndorsingOrganizations() function which is very useful but missing fabric-sdk-go. This function requires only Orgs MSP Ids whereas the existing WithEndorsingPeers() requires the complete peer address.

WithEndorsingOrganizations() is available in fabric-gatway

andrew-coleman commented 2 years ago

The Go API for the gateway service is in the repo you linked to in your comment above. That contains the APIs for all three supported languages (Go, Node & Java).

An example of using WithEndorsingOrganizations() can be found here.

Anil8753 commented 2 years ago

I understood now, fabric-gatway is the recommended interface from fabric 2.4 onwards. Closing this issue.