web3-1.0.0.0: Haskell Web3 library.
CopyrightAleksandr Krupenkin 2016-2021
LicenseApache-2.0
Maintainermail@akru.me
Stabilityexperimental
Portabilityunportable
Safe HaskellNone
LanguageHaskell2010

Network.Web3

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 #

Any communication with node wrapped with Web3 monad

Instances

Instances details
Monad Web3 
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 #

Functor Web3 
Instance details

Defined in Network.Web3.Provider

Methods

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

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

MonadFail Web3 
Instance details

Defined in Network.Web3.Provider

Methods

fail :: String -> Web3 a #

Applicative Web3 
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 
Instance details

Defined in Network.Web3.Provider

Methods

liftIO :: IO a -> Web3 a #

MonadThrow Web3 
Instance details

Defined in Network.Web3.Provider

Methods

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

JsonRpc Web3 
Instance details

Defined in Network.Web3.Provider

Methods

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

MonadState JsonRpcClient Web3 
Instance details

Defined in Network.Web3.Provider

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

Web3 runner for default Http provider

Re-export popular Web3 platforms.