burnable-tech/elm-ethereum/1.0.2

Renamed to team-toast/elm-ethereum. That is where the repository lives now. It has not been published as a package under the new name.

Versions published as burnable-tech/elm-ethereum still install under that name. 3 versions of 3 come from the new location (see their notes).

Rerouted (renamed, verified). The GitHub user or repository was renamed. The tag is still there, at the new name. The Lamdera package server serves a copy recovered from https://github.com/team-toast/elm-ethereum.

What we checked: The repo moved to github.com/team-toast/elm-ethereum. Rebuilt with git archive from commit e79bdd0efe57 of https://github.com/team-toast/elm-ethereum (zip prefix burnable-tech-elm-ethereum-e941bde/, America/Los_Angeles times): the zip is byte-identical to the one package.elm-lang.org recorded, SHA-1 01059137ad1764d5dd33de9f23e5d647595ca709.

The Lamdera compiler uses this copy and prints a one-line notice saying so. elm itself fails to download this version.

Details · package.elm-lang.org's zip: https://github.com/burnable-tech/elm-ethereum/zipball/1.0.2/

Eth.Net

NetworkId and RPC Methods

= Mainnet
| Expanse
| Ropsten
| Rinkeby
| RskMain
| RskTest
| Kovan
| ETCMain
| ETCTest
| Private Int
version : HttpProvider -> Task Error NetworkId

Get the current network id.

Ok Mainnet
clientVersion : HttpProvider -> Task Error String

Get the current client version.

Ok "Mist/v0.9.3/darwin/go1.4.1"
listening : HttpProvider -> Task Error Bool

Returns true if the node is actively listening for network connections.

peerCount : HttpProvider -> Task Error Int

Get the number of peers currently connected to the client.

Convert an int into it's NetworkId

Convert an int into it's NetworkId

Get a NetworkId's name

Decode a JSON stringy int or JSON int to a NetworkId

decodeString networkIdDecoder "1"          == Ok Mainnet
decodeString networkIdDecoder 3            == Ok Ropsten
decodeString networkIdDecoder "five"       == Err ...