create account

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

View this thread on: hive.blogpeakd.comecency.com
· @ontofractal · (edited)
$14.57
Graphene client v0.2 released: an Erlang/Elixir websockets client library for Bitshares and Graphene 2.0
![](https://i.imgur.com/C6zRpTP.png)
This release includes code and tests for methods related to Graphene balances and accounts database API.

# Repo and package

* [Github Repo](https://github.com/cyberpunk-ventures/graphene_client_ex)
* [Hex package](https://hex.pm/packages/graphene_client_ex)

# 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](https://hexdocs.pm/graphene_client_ex/0.2.0/Graphene.html)

# 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:

* [ElixirConf Jose Valim Keynote](http://confreaks.tv/videos/elixirconf2016-keynote)
* [ElixirConf 2016 Chris McCord Keynote](http://confreaks.tv/videos/elixirconf2016-keynote)
* [Elixir School](https://elixirschool.com/)
* [Elixir Crash Course](http://elixir-lang.org/crash-course.html)

# Roadmap

* **Next: assets and feeds**
* More utility functions
* Implement subscriptions
* Investigate PubSub implementations
* More tests and docs
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 210 others
properties (23)
authorontofractal
permlinkgraphene-client-v0-2-released-an-erlang-elixir-websockets-client-library-for-graphene-2-0
categorybitshares
json_metadata{"tags":["bitshares","blockchain","news","cryptocurrency"],"image":["https://i.imgur.com/C6zRpTP.png"],"links":["https://github.com/cyberpunk-ventures/graphene_client_ex","https://hex.pm/packages/graphene_client_ex","https://hexdocs.pm/graphene_client_ex/0.2.0/Graphene.html","http://confreaks.tv/videos/elixirconf2016-keynote","https://elixirschool.com/","http://elixir-lang.org/crash-course.html"],"app":"steemit/0.1","format":"markdown"}
created2016-11-28 20:43:48
last_update2016-11-28 20:45:21
depth0
children3
last_payout2016-12-30 02:38:09
cashout_time1969-12-31 23:59:59
total_payout_value12.002 HBD
curator_payout_value2.567 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length1,760
author_reputation61,670,850,962,884
root_title"Graphene client v0.2 released: an Erlang/Elixir websockets client library for Bitshares and Graphene 2.0"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id1,867,028
net_rshares42,935,358,930,446
author_curate_reward""
vote details (274)
@linkback-bot-v0 ·
This post has been linked to from another place on Steem.


  - [为Bitshares and Graphene 2.0定制的Erlang/Elixir websockets 库发布了](https://steemit.com/cn/@roseebit/bitshares-and-graphene-2-0-erlang-elixir-websockets) by @roseebit




Learn more about and upvote to support [**linkback bot v0.5**](https://steemit.com/steemit/@ontofractal/steem-linkback-bot-v0-5-the-reddit-awareness-release). Flag this comment if you don't want the bot to continue posting linkbacks for your posts.

Built by @ontofractal
properties (22)
authorlinkback-bot-v0
permlinkre-ontofractal-graphene-client-v0-2-released-an-erlang-elixir-websockets-client-library-for-graphene-2-0-linkbacks
categorybitshares
json_metadata{}
created2016-11-30 20:09:36
last_update2016-11-30 20:09:36
depth1
children0
last_payout2016-12-30 02:38:09
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length501
author_reputation1,915,954,976,722
root_title"Graphene client v0.2 released: an Erlang/Elixir websockets client library for Bitshares and Graphene 2.0"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id1,883,423
net_rshares0
@officialfuzzy ·
Can we chat on steemit.chat by chance?
properties (22)
authorofficialfuzzy
permlinkre-ontofractal-graphene-client-v0-2-released-an-erlang-elixir-websockets-client-library-for-graphene-2-0-20161128t235627541z
categorybitshares
json_metadata{"tags":["bitshares"]}
created2016-11-28 23:56:33
last_update2016-11-28 23:56:33
depth1
children0
last_payout2016-12-30 02:38:09
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length38
author_reputation386,160,910,642,701
root_title"Graphene client v0.2 released: an Erlang/Elixir websockets client library for Bitshares and Graphene 2.0"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id1,868,303
net_rshares0
@screenname ·
Re: Graphene client v0.2 released: an Erlang/Elixir websockets client library for Bitshares and Graphene 2.0
<p>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.</p> 
<p>See the full rankings and details in <a href="https://steemit.com/curation/@screenname/the-daily-tribune-most-undervalued-posts-of-nov-28---part-ii">The Daily Tribune: Nov 28 - Part II</a>. You can also read about some of our methodology, data analysis and technical details in <a href="https://steemit.com/curation/@screenname/introducing-the-daily-tribune-most-undervalued-posts-of-nov-04---part-i">our initial post</a>.</p>
<p>If you are the author and would prefer not to receive these comments, simply reply "Stop" to this comment.</p>
👍  , , , ,
properties (23)
authorscreenname
permlinkre-graphene-client-v0-2-released-an-erlang-elixir-websockets-client-library-for-graphene-2-0-20161129t011458
categorybitshares
json_metadata"{"replyto": "@ontofractal/graphene-client-v0-2-released-an-erlang-elixir-websockets-client-library-for-graphene-2-0"}"
created2016-11-29 01:15:00
last_update2016-11-29 01:15:00
depth1
children0
last_payout2016-12-30 02:38:09
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length766
author_reputation46,276,338,038,330
root_title"Graphene client v0.2 released: an Erlang/Elixir websockets client library for Bitshares and Graphene 2.0"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id1,868,842
net_rshares32,159,041,199
author_curate_reward""
vote details (5)