atlas-cardano-0.4.0: 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 }

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

Show (Confidential a) # 
Instance details

Defined in GeniusYield.GYConfig

Eq a ⇒ Eq (Confidential a) # 
Instance details

Defined in GeniusYield.GYConfig

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.