Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 619 Bytes

README.md

File metadata and controls

31 lines (22 loc) · 619 Bytes

go-tron

Running the docker file

docker build .
docker run -p 50051:50051 -it "--imagename--" /bin/bash -c "cd build/libs;java -jar java-tron.jar"

This will start the tron node, and expose port 50051 on localhost

Dependencies

go get github.com/golang/protobuf
go get google.golang.org/grpc
go get github.com/shengdoushi/base58

Running go-tron

go run start.go -grpcAddress localhost:50051

Generating protobuffers

TODO: List protobuffer build steps
protoc --go_out=plugins=grpc:. api/api.proto