Introducing Elixir/Erlang client library for Bitshares and Graphene 2.0

in bitshares •  8 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
Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

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.

Great work ontofractal, I have zero experience with elixir but its great to see more libraries being developed :)

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.