Graphene client v0.3 released: an Erlang/Elixir websockets client library for Bitshares and Graphene 2.0

in #bitshares7 years ago


This release includes code and tests for methods related to Graphene assets and witnesses database API modules, module refactoring and better docs.

Repo and package

Changelog

The following functions, tests and docs were added to the Graphene package:

  • get_witnesses
  • get_witness_by_account
  • lookup_witness_accounts
  • get_dynamic_global_properties
  • get_assets
  • list_assets
  • lookup_assets_symbols

Interface

The main module function is Graphene.call. Graphene.call(params) will automatically generate an unique id for a WS request, send a JSONRPC call to the graphene node, handle response and return a success tuple {:ok, result} or {:error, reason}
All functions can be found at hexdocs

About Elixir

Elixir is a functional programming language with superior concurrency primitives, distributed computation and fault tolerance capabilities based on Erlang/OTP.
Personally, I am really happy with my bet on Elixir to build cryptotokens related apps and strongly recommend every developer to try it.

Learning resources:

Roadmap

  • Next: feeds and markets
  • Implement subscriptions
  • Investigate PubSub implementations
  • More tests and docs
Sort:  

Here is what I need, thank you

Thanks for the updates @ontofractal ..

This post has been ranked within the top 25 most undervalued posts in the second half of Dec 15. We estimate that this post is undervalued by $10.60 as compared to a scenario in which every voter had an equal say.

See the full rankings and details in The Daily Tribune: Dec 15 - Part II. You can also read about some of our methodology, data analysis and technical details in our initial post.

If you are the author and would prefer not to receive these comments, simply reply "Stop" to this comment.