description |
---|
Generate private keys for running Validators and Relayers |
Hyperlane agents must be configured with private keys in order to operate. validators.md use private keys to sign attestations, and relayer.md use private keys to sign transactions that deliver messages.
Hyperlane agents currently support being configured with private keys in one of two ways.
A raw hexadecimal private key used for in-memory signing. This is the recommended setup for testing or development purposes, but not recommended for production. Hexadecimal keys are especially discouraged for production validators.
{% content-ref url="hexadecimal-key-setup.md" %} hexadecimal-key-setup.md {% endcontent-ref %}
A key generated by AWS and stored in a CloudHSM. This is the recommended setup for production agents, especially for validators.
{% content-ref url="aws-setup.md" %} aws-setup.md {% endcontent-ref %}