CONFIG_FILES
Description: (Env only) List of additional configuration file paths to load in order (such as those inhyperlane-monorepo/rust/main/config). They will be merged first to last, so if both the first one and the last one specify a specific config path, the value set in the last file listed will be used.
These files must be accessible within the filesystem your agent has access to. If you’re running in Docker, see the agent configuration guide for tips on mounting your config files into your Docker container.
Optional: Yes
Agents: All
Type: string (Comma separated list of file paths)
chains
Description: Configuration for each of the chains that must be used by an agent. Optional: No Agents: All Type:Map<string, ChainSetup (Object)> (See chains.* for ChainSetup values)
chains.<chain_name>.name
Description: Name of the domain. Allows specifying a different name for the domain than the chain’s true name. This should almost always be the same as chain_name.
Requires: Alignment with domain id if it is a known domain name.
Optional: No
Agents: All
Type: string
chains.<chain_name>.domain
Description: Hyperplane domain id to uniquely identify the domain. See also: Domain Identifiers.
Requires: Alignment with domain name if it is a known domain.
Optional: No
Agents: All
Type: Numeric (string | number)
chains.<chain_name>.mailbox
Description: Address of the mailbox contract on the chain. See also contract addresses.
Optional: No
Agents: All
Type: Hash (string)
chains.<chain_name>.interchainGasPaymaster
Description: Address of the interchain gas paymaster contract on the chain. See also contract addresses.
Optional: No
Agents: All
Type: Hash (string)
chains.<chain_name>.validatorAnnounce
Description: Address of the validator announce contract on the chain. See also contract addresses.
Optional: No
Agents: All
Type: Hash (string)
chains.<chain_name>.merkleTreeHook
Description: Address of the merkle tree hook contract on the chain. See also contract addresses.
Optional: No
Agents: All
Type: Hash (string)
chains.<chain_name>.signer
Description: The signer that should be used this chain
Optional: Yes (Will use defaultsigner if not specified)
Agents: All
Type: SignerConf (Object)
chains.<chain_name>.signer.type
Description: The type of signer that is defined. Use hexKey for a private key, aws for AWS KMS, or gcp for Google Cloud KMS on EVM and Tron.
Optional: Inferred as hexKey when a key is provided or aws when AWS key settings are provided. Set gcp explicitly for Google Cloud KMS.
Agents: All
Type: Enum ("hexKey" | "aws" | "gcp" | "cosmosKey" | "starkKey" | "radixKey")
See the Validator announcement signer table for required fields and key formats on each chain. Google Cloud KMS requires the full
signer.keyVersionName on EVM and Tron.
chains.<chain_name>.signer.key
Description: A hex key. The hex string of a private key.
Requires: chains.<chain_name>.signer.type = "hexKey" | undefined
Optional: No (iff requirements are met)
Agents: All
Type: string
chains.<chain_name>.signer.keyVersionName
Description: Full Google Cloud KMS key version name for an EVM or Tron transaction signer. Replace the example resource name with your own enabled key version.
Requires: chains.<chain_name>.signer.type = "gcp"
Optional: Required when the chain signer uses Google Cloud KMS.
Agents: Validator, Relayer
Type: string
chains.<chain_name>.signer.id
Description: The UUID identifying the AWS KMS key
Requires: chains.<chain_name>.signer.type = "aws"
Optional: No (iff requirements are met)
Agents: All
Type: string
chains.<chain_name>.signer.region
Description: The AWS region
Requires: chains.<chain_name>.signer.type = "aws"
Optional: No (iff requirements are met)
Agents: All
Type: string
chains.<chain_name>.protocol
Description: Connection protocol to use.
Optional: Defaults to "ethereum"
Agents: All
Type: Enum ("ethereum" | "fuel")
chains.<chain_name>.rpcConsensusType
For Validators, this setting selects the checkpoint signing policy across chain protocols. majority requires at least two thirds of configured state-read endpoints to match the Validator’s local checkpoint history, rounded up. quorum requires half, rounded up. Both use fallback for indexing and auxiliary reads. single and fallback verify checkpoints through the chain provider without a vote across endpoints. See Validator RPC configuration.
For EVM Relayers and Scrapers, this setting selects the RPC transport. single uses one endpoint, fallback retries provider failures across endpoints, and quorum uses the provider’s response voting.
When upgrading a Validator to v4.0.0, move any endpoints from additionalQuorumRpcUrls or customAdditionalQuorumRpcUrls into rpcUrls or customRpcUrls and remove the old fields.
Optional: Defaults to majority for Validators and fallback for EVM Relayers and Scrapers.
Agents: Validator, Relayer, Scraper. Only Validators accept majority.
Type: Enum ("majority" | "quorum" | "fallback" | "single")
The examples below use the Validator default.
chains.<chain_name>.customRpcUrls
Description: Comma-separated replacement for rpcUrls. In a standalone chain config, include the rpcUrls field even when you supply customRpcUrls. It can be an empty array when the override provides the endpoints.
Type: string (comma separated list of urls without spaces)
chains.<chain_name>.rpcUrls
Description: RPC endpoints for the chain. Their use depends on the chain protocol and the agent. See Validator RPC configuration for checkpoint verification.
Required: Yes. Use an empty array if customRpcUrls supplies the endpoints.
Agents: All
Type: Array of objects with an http URL. Use the http field for both HTTP and HTTPS URLs. Validators reject entries marked public: true unless allowPublicRpcs is enabled.
chains.<chain_name>.customGrpcUrls
Connections to Cosmos chains require both RPC and gRPC URLs. Cosmos Validators use the gRPC endpoints for their checkpoint vote. See Validator RPC configuration.
grpcUrls. In a standalone Cosmos chain config, include the grpcUrls field. It can be an empty array when the override provides the endpoints.
Type: string (comma-separated list of URLs without spaces)
chains.<chain_name>.index.from
Description: Height at which to start indexing contracts.
Optional: Defaults to 0
Agents: Relayer & Scraper
Type: Numeric (string | number)
chains.<chain_name>.index.chunk
Description: Number of blocks to query at once when indexing contracts. Note that the configured providers must support whatever value is set. The default should work with nearly all providers.
Optional: Defaults to 1999
Agents: Relayer & Scraper
Type: Numeric (string | number)
defaultsigner
Because each VM supports a different signer type, the default signer can only support a single VM type. For instance, if the default signer is a ECDSA one, it will only be able to sign on EVM chains.
SignerConf (Object)
defaultsigner.type
Description: The type of signer that is defined. UsehexKey for a private key, aws for AWS KMS, or gcp for Google Cloud KMS on EVM and Tron. For gcp, supply defaultSigner.keyVersionName as a full Cloud KMS key version name.
Optional: Inferred as hexKey when a key is provided or aws when AWS key settings are provided. Set gcp explicitly for Google Cloud KMS.
Agents: All
Type: Enum ("hexKey" | "aws" | "gcp" | "cosmosKey" | "starkKey" | "radixKey")
defaultsigner.key
Description: A hex key. The hex string of a private key. Requires:defaultsigner.type = "hexKey" | undefined
Optional: No (iff requirements are met)
Agents: All
Type: string
defaultsigner.keyVersionName
Description: Full Google Cloud KMS key version name for the default EVM or Tron transaction signer. Configure a chain-specific signer for chains that need a different key type. Replace the example resource name with your own enabled key version. Requires:defaultSigner.type = "gcp"
Optional: Required when the default signer uses Google Cloud KMS.
Agents: Validator, Relayer
Type: string
defaultsigner.id
Description: The UUID identifying the AWS KMS key Requires:defaultsigner.type = "aws"
Optional: No (iff requirements are met)
Agents: All
Type: string
defaultsigner.region
Description: The AWS region Requires:defaultsigner.type = "aws"
Optional: No (iff requirements are met)
Agents: All
Type: string
metricsport
Description: Port to expose prometheus metrics on Optional: Defaults to9090
Agents: All
Type: Numeric (string | number)
log.format
Description: Configuration for the log module. This controls logging. Optional: Defaults topretty
Agents: All
Type: Enum ("pretty" | "json" | "full" | "compact")
log.level
Description: Configuration for the log module. This controls logging. For full verbosity (including that of dependencies), usedependencyTrace.
Optional: Defaults to info
Agents: All
Type: Enum ("dependencyTrace" | "trace" | "debug" | "info" | "warn" | "error" | "off")
originchainname
Description: Name of the chain a validator should validate for and name of the chain a relayer should relayer messages from. Deprecated for Relayer, use #relaychains instead. Optional: No - Validators; Yes - Relayer Agents: Validator & Relayer Type:string
allowPublicRpcs
Description: Allow RPC entries markedpublic: true. Use private endpoints in production.
Optional: Yes. Defaults to false.
Agents: Validator
Type: boolean
skipAnnounce
Description: Skip the on-chain storage announcement for local testing. The Validator still writes the signed announcement and checkpoints to the configured storage. Optional: Yes. Defaults tofalse.
Agents: Validator
Type: boolean
maxSignConcurrency
Description: Maximum concurrent checkpoint signing operations per batch. Accepts integers from 1 to 1,000. Optional: Yes. Defaults to50.
Agents: Validator
Type: integer
websocketurl
Description: Optional public WebSocket endpoint for live Merkle Tree Hook insertions. Public endpoints should use a query-freewss:// URL ending in /validators. The Validator supplies its origin domain and confirmation policy, verifies checkpoint roots through its configured RPC endpoints before signing, and uses RPC for historical indexing and recovery. See Validator WebSocket setup.
When upgrading to v4.0.0, remove the legacy lightweight and leightweigt settings. Both are rejected even when set to false.
Optional: Yes; omitted by default (RPC-only indexing).
Agents: Validator
Type: string
validator
Description: The signer the Validator uses for checkpoints and announcements. Optional: No Agents: Validator Type:SignerConf (Object)
Choose a signer and supply its required fields. See checkpoint signer configuration.
validator.type
Description: Checkpoint signing backend. All Validators use secp256k1 checkpoint signatures, regardless of origin chain. For Google Cloud KMS, setvalidator.type to gcp and supply the full crypto key version resource name in validator.keyVersionName. See checkpoint signer configuration.
Optional: Inferred as hexKey when validator.key is supplied or aws when an AWS key ID and region are supplied. Set gcp explicitly for Google Cloud KMS.
Agents: Validator
Type: Enum ("hexKey" | "aws" | "gcp")
validator.keyVersionName
Description: Full Google Cloud KMS key version resource name, ending in/cryptoKeyVersions/<version>. Replace the example project, location, key ring, key, and version with your own.
Requires: validator.type = "gcp"
Optional: Required for Google Cloud KMS.
Agents: Validator
Type: string
validator.key
Description: A0x-prefixed 32-byte hex key for checkpoint signing. Set VALIDATOR_PRIVATE_KEY to your own key before using the command examples.
Requires: validator.type = "hexKey" | undefined
Optional: No (iff requirements are met)
Agents: Validator
Type: string
validator.id
Description: The AWS KMS key ID or an alias prefixed withalias/
Requires: validator.type = "aws"
Optional: No (iff requirements are met)
Agents: All
Type: string
validator.region
Description: The AWS region Requires:validator.type = "aws"
Optional: No (iff requirements are met)
Agents: All
Type: string
checkpointsyncer.type
Description: Selects where the Validator writes checkpoints. See checkpoint syncer configuration for storage credentials and local testing. Optional: No Agents: Validator Type:Enum ("localStorage" | "s3" | "gcs")
checkpointsyncer.path
Description: Path on the local disk of a local storage type checkpoint syncer configuration. Requires:checkpointsyncer.type = "localStorage"
Optional: No (iff conditions are met)
Agents: Validator
Type: string
checkpointsyncer.bucket
Description: S3 or GCS bucket name Requires:checkpointsyncer.type = "s3" | "gcs"
Optional: No (iff conditions are met)
Agents: Validator
Type: string
checkpointsyncer.folder
Description: Folder in the S3 or GCS bucket. For GCS, use a single path segment so the Relayer can parse the announced location. Requires:checkpointsyncer.type = "s3" | "gcs"
Optional: Yes
Agents: Validator
Type: string
checkpointsyncer.region
Description: S3 bucket region Requires:checkpointsyncer.type = "s3"
Optional: No (iff conditions are met)
Agents: Validator
Type: string
checkpointSyncer.useApplicationDefault
Description: Authenticate to Google Cloud Storage with Application Default Credentials, such as GKE Workload Identity. When enabled, the Validator uses ADC instead of a configured credential file. Requires:checkpointSyncer.type = "gcs"
Optional: Yes. Defaults to false.
Agents: Validator
Type: boolean
checkpointSyncer.serviceAccountKey
Description: Path to a Google Cloud service account key JSON file. Use the path visible to the Validator process, including inside its container. Requires:checkpointSyncer.type = "gcs" and checkpointSyncer.useApplicationDefault is disabled.
Optional: Yes. Use this when authenticating with a service account key file.
Agents: Validator
Type: string
interval
Description: Polling and retry interval in seconds. The top-levelinterval overrides the origin chain’s index.interval; if neither is set, the Validator defaults to 2 seconds. Fractional values are supported, with a minimum of 0.01 seconds. A healthy WebSocket wakes checkpoint verification immediately, so this remains the fallback polling and failed-verification retry interval. See also latencies.
Optional: Yes; defaults to the origin chain’s index.interval, then 2 seconds.
Agents: Validator
Type: Numeric (string | number)
db
Description: This is a local filesystem path to where the agents store relevant data on disk. This must be unique per agent! Multiple agents must have different paths. The path is relative to the current working directory if it does not start with a system defined root path such as/ on unix. When using docker images, ensure that this folder gets persisted across runs.
For the scraper, this is the connection string to a postgresql database.
Optional: For validators and relayer it is optional and defaults to a path in the current working directory which includes the originchainname. For the scraper it is required.
Agents: All
Type: string
relaychains
Description: List of chains to deliver messages between. Optional: No Agents: Relayer Type:string (comma separated list)
gaspaymentenforcement
Description: JSON stringified array of gas payment enforcement configurations sorted by highest priority first. The last policy should be a catch-all and handle any messages that did not match a previous policy. Optional: Defaults to no enforcement ([{"type": "none"}])
Agents: Relayer
Type: JSON (string)
whitelist
Description: A matching list to define what messages should be allowed. Any messages which do not match this list will not be relayed. If no whitelist is supplied all messages will be allowed. See also message filtering Optional: Yes Agents: Relayer Type:JSON (string)
blacklist
Description: A matching list to define what messages should be ignored. Any messages which match this list will not be relayed. If no blacklist is supplied all messages will be allowed. See also message filtering Optional: Yes Agents: Relayer Type:JSON (string)
transactiongaslimit
Description: The max allowable gas to relay a transaction. Optional: Defaults to no limit Agents: Relayer Type:Numeric (string | number)
skiptransactiongaslimitfor
Description: List of domain ids to skip applying thetransactiongaslimit for.
Optional: Defaults to using the transactiongaslimit for all domains
Agents: Relayer
Type: string (comma separated list of domain ids)
allowlocalcheckpointsyncers
Description: Whether to allow localcheckpointsyncer types, if false it will ignore them.
Optional: Defaults to false
Agents: Relayer
Type: boolean
maxmessageretries
Description: The maximum number of retries to attempt before dropping a message from the relayer queues. This prevents messages from being retried indefinitely. Optional: Defaults to a system default value of 66 Agents: Relayer Type:Numeric (string | number)
AWS_ACCESS_KEY_ID
Description: (Env only) The access key ID of your validator’s AWS IAM user. Optional: Required if any signer configuration usesaws
Agents: Relayer & Validator
Type: string
AWS_SECRET_ACCESS_KEY
Description: (Env only) The secret access key of your validator’s AWS IAM user. Optional: Required if any signer configuration usesaws
Agents: Relayer & Validator
Type: string