cmditch / elm-ethereum / Shh

Whipser API (Use at your own risk! Work in progress)

Whisper messaging


type alias Post =
{ from : Maybe String
, to : Maybe String
, topics : List String
, payload : String
, priority : Basics.Int
, ttl : Basics.Int 
}

post : Eth.Types.HttpProvider -> Post -> Task Http.Error Basics.Bool

Whisper Id's


type alias WhisperId =
Internal.Types.WhisperId

newIdentity : Eth.Types.HttpProvider -> Task Http.Error WhisperId

whisperIdToString : WhisperId -> String

toWhisperId : String -> Result String WhisperId

version : Eth.Types.HttpProvider -> Task Http.Error Basics.Int