cardanoconnect

package
v1.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 11, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIConfig

type APIConfig struct {
	Port      int    `yaml:"port,omitempty"`
	Address   string `yaml:"address,omitempty"`
	PublicURL string `yaml:"publicURL,omitempty"`
}

type BlockchainConfig

type BlockchainConfig struct {
	BlockfrostKey     string `yaml:"blockfrostKey,omitempty"`
	BlockfrostBaseURL string `yaml:"blockfrostBaseUrl,omitempty"`
	Socket            string `yaml:"socket,omitempty"`
	Network           string `yaml:"network,omitempty"`
}

type Cardanoconnect

type Cardanoconnect struct {
	// contains filtered or unexported fields
}

func NewCardanoconnect

func NewCardanoconnect(ctx context.Context) *Cardanoconnect

func (*Cardanoconnect) GenerateConfig

func (c *Cardanoconnect) GenerateConfig(stack *types.Stack, org *types.Organization) connector.Config

func (*Cardanoconnect) GetServiceDefinitions

func (c *Cardanoconnect) GetServiceDefinitions(s *types.Stack, dependentServices map[string]string) []*docker.ServiceDefinition

func (*Cardanoconnect) Name

func (c *Cardanoconnect) Name() string

func (*Cardanoconnect) Port

func (c *Cardanoconnect) Port() int

type Config

type Config struct {
	Log           *types.LogConfig           `yaml:"log,omitempty"`
	Connector     *ConnectorConfig           `yaml:"connector,omitempty"`
	Contracts     *ContractsConfig           `yaml:"contracts,omitempty"`
	Metrics       *types.MetricsServerConfig `yaml:"metrics,omitempty"`
	Persistence   *PersistenceConfig         `yaml:"persistence,omitempty"`
	FFCore        *FFCoreConfig              `yaml:"ffcore,omitempty"`
	Confirmations *ConfirmationsConfig       `yaml:"confirmations,omitempty"`
	API           *APIConfig                 `yaml:"api,omitempty"`
}

func (*Config) WriteConfig

func (c *Config) WriteConfig(filename string, extraConnectorConfigPath string) error

type ConfirmationsConfig

type ConfirmationsConfig struct {
	Required *int `yaml:"required,omitempty"`
}

type ConnectorConfig

type ConnectorConfig struct {
	Blockchain *BlockchainConfig `yaml:"blockchain,omitempty"`
	SignerURL  string            `yaml:"signerUrl,omitempty"`
}

type ContractsConfig

type ContractsConfig struct {
	ComponentsPath string `yaml:"componentsPath"`
	StoresPath     string `yaml:"storesPath"`
}

type FFCoreConfig

type FFCoreConfig struct {
	URL        string   `yaml:"url,omitempty"`
	Namespaces []string `yaml:"namespaces,omitempty"`
}

type PersistenceConfig

type PersistenceConfig struct {
	Type string `yaml:"type,omitempty"`
	Path string `yaml:"path,omitempty"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL