atlas-0.1.0.0: Application backend for Plutus smart contracts on Cardano
Copyright(c) 2023 GYELD GMBH
LicenseApache 2.0
Maintainersupport@geniusyield.co
Stabilitydevelop
Safe HaskellNone
LanguageHaskell2010

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
Show GYCoreConfig # 
Instance details

Defined in GeniusYield.GYConfig

FromJSON GYCoreConfig # 
Instance details

Defined in GeniusYield.GYConfig

Methods

parseJSON ∷ Value → Parser GYCoreConfig #

parseJSONList ∷ Value → Parser [GYCoreConfig] #

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, maestroToken: string }

| { cardanoDbSync: PQ.ConnectInfo, cardanoSubmitApiUrl: string } | { maestroToken: string }

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

Constructors

GYNodeChainIx 

Fields

GYDbSync 

Fields

GYMaestro 

Fields

Instances

Instances details
Show GYCoreProviderInfo # 
Instance details

Defined in GeniusYield.GYConfig

FromJSON GYCoreProviderInfo # 
Instance details

Defined in GeniusYield.GYConfig

Methods

parseJSON ∷ Value → Parser GYCoreProviderInfo #

parseJSONList ∷ Value → Parser [GYCoreProviderInfo] #