quietgarden/elm-web3/2.0.1

Unavailable. Nobody can download this version any more, with elm or with the Lamdera compiler: github.com/quietgarden/elm-web3 is gone (deleted or private); Software Heritage not asked yet (this run's --swh-calls were used up); no fork with tag 2.0.1 found (5 same-name repos checked); no cached copy. Use another version.

Details

Web3.Crypto

Cryptographic utilities via the Web3 port.

type Cmd

Commands for the Crypto port.

type Msg
= GotKeccak256 String String

Messages from the Crypto port.

keccak256 : String -> String -> Cmd

Request the keccak256 hash of a UTF-8 string. The second argument is a request ID.

encode : Cmd -> Value

Encode a Crypto command to send through the port.

decoder : Decoder Msg

Decode a Crypto message received from the port.