Skip to main content
Using Docker Compose provides a structured way to manage validator deployments while maintaining the flexibility of raw Docker. You can find the full specification of the format in the Docker docs.

1. Setup validator key

Follow the guide here for creating agent keys with AWS KMS.

2. Create S3 bucket for signatures

Follow the guide here for creating and configuring an S3 bucket for your validator to write signatures to.

3. (AVS Operators Only) Register with Hyperlane AVS

If you are an AVS operator, follow the guide here to register with the Hyperlane AVS.

4. Setup validator environment

Create config files

In this example, we will run three chains.

Edit each config.json

You can read more about Agent Configs here. Here is an example agent config.

Edit each .env file

You should change the service name, AWS credentials for each chain.

5. Configure Docker Compose (docker-compose.yml)

Your directory structure should look similar to this:

6. Run the Hyperlane Validators

Bring the containers up: Remember to fund your validator address so the validator can announce.
Ensure there are no errors:
Running Multiple Validators: Running multiple validators improves reliability and ensures message validation continues even if one fails. Learn more about the setup and requirements here.