libitx / bsv-ex

Elixir toolset for building Bitcoin applications
https://hexdocs.pm/bsv
Apache License 2.0
28 stars 8 forks source link

error in Readme #1

Closed Ljzn closed 4 years ago

Ljzn commented 4 years ago
iex> address = BSV.Address.to_string(keys)
"1MzYtHPymTjgxx9npR6Pu9ZCUhtU9hHYTL"

There isn't such function in BSV.Address module. Maybe will be added later?

Readme could be fix as:

iex> address = keys |> BSV.Address.from_public_key() |> BSV.Address.to_string()
"1MzYtHPymTjgxx9npR6Pu9ZCUhtU9hHYTL"
libitx commented 4 years ago

Thanks. Fixed the example as you suggested