This repository contains the grpc service and protocol buffer definitions for the Hyperledger Fabric project.
Tools like protoc
can transform these definitions into code that can be used by clients and libraries to interact with Fabric.
The following Makefile targets are available:
make lint
- run Buf linter and breaking change detectionmake javabindings
- run Java bindings code generationmake nodebindings
- run Node.js bindings code generationNote: there is a separate Makefile for the original version of Go protocol buffers APIv1, which you can specifiy using make -f Makefile.apiv1 ...
See A new Go API for Protocol Buffers for details of the Go protocol buffers APIv1 and APIv2.