dogex

Elixir JSON-RPC Client for the Dogecoin blockchain


License
GPL-3.0

Documentation

Dogex

Simple and fast http client for dogecoin. Should work for Bitcoin and forks/friends.

Installation

If available in Hex, the package can be installed by adding dogex to your list of dependencies in mix.exs:

def deps do
  [
    {:dogex, "~> 0.1.1"}
  ]
end

def application do
  [applications: [:dogex]]
end  

These variables are used to generate the RPC url. Make sure you have them set in ~/.dogecoin/dogecoin.conf. Go here for a well documented example of the possible dogecoin config settings.

Set the elixir application's config:

config :dogex,
  username: "rpcusername",
  password: "rpcpassword",
  port: 4242

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/dogex.