Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tronprotocol

go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest

export PATH="$PATH:$(go env GOPATH)/bin"

git submodule update --recursive --remote

find ./protocol -name "*.proto" -exec sed -i '' '/option go_package/ s|github.com/tronprotocol/grpc-gateway|github.com/v03413/tronprotocol|g' {} +

protoc -I ./protocol -I . --go_out=. --go-grpc_out=. --go_opt=paths=source_relative --go-grpc_opt=paths=source_relative ./protocol/api/*.proto
protoc -I ./protocol -I . --go_out=. --go_opt=module=github.com/v03413/tronprotocol ./protocol/core/*.proto
protoc -I ./protocol -I . --go_out=. --go_opt=module=github.com/v03413/tronprotocol ./protocol/core/contract/*.proto

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors