
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
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!
I agree this would be a great project to discuss on the beyondbitcoin hangout: https://steemit.com/beyondbitcoin/@officialfuzzy/guest-signups-beyond-bitcoin-hangout-183-11-25-16-rsvp-to-guest-speak-about-your-blockchain-project-last-week-s-payouts-signups
Great to see. Keep up the great work! :)
Shared on twitter
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.