Documentation
¶
Index ¶
- Constants
- func CreateStellarAccessorFactory(lggr logger.Logger, genericConfig chainaccess.GenericConfig) (chainaccess.AccessorFactory, error)
- func LoadStellarKeystoreSigner(ctx context.Context, ks keystore.Keystore, keyName string) (deployment.TxSigner, error)
- func NewFactory(lggr logger.Logger, readerConfig map[string]sourcereader.ReaderConfig, ...) chainaccess.AccessorFactory
- func NewReaderFactory(lggr logger.Logger, readerConfig map[string]sourcereader.ReaderConfig) chainaccess.AccessorFactory
Constants ¶
const StellarConfigPathEnv = "STELLAR_CONFIG_PATH"
StellarConfigPathEnv is the env var for the bind-mounted Stellar TOML (RPC, etc.).
Variables ¶
This section is empty.
Functions ¶
func CreateStellarAccessorFactory ¶
func CreateStellarAccessorFactory(lggr logger.Logger, genericConfig chainaccess.GenericConfig) (chainaccess.AccessorFactory, error)
CreateStellarAccessorFactory is registered with chainaccess.Register for the Stellar family. It merges per-chain reader settings from the Stellar TOML file, Stellar sections under blockchain_infos in the job spec, and on-ramp / RMN remote hex addresses from GenericConfig (same behavior as the legacy committee-verifier bootstrap callback). When the GenericConfig also carries an executor ChainConfiguration, the Stellar accessor additionally exposes DestinationReader and ContractTransmitter capabilities for those chains.
func LoadStellarKeystoreSigner ¶
func LoadStellarKeystoreSigner(ctx context.Context, ks keystore.Keystore, keyName string) (deployment.TxSigner, error)
LoadStellarKeystoreSigner constructs a deployment.TxSigner whose Ed25519 private key lives in the given chainlink-common keystore. It validates that the requested key exists and is of type keystore.Ed25519, and pre-computes the Stellar G... address so callers can synchronously fund / log it without another keystore round-trip.
func NewFactory ¶
func NewFactory( lggr logger.Logger, readerConfig map[string]sourcereader.ReaderConfig, destConfig map[string]destinationConfig, attemptCacheExpiration time.Duration, ) chainaccess.AccessorFactory
NewFactory builds a Stellar AccessorFactory from already-merged reader and destination config maps. Callers that want the bootstrap-driven config flow should use CreateStellarAccessorFactory; this constructor is exposed for tests and for the few unit-test helpers that need a hand-crafted factory.
func NewReaderFactory ¶
func NewReaderFactory(lggr logger.Logger, readerConfig map[string]sourcereader.ReaderConfig) chainaccess.AccessorFactory
NewReaderFactory builds a Stellar AccessorFactory that only serves the committee-verifier (source-reader) path, leaving DestinationReader and ContractTransmitter as not-implemented errors. This preserves backwards compatibility with existing tests that called NewFactory(lggr, configMap) before the executor path was added.
Types ¶
This section is empty.