Network
public enum Network : Hashable
Represents distinct Ethereum Networks
Note: Conforms to Hashable so that we can use these as a Dictionary key
-
the default
Declaration
Swift
case mainnet
-
kovan test net
Declaration
Swift
case kovan
-
rinkeby test net
Declaration
Swift
case rinkeby
-
ropsten test net
Declaration
Swift
case ropsten
-
custom network supported by Bitski (sidechains, etc)
Declaration
Swift
case custom(name: String, chainId: Int)
-
local development network
Declaration
Swift
case development(url: String, chainId: Int)