README.md in libra_client-0.1.0 vs README.md in libra_client-0.1.1
- old
+ new
@@ -20,10 +20,19 @@
$ gem install libra_client
## Usage
-TODO: Write usage instructions here
+
+```ruby
+require 'libra_client'
+LibraClient.get_transaction(0) #get the genesis transaction
+LibraClient.get_transaction(1) #get the first transaction
+version = LibraClient.get_latest_transaction_version
+LibraClient.get_transaction(version) #get the latest transaction
+
+LibraClient.get_account_state(ASSOCIATION_ADDRESS)
+```
## Development
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.