web3-0.9.1.0: Web3 API for Haskell.

CopyrightAlexander Krupenkin 2016
LicenseBSD3
Maintainermail@akru.me
Stabilityexperimental
Portabilityunportable
Safe HaskellNone
LanguageHaskell2010

Network.Web3

Contents

Description

Client library for Third Generation of Web.

Synopsis

Web3 library uses JSON-RPC over WebSocket/HTTP(S) to access node functionality.

data Web3 a Source #

Any communication with node wrapped with Web3 monad

Instances
Monad Web3 Source # 
Instance details

Defined in Network.Web3.Provider

Methods

(>>=) :: Web3 a -> (a -> Web3 b) -> Web3 b #

(>>) :: Web3 a -> Web3 b -> Web3 b #

return :: a -> Web3 a #

fail :: String -> Web3 a #

Functor Web3 Source # 
Instance details

Defined in Network.Web3.Provider

Methods

fmap :: (a -> b) -> Web3 a -> Web3 b #

(<$) :: a -> Web3 b -> Web3 a #

Applicative Web3 Source # 
Instance details

Defined in Network.Web3.Provider

Methods

pure :: a -> Web3 a #

(<*>) :: Web3 (a -> b) -> Web3 a -> Web3 b #

liftA2 :: (a -> b -> c) -> Web3 a -> Web3 b -> Web3 c #

(*>) :: Web3 a -> Web3 b -> Web3 b #

(<*) :: Web3 a -> Web3 b -> Web3 a #

MonadIO Web3 Source # 
Instance details

Defined in Network.Web3.Provider

Methods

liftIO :: IO a -> Web3 a #

MonadThrow Web3 Source # 
Instance details

Defined in Network.Web3.Provider

Methods

throwM :: Exception e => e -> Web3 a #

JsonRpc Web3 Source # 
Instance details

Defined in Network.Web3.Provider

Methods

remote :: Remote Web3 a => MethodName -> a Source #

MonadState JsonRpcClient Web3 Source # 
Instance details

Defined in Network.Web3.Provider

runWeb3 :: MonadIO m => Web3 a -> m (Either Web3Error a) Source #

Web3 runner for default Http provider