Safe Haskell | None |
---|---|
Language | Haskell2010 |
Cardano.Wallet.Types
Synopsis
- data WalletConfig
- newtype LocalWalletSettings = LocalWalletSettings {}
- newtype WalletUrl = WalletUrl BaseUrl
- defaultWalletConfig :: WalletConfig
- walletSettingsL :: Traversal' WalletConfig LocalWalletSettings
- baseUrlL :: Lens' LocalWalletSettings WalletUrl
- _LocalWalletConfig :: Prism' WalletConfig LocalWalletSettings
- _RemoteWalletConfig :: Prism' WalletConfig ()
Wallet configuration
data WalletConfig Source #
Constructors
LocalWalletConfig | |
Fields | |
RemoteWalletConfig |
Instances
newtype LocalWalletSettings Source #
Constructors
LocalWalletSettings | |
Instances
Constructors
WalletUrl BaseUrl |
Instances
Eq WalletUrl Source # | |
Show WalletUrl Source # | |
FromJSON WalletUrl Source # | |
Defined in Cardano.Wallet.Types | |
ToJSON WalletUrl Source # | |
Defined in Cardano.Wallet.Types Methods toEncoding :: WalletUrl -> Encoding toJSONList :: [WalletUrl] -> Value toEncodingList :: [WalletUrl] -> Encoding |
Lens and Prisms
walletSettingsL :: Traversal' WalletConfig LocalWalletSettings Source #
baseUrlL :: Lens' LocalWalletSettings WalletUrl Source #
_LocalWalletConfig :: Prism' WalletConfig LocalWalletSettings Source #
_RemoteWalletConfig :: Prism' WalletConfig () Source #