gRPC protobuf definitions for Pretendo micro-services
Each folder contains the protobuf definitions for the server intended on receiving the requests. Meaning, for example, account contains protobuf files intended for requests to the account server
To install
- Go:
github.com/PretendoNetwork/grpc/go-go get github.com/PretendoNetwork/grpc/go - JavaScript:
@pretendnetwork/grpc-npm i @pretendonetwork/grpc
- Install the protobuf compiler (protoc) from here (Use the pre-compiled binaries, the
protocpackage in the package manager is outdated) - Install go
- Run
npm ito install the JS dependencies needed for building - Run
npm run install:goto install the Go dependencies - Run
npm run build