relayer

package
v1.9.2 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2025 License: BSD-3-Clause Imports: 23 Imported by: 0

Documentation

Overview

Copyright (C) 2025, Lux Industries Inc. All rights reserved See the file LICENSE for licensing terms.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddDestinationToRelayerConfig

func AddDestinationToRelayerConfig(
	relayerConfigPath string,
	rpcEndpoint string,
	subnetID string,
	blockchainID string,
	relayerPrivateKey string,
) error

func AddSourceAndDestinationToRelayerConfig added in v1.9.2

func AddSourceAndDestinationToRelayerConfig(
	relayerConfigPath string,
	rpcEndpoint string,
	wsEndpoint string,
	subnetID string,
	blockchainID string,
	warpRegistryAddress string,
	warpMessengerAddress string,
	relayerRewardAddress string,
	relayerPrivateKey string,
) error

func AddSourceToRelayerConfig

func AddSourceToRelayerConfig(
	relayerConfigPath string,
	rpcEndpoint string,
	wsEndpoint string,
	subnetID string,
	blockchainID string,
	warpRegistryAddress string,
	warpMessengerAddress string,
	relayerRewardAddress string,
) error

func CreateBaseRelayerConfig

func CreateBaseRelayerConfig(
	relayerConfigPath string,
	logLevel string,
	storageLocation string,
	metricsPort uint16,
	network models.Network,
	allowPrivateIPs bool,
) error

func CreateBaseRelayerConfigIfMissing added in v1.9.2

func CreateBaseRelayerConfigIfMissing(
	relayerConfigPath string,
	logLevel string,
	storageLocation string,
	metricsPort uint16,
	network models.Network,
	allowPrivateIPs bool,
) error

func DeployRelayer

func DeployRelayer(
	version string,
	binPath string,
	binDir string,
	configPath string,
	logFilePath string,
	runFilePath string,
	storageDir string,
) (string, error)

func FundRelayer added in v1.9.2

func FundRelayer(
	rpcURL string,
	prefundedPrivateKey string,
	relayerAddress string,
) error

func GetDefaultRelayerKeyInfo

func GetDefaultRelayerKeyInfo(app *application.Lux) (string, string, string, error)

func GetLatestRelayerPreReleaseVersion added in v1.9.2

func GetLatestRelayerPreReleaseVersion() (string, error)

func GetLatestRelayerReleaseVersion added in v1.9.2

func GetLatestRelayerReleaseVersion() (string, error)

func InstallRelayer added in v1.9.2

func InstallRelayer(binDir, version string) (string, error)

func RelayerCleanup

func RelayerCleanup(
	runFilePath string,
	logFilePath string,
	storageDir string,
) error

func RelayerIsUp

func RelayerIsUp(runFilePath string) (bool, int, *os.Process, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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