sprinter-signing

command module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2025 License: LGPL-3.0 Imports: 1 Imported by: 0

README

Sygma bridge

go

 

Sygma bridge uses sygma-core framework

 

Table of Contents
  1. Local environment
  2. Configuration
  3. Technical documentation

 

Local environment

Run make example to start the local environment.

This will start two EVM networks with configured smart contracts, and start three preconfigured relayers.

 

Configuration

Configuration can be provided either as a configuration file or as ENV variables, depending on --config flag value. If it is set to env, configuration properties are expected as ENV variables. Otherwise, you need to provide a path to the configuration file.

Configuration consists of two distinct parts. The first one is RelayerConfig, defining various parameters of the relayer. The second one is a list of ChainConfig that defines parameters for each chain/domain that the relayer is processing.

Configuration file

An example of a JSON configuration file can be found inside /example/cfg folder.

ENV variables

Each ENV variable needs to be prefixed with SYG.

Properties of RelayerConfig are expected to be defined as separate ENV variables where ENV variable name reflects properties position in the structure.

For example, if you want to set Config.RelayerConfig.MpcConfig.Port this would translate to ENV variable named SYG_RELAYER_MPCCONFIG_PORT.

ChainConfig is defined as one ENV variable SYG_CHAINS, where its content is JSON configuration for all supported chains and should match ordering with shared configuration.

Technical documentation

Each service has a technical documentation inside its repository under /docs directory. Here you can find technical documentation for relayers.

Additionally, the general high-level documentation for the entire Sygma system can be found in this same repository under the /docs/general directory.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
api
handlers/mock
Package mock_handlers is a generated GoMock package.
Package mock_handlers is a generated GoMock package.
evm
evm/calls/events/mock
Package mock_events is a generated GoMock package.
Package mock_events is a generated GoMock package.
evm/message/mock
Package mock_message is a generated GoMock package.
Package mock_message is a generated GoMock package.
cli
mock
Package mock_comm is a generated GoMock package.
Package mock_comm is a generated GoMock package.
p2p
p2p/mock/conn
Package mock_network is a generated GoMock package.
Package mock_network is a generated GoMock package.
p2p/mock/host
Package mock_host is a generated GoMock package.
Package mock_host is a generated GoMock package.
p2p/mock/stream
Package mock_network is a generated GoMock package.
Package mock_network is a generated GoMock package.
mock
Package mock_topology is a generated GoMock package.
Package mock_topology is a generated GoMock package.
tss
ecdsa/common/mock
Package mock_tss is a generated GoMock package.
Package mock_tss is a generated GoMock package.
mock
Package mock_tss is a generated GoMock package.
Package mock_tss is a generated GoMock package.

Jump to

Keyboard shortcuts

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