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

in #bitshares8 years ago (edited)


This release includes code and tests for methods related to Graphene balances and accounts database API.

Repo and package

Changelog

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

  • get_account_by_name
  • get_account_references
  • lookup_account_names
  • lookup_accounts
  • get_account_count
  • get_account_balances
  • get_named_account_balances
  • get_balance_objects
  • get_vested_balances
  • get_vesting_balances

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 utility 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: assets and feeds
  • More utility functions
  • Implement subscriptions
  • Investigate PubSub implementations
  • More tests and docs
Sort:  

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

See the full rankings and details in The Daily Tribune: Nov 28 - 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.

Can we chat on steemit.chat by chance?

This post has been linked to from another place on Steem.

Learn more about and upvote to support linkback bot v0.5. Flag this comment if you don't want the bot to continue posting linkbacks for your posts.

Built by @ontofractal

Coin Marketplace

STEEM 0.20
TRX 0.13
JST 0.030
BTC 67519.16
ETH 3532.90
USDT 1.00
SBD 2.68