package
Version:
v0.0.0-...-bc9f93a
Opens a new window with list of versions in this module.
Published: Dec 22, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
GetConfig returns the global config instance
type IndexerConfig struct {
Address string `envconfig:"INDEXER_TCP_ADDRESS"`
SocketPath string `envconfig:"INDEXER_SOCKET_PATH"`
}
type RewardConfig struct {
MinLovelace uint64 `envconfig:"MIN_LOVELACE"`
RewardAddress string `envconfig:"REWARD_ADDRESS"`
RewardAmount uint64 `envconfig:"REWARD_AMOUNT"`
SourceAddress string `envconfig:"SOURCE_ADDRESS"`
}
type SubmitConfig struct {
Address string `envconfig:"SUBMIT_TCP_ADDRESS"`
SocketPath string `envconfig:"SUBMIT_SOCKET_PATH"`
Url string `envconfig:"SUBMIT_URL"`
}
type TxBuilderConfig struct {
BlockfrostApiKey string `envconfig:"BLOCKFROST_API_KEY"`
KupoUrl string `envconfig:"KUPO_URL"`
}
type WalletConfig struct {
Mnemonic string `envconfig:"MNEMONIC"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.