Module

Network.Ethereum.Uport.Network

Package
purescript-uport
Repository
f-o-a-m/purescript-uport

#Network Source

data Network :: Type

Type representing Etherium Network on which all operations will be performed.

#NetworkR Source

type NetworkR = { id :: String, registry :: String, rpcUrl :: String }

Represents Network configuration object.

#mkNetwork Source

mkNetwork :: NetworkR -> Network

Constructs Network configuration object

mkNetwork
  { id: "0x1"
  , registry: "0xab5c8051b9a1df1aab0149f8b0630848b7ecabf6"
  , rpcUrl: "https://mainnet.infura.io"
  }

#mainnet Source

mainnet :: Network

Predefined Network configuration value for "mainnet"

#ropsten Source

ropsten :: Network

Predefined Network configuration value for "ropsten"

#kovan Source

kovan :: Network

Predefined Network configuration value for "kovan"

#rinkeby Source

rinkeby :: Network

Predefined Network configuration value for "rinkeby"