A library for Monero RPC calls written in Elixir.
This library can be used to build application on top of the Monero protocol using the power of Elixir
This is an evening project, I wrote it mostly for fun so please treat it as a very Alpha version. If anybody want to contribute, any help would be really appreciated.
At the moment there is only a subset of RPC call implemented, you can find the description of the calls in the following modules:
Add the library in your deps
.
defp deps do
[{:monerox, "~> 0.1.0"}]
end
In order to use this library you need to start both the Daemon RPC and the Wallet RPC client. You can find the instruction about how to install and run the daemons on the Monero project
You need to add the configuration for both the clients to define the connections properties.
use Mix.Config
config :monerox, :daemon_rpc,
host: "127.0.0.1",
port: 18081,
adapter: Monerox.Daemon.RPC
config :monerox, :wallet_rpc,
host: "127.0.0.1",
port: 8082,
username: System.get_env("WALLET_RPC_USER"),
password: System.get_env("WALLET_RPC_PASS"),
adapter: Monerox.Wallet.RPC
- BTC:
1JErvsedmVpuT3kUsHfZmWFqChFerTBc8f
- XMR:
43GLcLJZLja2CJujNmFwozWkitV8dBMtEEeESjXLguFdbeTbahqyaBxTGVjv7tPnz47EpBGf5miVsEZFnAXXxC9xNLAM8Ec
See the LICENCE file in the project root.
Please fork this repository to your own account, create a feature/{short but descriptive name} branch on your own repository and submit a pull request back to develop.