accessors

package
v0.0.0-...-6f03ce2 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2026 License: MIT Imports: 30 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const DefaultKeystoreSignTimeout = 10 * time.Second

DefaultKeystoreSignTimeout bounds a single keystore Sign call. It is applied on top of the caller's context so that a stalled keystore cannot block transaction signing indefinitely, even if the caller's context carries no deadline. Signing a 32-byte hash is expected to take milliseconds; this is a generous upper bound, well below the Deployer's transaction time bound.

View Source
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.

Jump to

Keyboard shortcuts

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