4
0
Fork 0

README updates

travis-fix
hswick 6 years ago
parent 376e4ef910
commit 45ab19529b
  1. 4
      README.md

@ -6,7 +6,7 @@
```elixir
def deps do
[{:exw3, "~> 0.3.0"}]
[{:exw3, "~> 0.4.0"}]
end
```
## Overview
@ -110,7 +110,7 @@ iex(11)> ExW3.Contract.call(:SimpleStorage, :get)
## Address Type
If you are familiar with web3.js you may find the way ExW3 handles addresses unintuitive. ExW3's abi encoder interprets the address type as an uint160. If you are using an address as an option to a transaction like `:from` or `:to` this will work as expected. However, if one of your smart contracts is expecting an address type for an input parameter then you will need to do this:
```
```elixir
a = ExW3.to_decimal("0x88838e84a401a1d6162290a1a765507c4a83f5e050658a83992a912f42149ca5")
```

Loading…
Cancel
Save