1. Add exw3 to your list of dependencies in mix.exs:
def deps do
[{:exw3, "~> 0.1.0"}]
end
2. Ensure exw3 is started before your application:
def application do
[applications: [:exw3]]
[{:exw3, "~> 0.1.1"}]
end
## Overview
ExW3 is a wrapper around ethereumex to provide a high level, and user friendly json rpc api. It currently only supports Http. The primary feature it provides is a handy abstraction for working with smart contracts.
ExW3 is a wrapper around ethereumex to provide a high level, user friendly json rpc api. It currently only supports Http. The primary feature it provides is a handy abstraction for working with smart contracts.
## Usage
Ensure you have an ethereum node to connect to at the specified url in your config. Any easy local testnet to use is ganache-cli:
Ensure you have an ethereum node to connect to at the specified url in your config. An easy local testnet to use is ganache-cli:
```
ganache-cli
```
@ -33,7 +25,7 @@ config :ethereumex,
url: "http://localhost:8545"
```
Currently ExW3 supports a handful of json rpc commands. Mostly just the useful ones. If it doesn't support those specific commands you can always use the Ethereumex commands.
Currently, ExW3 supports a handful of json rpc commands. Mostly just the useful ones. If it doesn't support a specific commands you can always use the [Ethereumex](https://github.com/exthereum/ethereumex) commands.