Skip to content

libra-sigs/libra-sdk-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

libra-sdk-go

Go Build Status Go Report Card

libra sdk for go

Examples

libra-client

% make; _output/examples/libra-client 
find . -name '*.go' | xargs gofmt -w -s
go build -o  _output/examples/libra-client  ./examples/libra-client
go test ./libra
ok  	github.com/libra-sigs/libra-sdk-go/libra	(cached) [no tests to run]
Account resource: {
    "authkey": "Xw5ayK30K7AqE8U7adbpDw5ewCDdvlwuestwqdSKhc4=",
    "balance": 209000000,
    "key_rotation_cap": false,
    "with_drawal_cap": false,
    "recv_event_count": 2,
    "recv_event_data": "AAAAAAAAAABfDlrIrfQrsCoTxTtp1ukPDl7AIN2+XC56y3Cp1IqFzg==",
    "sent_event_count": 2,
    "sent_event_data": "AQAAAAAAAABfDlrIrfQrsCoTxTtp1ukPDl7AIN2+XC56y3Cp1IqFzg==",
    "seq_no": 2,
    "event_no": 2
}