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. Per-chain reader settings (RPC URL, network passphrase) come from the bind-mounted Stellar TOML written by the devenv modifiers; on-ramp / RMN remote hex addresses come from the job spec via GenericConfig. When the GenericConfig also carries an executor ChainConfiguration, the Stellar accessor additionally exposes DestinationReader and ContractTransmitter capabilities for those chains.
The job spec no longer carries a Stellar blockchain_infos section (removed upstream in chainlink-ccv changelog/2026-07-14_blockchain_infos_removal.md). Nothing is lost: it only ever duplicated network_passphrase and soroban_rpc_url, both of which the modifiers already write into the mounted TOML.
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.