Hexadecimal keys

Generating a raw hexadecimal key
Using hexadecimal keys is the easiest and fastest way to configure Hyperlane agents.
Hexadecimal keys are not recommended for production environments, for which AWS KMS keys are recommended.

Generate a hexadecimal key

Keep track of your address and private key for use with your agent.
Cast CLI
Using privatekeys.pw
Using Foundry's cast, you can create a new key pair:
cast wallet new
The output will look something like this:
Successfully created new keypair.
Address: 0x32e6d32E7b1C8691Ef4ad3841003371214a0eebC
Private Key: 0x2958f0eb2ab71bbfb5ea1422835e20e488778b61e3c107f369572e2b53b578f9
You can visit https://privatekeys.pw/keys/ethereum/random, which will automatically display a list of hexadecimal private keys and their addresses.
Please note that because these are generated by a website, these private keys should be considered insecure and should not be used for anything other than testing purposes!