Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/phlip9/libra_example
Example Libra Go client SDK
https://github.com/phlip9/libra_example
Last synced: about 2 months ago
JSON representation
Example Libra Go client SDK
- Host: GitHub
- URL: https://github.com/phlip9/libra_example
- Owner: phlip9
- Created: 2019-06-22T02:59:56.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-06-22T03:12:55.000Z (over 5 years ago)
- Last Synced: 2024-08-03T18:14:37.258Z (5 months ago)
- Language: Shell
- Homepage:
- Size: 61.5 KB
- Stars: 16
- Watchers: 1
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-libra - libra_example - Example Libra Go client SDK. (Go)
- awesome-diem - Libra Example - example Libra Go client (Testnet / Libraries)
README
# libra_example
```
# install dependencies
$ go get -u google.golang.org/grpc
$ go get -u github.com/golang/protobuf/protoc-gen-go# extract the .proto's from libra and compile to go
# set LIBRA_SRC to wherever you cloned libra/libra
$ LIBRA_SRC=$HOME/libra ./gen_protos.sh# make a basic request to a testnet node
$ go run libra_client/main.go
```