Introducing Elixir/Erlang client library for Bitshares and Graphene 2.0

in #bitshares8 years ago


I've just released graphene_client_ex v0.1, an Erlang/Elixir websockets client library for Graphene 2.0. I'm starting a project on the Bitshares blockchain and will update the library as I progress with the project.

Elixir is a functional programming language with superior concurrency primitives 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.

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}

The following utility functions are available at this moment:

  • get_block
  • get_accounts
  • get_transaction
  • get_global_properties
  • get_chain_properties

Graphene_client_ex Github Repo and hex package

Roadmap

  • More utility functions
  • Implement subscriptions
  • Investigate PubSub implementations
  • More tests and docs
Sort:  

Nice. Sign up for our hangout man! This is precisely the kind of stuff im talking about in hangouts so i would love people to hear about it!

Great to see. Keep up the great work! :)
Shared on twitter

Steem_Land Steemland.com tweeted @ 21 Nov 2016 - 18:28 UTC

Introducing Elixir/Erlang client library for Bitshares & Graphene 2.0

steemit.com/bitshares/@ont… / https://t.co/ZoeRqJANDo

@steemiobot @Beyond_Bitcoin

Steem_Land Steemland.com tweeted @ 21 Nov 2016 - 18:28 UTC

Introducing Elixir/Erlang client library for Bitshares & Graphene 2.0

steemit.com/bitshares/@ont… / https://t.co/ZoeRqJANDo

@SteemUps @SteemitPosts @steemit

Disclaimer: I am just a bot trying to be helpful.

This rocks. Huge fan of Elixir here. I've been evangelizing it at the office. What an amazing language and runtime; I think it will be an obvious choice for a lot of teams in the future.

Coin Marketplace

STEEM 0.20
TRX 0.13
JST 0.030
BTC 65236.35
ETH 3483.12
USDT 1.00
SBD 2.51