WARNING: This is an incomplete work-in-progress. yet
The Golang java-tron gRPC client
- Go 1.6 or higher
First you need to install ProtocolBuffers 3.0.0-beta-3 or later.
mkdir tmp
cd tmp
git clone https://github.com/google/protobuf
cd protobuf
./autogen.sh
./configure
make
make check
sudo make install
Then, go get -u
as usual the following packages:
go get -u github.com/golang/protobuf/protoc-gen-go
Update protocol:
git submodule update --remote
Example:
go get -u github.com/sasaxie/go-client-api
go run program/getnowblock.go -grpcAddress localhost:50051