4
0
Fork 0

Updated version to 0.3.0

new-events
hswick 6 years ago
parent 48e9bab1c8
commit b2caaa0595
  1. 4
      README.md
  2. 2
      mix.exs

@ -6,7 +6,7 @@
```elixir
def deps do
[{:exw3, "~> 0.2.0"}]
[{:exw3, "~> 0.3.0"}]
end
```
## Overview
@ -161,7 +161,7 @@ def listen_for_event do
{:ok, changes} = ExW3.Contract.get_filter_changes(filter_id) # Get our changes from the blockchain
handle_changes(changes) # Some function to deal with the data. Good place to use pattern matching.
:timer.sleep(1000) # Some delay in milliseconds. Recommended to save bandwidth, and not spam.
listen_for_event # Recurse
listen_for_event() # Recurse
end
```

@ -4,7 +4,7 @@ defmodule ExW3.MixProject do
def project do
[
app: :exw3,
version: "0.2.0",
version: "0.3.0",
elixir: "~> 1.7.2",
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,

Loading…
Cancel
Save