Skip to main content
The relay and the indexer are two processes from one image and read the same variables. Config is checked at start and a bad value names the variable.

Chains

One relay serves every chain. The flat RPC_URL, CHAIN_ID, REACTOR, VALIDATION, EXECUTOR, FEE_CONTROLLER, KEEPER_PRIVATE_KEY and TOKENS variables describe a single EVM chain and are used when CHAINS is empty. CHAINS is a JSON array describing any number, and wins where both exist. An EVM entry ("kind": "evm" may be left out):
A Solana entry. Its keeper secret is SOLANA_KEEPER_SECRET_<chainId>, never in CHAINS:
feeToken and oracle.quote also take one symbol. Without pairs, every pair of tokens with a fee token is a corridor. A token’s minimum is the corridor’s smallest sell amount in whole tokens.

Relay

Abuse controls and registry

Oracle

Limit orders

Remote console

Indexer