atlas-cardano-0.6.3: Application backend for Plutus smart contracts on Cardano
Copyright(c) 2023 GYELD GMBH
LicenseApache 2.0
Maintainer[email protected]
Stabilitydevelop
Safe HaskellSafe-Inferred
LanguageGHC2021

GeniusYield.GYConfig

Description

 
Synopsis

Documentation

data GYCoreConfig #

The config to initialize the GY framework with. Should include information on the providers to use, as well as the network id.

In JSON format, this essentially corresponds to:

{ coreProvider: GYCoreProviderInfo, networkId: NetworkId, logging: [GYLogScribeConfig], utxoCacheEnable: boolean }

Constructors

GYCoreConfig 

Fields

Instances

Instances details
FromJSON GYCoreConfig # 
Instance details

Defined in GeniusYield.GYConfig

Show GYCoreConfig # 
Instance details

Defined in GeniusYield.GYConfig

newtype Confidential a #

Newtype with a custom show instance that prevents showing the contained data.

Constructors

Confidential a 

Instances

Instances details
FromJSON a ⇒ FromJSON (Confidential a) # 
Instance details

Defined in GeniusYield.GYConfig

ToJSON a ⇒ ToJSON (Confidential a) # 
Instance details

Defined in GeniusYield.GYConfig

Show (Confidential a) # 
Instance details

Defined in GeniusYield.GYConfig

Methods

showsPrecIntConfidential a → ShowS #

showConfidential a → String #

showList ∷ [Confidential a] → ShowS #

Eq a ⇒ Eq (Confidential a) # 
Instance details

Defined in GeniusYield.GYConfig

Methods

(==)Confidential a → Confidential a → Bool #

(/=)Confidential a → Confidential a → Bool #

Ord a ⇒ Ord (Confidential a) # 
Instance details

Defined in GeniusYield.GYConfig

data GYCoreProviderInfo #

The supported providers. The options are:

  • Local node.socket and a maestro API key
  • Cardano db sync alongside cardano submit api
  • Maestro blockchain API, provided its API token.

In JSON format, this essentially corresponds to:

{ socketPath: FilePath, kupoUrl: string }

| { maestroToken: string, turboSubmit: boolean } | { blockfrostKey: string }

The constructor tags don't need to appear in the JSON.