Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

Awesome Lists containing this project

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
```