I'm releasing Waveschainex 0.2, an update of Elixir API client for WAVES API.
Repos and docs
Release commit history
Configuration
Default setting for WAVES nodes API is https://nodes.wavesnodes.com.
To configure a custom url use the following config setings:
config :waveschainex,
waves_node_url: "YOUR_CUSTOM_URL"
Changelog
All functions are documented, covered by tests and include typespecs.
Address module
get_data_item: Read data associated with an account and a keybalance_details: Details for balancealias_of_address: Returns a collection of aliases associated with an Addressaddress_of_alias: Returns an address associated with an Alias.
Block module
first: Get genesis block datachild: Get children of specified blockseq: Get block at specified heightsaddress: Get list of blocks generated by specified address
Peers module
connected_peers: Connected peers list
Transaction module
utx_transaction_info: Get transaction that is in the UTXaddress_limit: Get list of transactions where specified address has been involvedutx_size: Get number of unconfirmed transactions in the UTX pool
Consensus module
algo: Shows which consensus algo being using
Asset module
balance_distribution: Asset balance distribution by account
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 cryptocurrency related apps and strongly recommend to learn more about Elixir and Erlang ecosystem.
Learning resources:
- ElixirConf Jose Valim Keynote
- ElixirConf 2016 Chris McCord Keynote
- Elixir School
- Elixir Crash Course